Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002461/0.002461, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003009/0.003009, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3657/0.3657, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.093e-05, allocations: 8.5 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01397/0.01401, allocations: 9.898 MB / 387.1 MB, free: 8.957 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006935/0.02094, allocations: 3.017 MB / 390.1 MB, free: 5.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.02208, allocations: 79.62 kB / 390.2 MB, free: 5.852 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005988/0.02807, allocations: 2.866 MB / 393.1 MB, free: 2.977 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.03149, allocations: 1.154 MB / 394.2 MB, free: 1.816 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008002/0.03229, allocations: 295.3 kB / 394.5 MB, free: 1.527 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002185/0.03448, allocations: 1.552 MB / 396.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.03697, allocations: 1.96 MB / 398 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.03879, allocations: 1.306 MB / 399.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005352/0.04415, allocations: 3.261 MB / 402.6 MB, free: 9.395 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005867/0.04473, allocations: 188 kB / 402.8 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008696/0.0456, allocations: 291.7 kB / 403.1 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003017/0.04862, allocations: 3.116 MB / 406.2 MB, free: 5.801 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002121/0.05074, allocations: 1.466 MB / 407.6 MB, free: 4.328 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.06207, allocations: 9.273 MB / 416.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.06208, allocations: 0 / 416.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.06208, allocations: 0 / 416.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002693/0.06235, allocations: 0 / 416.9 MB, free: 11.02 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.01822/0.08057, allocations: 10.38 MB / 427.3 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.08061, allocations: 8.031 kB / 427.3 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.08244, allocations: 1.16 MB / 428.5 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00693/0.08936, allocations: 3.457 MB / 431.9 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.0895, allocations: 131.3 kB / 432 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.08976, allocations: 167.9 kB / 432.2 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00624/0.096, allocations: 3.337 MB / 435.5 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.09605, allocations: 11.92 kB / 435.6 MB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.09622, allocations: 75.94 kB / 435.6 MB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002125/0.09835, allocations: 1.561 MB / 437.2 MB, free: 6.332 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00425/0.1026, allocations: 1.401 MB / 438.6 MB, free: 4.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3166/0.4192, allocations: 24.89 MB / 463.5 MB, free: 79.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.4206, allocations: 357 kB / 463.8 MB, free: 79.28 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.14e-05/0.4207, allocations: 44.92 kB / 463.9 MB, free: 79.26 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00412/0.4248, allocations: 1.874 MB / 465.7 MB, free: 78.29 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4249, allocations: 159.7 kB / 465.9 MB, free: 78.12 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/0.4249, allocations: 0 / 465.9 MB, free: 78.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.0006897/0.4255, allocations: 0.8778 MB / 466.8 MB, free: 77.59 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.4256, allocations: 170.6 kB / 466.9 MB, free: 77.41 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01319/0.4388, allocations: 10.99 MB / 477.9 MB, free: 73.22 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.4388, allocations: 25.7 kB / 478 MB, free: 73.19 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00584/0.4446, allocations: 6.998 MB / 485 MB, free: 68.36 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.4448, allocations: 92.91 kB / 485 MB, free: 68.33 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009484/0.4457, allocations: 0.9503 MB / 486 MB, free: 67.8 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.724e-05/0.4458, allocations: 477.8 kB / 486.5 MB, free: 67.34 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005462/0.4463, allocations: 341 kB / 486.8 MB, free: 67.29 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.4485, allocations: 5.19 MB / 492 MB, free: 60.57 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003471/0.452, allocations: 6.071 MB / 498.1 MB, free: 53.19 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.627e-05/0.4521, allocations: 34.38 kB / 498.1 MB, free: 53.19 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007353/0.4594, allocations: 4.343 MB / 0.4907 GB, free: 51.3 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.4595, allocations: 56.47 kB / 0.4907 GB, free: 51.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.4596, allocations: 121.9 kB / 0.4908 GB, free: 51.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.4597, allocations: 150.2 kB / 0.491 GB, free: 51.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.4619, allocations: 0.9848 MB / 0.4919 GB, free: 51.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001319/0.462, allocations: 230.7 kB / 0.4922 GB, free: 51.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003867/0.4659, allocations: 0.6095 MB / 0.4927 GB, free: 50.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003316/0.4662, allocations: 282.8 kB / 0.493 GB, free: 50.72 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.002088/0.4683, allocations: 0.7029 MB / 0.4937 GB, free: 50.08 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000866/0.4692, allocations: 0.9989 MB / 0.4947 GB, free: 49.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.4703, allocations: 0.8107 MB / 0.4955 GB, free: 48.39 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.612e-05/0.4704, allocations: 272.1 kB / 0.4957 GB, free: 48.11 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/0.4704, allocations: 268 kB / 0.496 GB, free: 47.84 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-05/0.4704, allocations: 264.1 kB / 0.4962 GB, free: 47.58 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008062/0.4785, allocations: 6.678 MB / 0.5028 GB, free: 41.58 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/0.4785, allocations: 152 kB / 0.5029 GB, free: 41.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.4785, allocations: 148.9 kB / 0.503 GB, free: 41.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.943e-05/0.4786, allocations: 268.1 kB / 0.5033 GB, free: 41 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.4786, allocations: 268.1 kB / 0.5036 GB, free: 40.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.314e-05/0.4787, allocations: 278.3 kB / 0.5038 GB, free: 40.46 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-05/0.4787, allocations: 271.6 kB / 0.5041 GB, free: 40.19 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.4797, allocations: 1.356 MB / 0.5054 GB, free: 38.8 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.4811, allocations: 0.9 MB / 0.5063 GB, free: 37.91 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004673/0.4816, allocations: 268 kB / 0.5065 GB, free: 37.64 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/0.4824, allocations: 148.8 kB / 0.5067 GB, free: 37.49 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.4824, allocations: 275.5 kB / 0.5069 GB, free: 37.22 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4824, allocations: 144.9 kB / 0.5071 GB, free: 37.07 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.007197/0.4896, allocations: 5.174 MB / 0.5121 GB, free: 32.79 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4896, allocations: 3.938 kB / 0.5121 GB, free: 32.79 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00416/0.4938, allocations: 1.148 MB / 0.5133 GB, free: 31.76 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.0001644/0.4939, allocations: 216.4 kB / 0.5135 GB, free: 31.54 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.4966, allocations: 1.669 MB / 0.5151 GB, free: 30.05 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4966, allocations: 0 / 0.5151 GB, free: 30.05 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-06/0.4966, allocations: 192 / 0.5151 GB, free: 30.05 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01315/0.5097, allocations: 3.682 MB / 0.5187 GB, free: 27.06 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/0.5286, allocations: 13.44 MB / 0.5318 GB, free: 14.4 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004831/0.5334, allocations: 4.44 MB / 0.5362 GB, free: 10.61 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005169/0.5385, allocations: 1.757 MB / 0.5379 GB, free: 8.844 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/0.5393, allocations: 400.5 kB / 0.5382 GB, free: 8.453 MB / 410.8 MB Notification: Performance of SimCode: time 2.044e-06/0.5393, allocations: 0 / 0.5382 GB, free: 8.453 MB / 410.8 MB Notification: Performance of Templates: time 0.3239/0.8632, allocations: 83.18 MB / 0.6195 GB, free: 136.1 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.159054352901876]