Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2785/0.2785, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.269e-05, allocations: 2.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0111/0.01114, allocations: 9.968 MB / 388 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005499/0.01664, allocations: 3.032 MB / 391 MB, free: 5.602 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.01774, allocations: 79.62 kB / 391.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003023/0.02076, allocations: 2.874 MB / 394 MB, free: 2.641 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.02294, allocations: 1.147 MB / 395.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.0235, allocations: 303.4 kB / 395.4 MB, free: 1.191 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.02515, allocations: 1.555 MB / 397 MB, free: 15.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.02691, allocations: 1.957 MB / 398.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.02822, allocations: 1.306 MB / 400.2 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.03142, allocations: 3.264 MB / 403.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004112/0.03184, allocations: 188 kB / 403.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004975/0.03233, allocations: 291.8 kB / 404 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001645/0.03398, allocations: 3.12 MB / 407.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.0355, allocations: 1.462 MB / 408.5 MB, free: 3.992 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005413/0.04092, allocations: 6.265 MB / 414.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.04092, allocations: 0 / 414.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.04092, allocations: 0 / 414.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003476/0.04127, allocations: 0 / 414.8 MB, free: 13.7 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.01031/0.05158, allocations: 9.552 MB / 424.4 MB, free: 4.043 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.05163, allocations: 12.03 kB / 424.4 MB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.05269, allocations: 1.156 MB / 425.5 MB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/0.05605, allocations: 3.43 MB / 429 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/0.05612, allocations: 135.3 kB / 429.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.05625, allocations: 163.9 kB / 429.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.05972, allocations: 3.126 MB / 432.4 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.05975, allocations: 7.938 kB / 432.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.05985, allocations: 75.89 kB / 432.5 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001046/0.06089, allocations: 1.557 MB / 434 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.06343, allocations: 1.461 MB / 435.5 MB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3007/0.3641, allocations: 20.37 MB / 455.8 MB, free: 80.98 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/0.3651, allocations: 356.9 kB / 456.2 MB, free: 80.94 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.3652, allocations: 47.09 kB / 456.2 MB, free: 80.93 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002759/0.3679, allocations: 1.855 MB / 458.1 MB, free: 80.32 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.368, allocations: 158.3 kB / 458.2 MB, free: 80.16 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.783e-06/0.368, allocations: 0 / 458.2 MB, free: 80.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.000507/0.3685, allocations: 0.8746 MB / 459.1 MB, free: 79.77 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.3685, allocations: 174.5 kB / 459.3 MB, free: 79.59 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006865/0.3754, allocations: 8.929 MB / 468.2 MB, free: 76.39 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.3754, allocations: 32.89 kB / 468.3 MB, free: 76.36 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002924/0.3783, allocations: 6.392 MB / 474.6 MB, free: 71.83 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.352e-05/0.3784, allocations: 91.38 kB / 474.7 MB, free: 71.8 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004722/0.3789, allocations: 0.8601 MB / 475.6 MB, free: 71.32 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.3789, allocations: 479.8 kB / 476.1 MB, free: 70.85 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.3792, allocations: 336.5 kB / 476.4 MB, free: 70.8 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.3808, allocations: 5.102 MB / 481.5 MB, free: 64.18 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/0.3834, allocations: 5.986 MB / 487.5 MB, free: 57.01 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.662e-05/0.3835, allocations: 34.31 kB / 487.5 MB, free: 57.01 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.004936/0.3884, allocations: 4.336 MB / 491.9 MB, free: 55.13 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/0.3885, allocations: 55.19 kB / 491.9 MB, free: 55.13 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.315e-05/0.3885, allocations: 121.5 kB / 492 MB, free: 55.12 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.3887, allocations: 151.8 kB / 492.2 MB, free: 55.12 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.3902, allocations: 0.9881 MB / 493.2 MB, free: 54.99 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001439/0.3903, allocations: 226 kB / 493.4 MB, free: 54.94 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.3928, allocations: 0.6092 MB / 494 MB, free: 54.69 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/0.3931, allocations: 291.3 kB / 494.3 MB, free: 54.65 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001265/0.3943, allocations: 0.6603 MB / 494.9 MB, free: 54.17 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005668/0.3949, allocations: 0.9939 MB / 495.9 MB, free: 53.52 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006501/0.3955, allocations: 0.8103 MB / 496.7 MB, free: 53.11 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.3956, allocations: 269.7 kB / 497 MB, free: 52.84 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/0.3956, allocations: 280.6 kB / 497.3 MB, free: 52.56 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.3956, allocations: 265.2 kB / 497.5 MB, free: 52.3 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004617/0.4002, allocations: 4.937 MB / 0.4907 GB, free: 49.98 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.4002, allocations: 156 kB / 0.4908 GB, free: 49.82 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.4003, allocations: 147.6 kB / 0.491 GB, free: 49.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.229e-05/0.4003, allocations: 268 kB / 0.4912 GB, free: 49.4 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.4003, allocations: 269.7 kB / 0.4915 GB, free: 49.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.353e-05/0.4003, allocations: 271 kB / 0.4918 GB, free: 48.87 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.249e-05/0.4004, allocations: 264.1 kB / 0.492 GB, free: 48.6 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.401, allocations: 1.363 MB / 0.4933 GB, free: 47.57 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007486/0.4017, allocations: 0.8978 MB / 0.4942 GB, free: 46.9 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.4019, allocations: 270.3 kB / 0.4945 GB, free: 46.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.4023, allocations: 145.7 kB / 0.4946 GB, free: 46.48 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.4024, allocations: 274.1 kB / 0.4949 GB, free: 46.21 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.4024, allocations: 153.1 kB / 0.495 GB, free: 46.05 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.004149/0.4065, allocations: 4.489 MB / 0.4994 GB, free: 44.74 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4065, allocations: 0 / 0.4994 GB, free: 44.74 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003156/0.4097, allocations: 1.146 MB / 0.5005 GB, free: 44.52 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001401/0.4098, allocations: 213.7 kB / 0.5007 GB, free: 44.32 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.4117, allocations: 1.564 MB / 0.5023 GB, free: 43.74 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4118, allocations: 0 / 0.5023 GB, free: 43.74 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 6.052e-06/0.4118, allocations: 7.5 kB / 0.5023 GB, free: 43.74 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006998/0.4188, allocations: 3.678 MB / 0.5059 GB, free: 40.78 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.4324, allocations: 13.41 MB / 0.5189 GB, free: 28.15 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/0.4347, allocations: 2.14 MB / 0.521 GB, free: 26.69 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003713/0.4384, allocations: 1.751 MB / 0.5227 GB, free: 25.49 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/0.4388, allocations: 400.5 kB / 0.5231 GB, free: 25.1 MB / 410.8 MB Notification: Performance of SimCode: time 2.264e-06/0.4388, allocations: 0 / 0.5231 GB, free: 25.1 MB / 410.8 MB Notification: Performance of Templates: time 0.1059/0.5447, allocations: 83.48 MB / 0.6046 GB, free: 7.75 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.245380946900696]