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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 113.2 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.00122, allocations: 184.2 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2137/0.2137, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3709, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.011/0.3819, allocations: 10.39 MB / 0.529 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007696/0.3897, allocations: 3.03 MB / 0.532 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.3914, allocations: 71.12 kB / 0.5321 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004921/0.3963, allocations: 2.667 MB / 0.5347 GB, free: 8.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002483/0.3989, allocations: 1.077 MB / 0.5357 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.3995, allocations: 260.8 kB / 0.536 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.4012, allocations: 1.533 MB / 0.5375 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.4038, allocations: 2.451 MB / 0.5399 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.4049, allocations: 0.9097 MB / 0.5407 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004019/0.4089, allocations: 3.333 MB / 0.544 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003399/0.4093, allocations: 188 kB / 0.5442 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000591/0.4099, allocations: 271.8 kB / 0.5444 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002103/0.412, allocations: 2.974 MB / 0.5473 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00312/0.4152, allocations: 3.341 MB / 0.5506 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.4299, allocations: 9.758 MB / 0.5601 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.43, allocations: 0 / 0.5601 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.43, allocations: 0 / 0.5601 GB, free: 1.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002803/0.4303, allocations: 0 / 0.5601 GB, free: 1.668 MB / 414.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.01559/0.4459, allocations: 8.781 MB / 0.5687 GB, free: 8.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.446, allocations: 8.031 kB / 0.5687 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.4475, allocations: 0.9705 MB / 0.5697 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00765/0.4552, allocations: 3.753 MB / 0.5733 GB, free: 3.957 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.4553, allocations: 131.3 kB / 0.5735 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000496/0.4559, allocations: 167.9 kB / 0.5736 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.4669, allocations: 6.612 MB / 0.5801 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.467, allocations: 7.938 kB / 0.5801 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.4673, allocations: 71.94 kB / 0.5801 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001682/0.469, allocations: 1.561 MB / 0.5817 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007586/0.4766, allocations: 4.133 MB / 0.5857 GB, free: 7.102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02875/0.5053, allocations: 20.23 MB / 0.6055 GB, free: 2.602 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.507, allocations: 338.1 kB / 0.6058 GB, free: 2.262 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.5071, allocations: 69.12 kB / 0.6058 GB, free: 2.191 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004643/0.5118, allocations: 3.272 MB / 0.609 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.5118, allocations: 105.8 kB / 0.6091 GB, free: 14.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.5118, allocations: 0 / 0.6091 GB, free: 14.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001155/0.513, allocations: 0.8308 MB / 0.61 GB, free: 13.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.5131, allocations: 134.6 kB / 0.6101 GB, free: 13.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01672/0.5298, allocations: 10.55 MB / 0.6204 GB, free: 2.953 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.5298, allocations: 25.7 kB / 0.6204 GB, free: 2.922 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005527/0.5354, allocations: 5.838 MB / 0.6261 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.5355, allocations: 91.91 kB / 0.6262 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.5366, allocations: 0.8174 MB / 0.627 GB, free: 12.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.5367, allocations: 305.1 kB / 0.6273 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.5382, allocations: 0.7693 MB / 0.628 GB, free: 11.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.5416, allocations: 3.987 MB / 0.6319 GB, free: 5.367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006507/0.5481, allocations: 5.201 MB / 0.637 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/0.5482, allocations: 39.94 kB / 0.637 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.0097/0.5579, allocations: 4.923 MB / 0.6419 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.5581, allocations: 56.94 kB / 0.6419 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/0.5583, allocations: 116 kB / 0.642 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.5585, allocations: 152 kB / 0.6422 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/0.5611, allocations: 0.9864 MB / 0.6431 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002114/0.5613, allocations: 231.1 kB / 0.6433 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/0.5656, allocations: 0.603 MB / 0.6439 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003336/0.566, allocations: 284 kB / 0.6442 GB, free: 7.117 MB / 0.4981 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.005469/0.5714, allocations: 3.409 MB / 0.6475 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/0.5727, allocations: 0.9082 MB / 0.6484 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.5747, allocations: 1.015 MB / 0.6494 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-05/0.5748, allocations: 192.3 kB / 0.6496 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.979e-05/0.5749, allocations: 180.3 kB / 0.6498 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.515e-05/0.5749, allocations: 184.2 kB / 0.6499 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00979/0.5847, allocations: 5.131 MB / 0.655 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/0.5848, allocations: 101 kB / 0.6551 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.5848, allocations: 108.9 kB / 0.6552 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.945e-05/0.5849, allocations: 180.3 kB / 0.6553 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.952e-05/0.585, allocations: 184.2 kB / 0.6555 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.081e-05/0.5851, allocations: 180.2 kB / 0.6557 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.245e-05/0.5851, allocations: 188.2 kB / 0.6559 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.5864, allocations: 1.151 MB / 0.657 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/0.5882, allocations: 0.913 MB / 0.6579 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000963/0.5892, allocations: 180.2 kB / 0.658 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.5904, allocations: 104.9 kB / 0.6581 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.5904, allocations: 180.3 kB / 0.6583 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.5905, allocations: 105 kB / 0.6584 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01268/0.6032, allocations: 7.142 MB / 0.6654 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6032, allocations: 4 kB / 0.6654 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004348/0.6075, allocations: 1.128 MB / 0.6665 GB, free: 64 kB / 0.5137 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.0001851/0.6077, allocations: 178.4 kB / 0.6667 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002981/0.6107, allocations: 1.871 MB / 0.6685 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6107, allocations: 0 / 0.6685 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-06/0.6108, allocations: 3.938 kB / 0.6685 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01301/0.6238, allocations: 3.447 MB / 0.6719 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/0.651, allocations: 15.67 MB / 0.6872 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008871/0.6599, allocations: 5.274 MB / 0.6923 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007008/0.6669, allocations: 2.102 MB / 0.6944 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.6681, allocations: 407.4 kB / 0.6948 GB, free: 3.062 MB / 0.545 GB Notification: Performance of SimCode: time 1.322e-06/0.6681, allocations: 0 / 0.6948 GB, free: 3.062 MB / 0.545 GB Notification: Performance of Templates: time 0.6285/1.297, allocations: 83.23 MB / 0.776 GB, free: 117.2 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches