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.000878/0.0008781, allocations: 99.56 kB / 17 MB, free: 6.535 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.0008761/0.0008759, allocations: 186.2 kB / 17.89 MB, free: 5.945 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.418/1.418, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2136/0.2136, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 12.62 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1803, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.321/0.5013, allocations: 50.62 MB / 0.51 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02277/0.5241, allocations: 9.91 MB / 0.5196 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01066/0.5349, allocations: 239.2 kB / 0.5199 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009699/0.5446, allocations: 2.535 MB / 0.5224 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02314/0.5678, allocations: 7.313 MB / 0.5295 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.57, allocations: 282.2 kB / 0.5298 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002508/0.5725, allocations: 2.017 MB / 0.5317 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003616/0.5762, allocations: 2.854 MB / 0.5345 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.5772, allocations: 0.6957 MB / 0.5352 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.5805, allocations: 2.731 MB / 0.5379 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000279/0.5807, allocations: 69.06 kB / 0.5379 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007953/0.5815, allocations: 323.7 kB / 0.5382 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.5836, allocations: 3.085 MB / 0.5413 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008643/0.5845, allocations: 1.269 MB / 0.5425 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005293/0.5898, allocations: 6.134 MB / 0.5485 GB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5898, allocations: 0 / 0.5485 GB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5898, allocations: 3.938 kB / 0.5485 GB, free: 14.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003842/0.5902, allocations: 0 / 0.5485 GB, free: 14.33 MB / 398.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.009004/0.5992, allocations: 6.74 MB / 0.5551 GB, free: 8.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.5993, allocations: 8.031 kB / 0.5551 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.6003, allocations: 0.8697 MB / 0.5559 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/0.6043, allocations: 3.054 MB / 0.5589 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.321e-05/0.6044, allocations: 124.7 kB / 0.559 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.6046, allocations: 169 kB / 0.5592 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009172/0.6138, allocations: 6.611 MB / 0.5656 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.6139, allocations: 7.938 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.6141, allocations: 80.02 kB / 0.5657 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001647/0.6157, allocations: 1.563 MB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008957/0.6247, allocations: 4.098 MB / 0.5713 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02944/0.6542, allocations: 20.04 MB / 0.5908 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.6557, allocations: 334.2 kB / 0.5911 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.6558, allocations: 60.81 kB / 0.5912 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004436/0.6603, allocations: 3.263 MB / 0.5944 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.6604, allocations: 117.9 kB / 0.5945 GB, free: 2.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.6604, allocations: 1.641 kB / 0.5945 GB, free: 2.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0007489/0.6611, allocations: 0.7345 MB / 0.5952 GB, free: 1.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.6612, allocations: 126.7 kB / 0.5953 GB, free: 1.285 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01402/0.6752, allocations: 9.406 MB / 0.6045 GB, free: 7.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.6753, allocations: 25.7 kB / 0.6046 GB, free: 7.918 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005356/0.6806, allocations: 5.313 MB / 0.6097 GB, free: 2.609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.6808, allocations: 91.91 kB / 0.6098 GB, free: 2.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.681, allocations: 84 kB / 0.6099 GB, free: 2.438 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002743/0.6813, allocations: 487 kB / 0.6104 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.6824, allocations: 0.742 MB / 0.6111 GB, free: 1.203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0037/0.6861, allocations: 3.979 MB / 0.615 GB, free: 11.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.6884, allocations: 1.628 MB / 0.6166 GB, free: 9.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.58e-05/0.6885, allocations: 32 kB / 0.6166 GB, free: 9.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007868/0.6964, allocations: 4.78 MB / 0.6213 GB, free: 5.086 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/0.6965, allocations: 58.34 kB / 0.6213 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/0.6966, allocations: 116 kB / 0.6214 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.6968, allocations: 168.7 kB / 0.6216 GB, free: 4.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.699, allocations: 0.9863 MB / 0.6226 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001575/0.6992, allocations: 227.2 kB / 0.6228 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/0.7024, allocations: 0.6022 MB / 0.6234 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/0.7027, allocations: 284 kB / 0.6236 GB, free: 2.664 MB / 462.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005119/0.7078, allocations: 3.269 MB / 0.6268 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.709, allocations: 0.8002 MB / 0.6276 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.7105, allocations: 0.8946 MB / 0.6285 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/0.7106, allocations: 180.3 kB / 0.6287 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-05/0.7107, allocations: 180.2 kB / 0.6288 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.478e-05/0.7107, allocations: 180.3 kB / 0.629 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006708/0.7174, allocations: 4.765 MB / 0.6337 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/0.7175, allocations: 108.9 kB / 0.6338 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.7175, allocations: 102.7 kB / 0.6339 GB, free: 8.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.745e-05/0.7176, allocations: 180.2 kB / 0.634 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.7177, allocations: 188.2 kB / 0.6342 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.684e-05/0.7177, allocations: 180.3 kB / 0.6344 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.315e-05/0.7178, allocations: 184.2 kB / 0.6346 GB, free: 7.324 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009804/0.7188, allocations: 1.04 MB / 0.6356 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.7199, allocations: 0.8294 MB / 0.6364 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004367/0.7204, allocations: 180.3 kB / 0.6366 GB, free: 5.207 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008027/0.7212, allocations: 104.9 kB / 0.6367 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.7213, allocations: 180.2 kB / 0.6368 GB, free: 4.914 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.7213, allocations: 112.9 kB / 0.6369 GB, free: 4.797 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01047/0.7318, allocations: 6.389 MB / 0.6432 GB, free: 14.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7318, allocations: 0 / 0.6432 GB, free: 14.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005861/0.7377, allocations: 1.126 MB / 0.6443 GB, free: 13.33 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003543/0.7381, allocations: 194.5 kB / 0.6445 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003631/0.7417, allocations: 1.847 MB / 0.6463 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/0.7417, allocations: 12.25 kB / 0.6463 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.7418, allocations: 0 / 0.6463 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01494/0.7567, allocations: 3.206 MB / 0.6494 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04473/0.8015, allocations: 19.51 MB / 0.6685 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01245/0.814, allocations: 5.275 MB / 0.6736 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.01161/0.8257, allocations: 1.939 MB / 0.6755 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.827, allocations: 363.4 kB / 0.6758 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/0.827, allocations: 0 / 0.6758 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.4866/1.314, allocations: 82.69 MB / 0.7566 GB, free: 146.5 MB / 0.5294 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