Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001825/0.001825, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.00186/0.00186, allocations: 170.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.529/1.529, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2149/0.2149, allocations: 32.81 MB / 294.1 MB, free: 60 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 66.25 kB / 440.5 MB, free: 9.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.36, allocations: 65.44 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.008303/0.3683, allocations: 9.087 MB / 0.503 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00605/0.3744, allocations: 2.946 MB / 0.5059 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008537/0.3752, allocations: 77.81 kB / 0.506 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003901/0.3791, allocations: 2.601 MB / 0.5085 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.3811, allocations: 1.113 MB / 0.5096 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.3816, allocations: 266 kB / 0.5098 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.3827, allocations: 1.515 MB / 0.5113 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.3844, allocations: 1.914 MB / 0.5132 GB, free: 20.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009549/0.3853, allocations: 0.923 MB / 0.5141 GB, free: 19.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004982/0.3903, allocations: 3.327 MB / 0.5173 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005525/0.3908, allocations: 187.3 kB / 0.5175 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007374/0.3916, allocations: 271 kB / 0.5178 GB, free: 19.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002654/0.3942, allocations: 3.01 MB / 0.5207 GB, free: 18.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00234/0.3966, allocations: 2.259 MB / 0.5229 GB, free: 16.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.4081, allocations: 9.95 MB / 0.5326 GB, free: 12.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.4081, allocations: 1.594 kB / 0.5326 GB, free: 12.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4081, allocations: 0 / 0.5326 GB, free: 12.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004932/0.4086, allocations: 3.938 kB / 0.5326 GB, free: 12.22 MB / 446.1 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.01697/0.4256, allocations: 9.041 MB / 0.5415 GB, free: 5.469 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4256, allocations: 8.75 kB / 0.5415 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.4277, allocations: 1.024 MB / 0.5425 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00859/0.4363, allocations: 3.74 MB / 0.5461 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.4364, allocations: 128 kB / 0.5462 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/0.4367, allocations: 168.2 kB / 0.5464 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009921/0.4466, allocations: 6.621 MB / 0.5529 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/0.4466, allocations: 11.94 kB / 0.5529 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.4468, allocations: 79.94 kB / 0.553 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001865/0.4487, allocations: 1.561 MB / 0.5545 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00765/0.4563, allocations: 4.138 MB / 0.5585 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03151/0.4878, allocations: 18.11 MB / 0.5762 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.4896, allocations: 402.1 kB / 0.5766 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.4897, allocations: 65.06 kB / 0.5767 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005183/0.4948, allocations: 1.824 MB / 0.5784 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.4949, allocations: 109.8 kB / 0.5785 GB, free: 1.883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.4949, allocations: 0 / 0.5785 GB, free: 1.883 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001237/0.4961, allocations: 0.8748 MB / 0.5794 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/0.4962, allocations: 126.7 kB / 0.5795 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02157/0.5178, allocations: 10.68 MB / 0.59 GB, free: 6.238 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.5178, allocations: 25.7 kB / 0.59 GB, free: 6.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006872/0.5247, allocations: 5.981 MB / 0.5958 GB, free: 200 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.5248, allocations: 91.89 kB / 0.5959 GB, free: 108 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.5259, allocations: 0.8223 MB / 0.5967 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5261, allocations: 309.1 kB / 0.597 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.5272, allocations: 0.7577 MB / 0.5977 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00396/0.5312, allocations: 4.007 MB / 0.6017 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005657/0.5368, allocations: 5.197 MB / 0.6067 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.254e-05/0.5369, allocations: 32 kB / 0.6068 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008435/0.5453, allocations: 4.96 MB / 0.6116 GB, free: 12.65 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/0.5454, allocations: 52 kB / 0.6117 GB, free: 12.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/0.5455, allocations: 120 kB / 0.6118 GB, free: 12.48 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.5457, allocations: 156 kB / 0.6119 GB, free: 12.33 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.548, allocations: 0.9824 MB / 0.6129 GB, free: 11.34 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000186/0.5482, allocations: 227.1 kB / 0.6131 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/0.5524, allocations: 0.613 MB / 0.6137 GB, free: 10.51 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003473/0.5528, allocations: 288 kB / 0.614 GB, free: 10.23 MB / 0.5138 GB 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.007552/0.5603, allocations: 3.409 MB / 0.6173 GB, free: 6.801 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002796/0.5631, allocations: 0.9483 MB / 0.6182 GB, free: 5.84 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/0.5663, allocations: 1.026 MB / 0.6192 GB, free: 4.805 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.119e-05/0.5663, allocations: 176.3 kB / 0.6194 GB, free: 4.625 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.868e-05/0.5664, allocations: 188.2 kB / 0.6196 GB, free: 4.434 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.064e-05/0.5665, allocations: 176.3 kB / 0.6197 GB, free: 4.254 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007599/0.5741, allocations: 3.794 MB / 0.6234 GB, free: 432 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.457e-05/0.5742, allocations: 101 kB / 0.6235 GB, free: 324 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.5742, allocations: 108.9 kB / 0.6236 GB, free: 208 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.672e-05/0.5743, allocations: 180.3 kB / 0.6238 GB, free: 20 kB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.5744, allocations: 184.3 kB / 0.624 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.338e-05/0.5745, allocations: 180.2 kB / 0.6242 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.048e-05/0.5746, allocations: 180.3 kB / 0.6243 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.5762, allocations: 1.203 MB / 0.6255 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/0.578, allocations: 0.8622 MB / 0.6264 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/0.5786, allocations: 184.1 kB / 0.6265 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/0.5794, allocations: 105 kB / 0.6266 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5795, allocations: 184.2 kB / 0.6268 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.5795, allocations: 104.9 kB / 0.6269 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01357/0.5931, allocations: 7.101 MB / 0.6338 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.81e-07/0.5931, allocations: 0 / 0.6338 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005504/0.5986, allocations: 1.137 MB / 0.6349 GB, free: 4.574 MB / 0.5294 GB 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.0002071/0.5988, allocations: 178.5 kB / 0.6351 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003118/0.6019, allocations: 1.804 MB / 0.6369 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6019, allocations: 4.875 kB / 0.6369 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.6019, allocations: 0 / 0.6369 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01425/0.6162, allocations: 3.421 MB / 0.6402 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03605/0.6522, allocations: 15.9 MB / 0.6558 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01234/0.6646, allocations: 4.82 MB / 0.6605 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007506/0.6721, allocations: 2.105 MB / 0.6625 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.6733, allocations: 400.5 kB / 0.6629 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of SimCode: time 1.532e-06/0.6733, allocations: 4 kB / 0.6629 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of Templates: time 0.4196/1.093, allocations: 87.22 MB / 0.7481 GB, free: 149.7 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.148679535952397]