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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001176/0.001176, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 75.97 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1183, allocations: 62.44 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01093/0.1292, allocations: 10.36 MB / 491.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00682/0.1361, allocations: 3.075 MB / 494.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.1377, allocations: 67.81 kB / 494.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004596/0.1424, allocations: 2.683 MB / 497.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.1447, allocations: 1.023 MB / 498.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005902/0.1453, allocations: 271.5 kB / 498.9 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.1469, allocations: 1.513 MB / 0.4887 GB, free: 1.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00232/0.1492, allocations: 2.441 MB / 0.4911 GB, free: 15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.1503, allocations: 0.9421 MB / 0.492 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003803/0.1542, allocations: 3.32 MB / 0.4953 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003769/0.1546, allocations: 188 kB / 0.4954 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005726/0.1551, allocations: 263.8 kB / 0.4957 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00204/0.1572, allocations: 2.915 MB / 0.4985 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.1598, allocations: 3.341 MB / 0.5018 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2576/0.4175, allocations: 9.526 MB / 0.5111 GB, free: 21.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.4176, allocations: 1.125 kB / 0.5111 GB, free: 21.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4176, allocations: 0 / 0.5111 GB, free: 21.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007528/0.4183, allocations: 0 / 0.5111 GB, free: 21.97 MB / 382.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.02477/0.4431, allocations: 8.765 MB / 0.5197 GB, free: 17.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.4432, allocations: 10.47 kB / 0.5197 GB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.4453, allocations: 0.972 MB / 0.5206 GB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007326/0.4526, allocations: 3.753 MB / 0.5243 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.4528, allocations: 127.6 kB / 0.5244 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.4531, allocations: 170.3 kB / 0.5246 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.4641, allocations: 6.602 MB / 0.531 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/0.4642, allocations: 9.531 kB / 0.531 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.4644, allocations: 80.42 kB / 0.5311 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001613/0.466, allocations: 1.556 MB / 0.5326 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006374/0.4724, allocations: 4.127 MB / 0.5366 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02799/0.5004, allocations: 20.24 MB / 0.5564 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.5019, allocations: 337.9 kB / 0.5567 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.502, allocations: 64.81 kB / 0.5568 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005217/0.5073, allocations: 3.258 MB / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.5073, allocations: 118.4 kB / 0.5601 GB, free: 4.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.074e-06/0.5074, allocations: 0 / 0.5601 GB, free: 4.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.001228/0.5086, allocations: 0.8338 MB / 0.5609 GB, free: 3.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.5087, allocations: 126.7 kB / 0.561 GB, free: 3.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.018/0.5267, allocations: 10.55 MB / 0.5713 GB, free: 8.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.5267, allocations: 29.7 kB / 0.5714 GB, free: 8.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006336/0.5331, allocations: 5.825 MB / 0.577 GB, free: 2.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.5332, allocations: 87.91 kB / 0.5771 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000908/0.5341, allocations: 0.8252 MB / 0.5779 GB, free: 2.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.5342, allocations: 301.1 kB / 0.5782 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009774/0.5352, allocations: 0.7577 MB / 0.579 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/0.538, allocations: 3.998 MB / 0.5829 GB, free: 11.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.5421, allocations: 5.199 MB / 0.5879 GB, free: 4.992 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-05/0.5422, allocations: 32 kB / 0.588 GB, free: 4.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007064/0.5492, allocations: 4.931 MB / 0.5928 GB, free: 468 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/0.5493, allocations: 56.03 kB / 0.5928 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.216e-05/0.5494, allocations: 120 kB / 0.593 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/0.5495, allocations: 152 kB / 0.5931 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.5517, allocations: 0.9903 MB / 0.5941 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001422/0.5518, allocations: 223.1 kB / 0.5943 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/0.5558, allocations: 0.5986 MB / 0.5949 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002942/0.5561, allocations: 288 kB / 0.5951 GB, free: 14.05 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00687/0.563, allocations: 3.402 MB / 0.5985 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002111/0.5651, allocations: 0.912 MB / 0.5994 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.5675, allocations: 1.023 MB / 0.6004 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-05/0.5676, allocations: 176.3 kB / 0.6005 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.893e-05/0.5677, allocations: 184.2 kB / 0.6007 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/0.5677, allocations: 182.4 kB / 0.6009 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008243/0.576, allocations: 5.14 MB / 0.6059 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/0.576, allocations: 101 kB / 0.606 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.5761, allocations: 113 kB / 0.6061 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.352e-05/0.5761, allocations: 181.6 kB / 0.6063 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/0.5762, allocations: 180.3 kB / 0.6064 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.183e-05/0.5763, allocations: 181.2 kB / 0.6066 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.862e-05/0.5763, allocations: 184.3 kB / 0.6068 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.5779, allocations: 1.155 MB / 0.6079 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/0.5799, allocations: 0.9009 MB / 0.6088 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005635/0.5805, allocations: 188.8 kB / 0.609 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/0.5813, allocations: 101 kB / 0.6091 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.5814, allocations: 180.2 kB / 0.6092 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.5814, allocations: 112.9 kB / 0.6093 GB, free: 15.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01312/0.5945, allocations: 7.138 MB / 0.6163 GB, free: 8.145 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5946, allocations: 0 / 0.6163 GB, free: 8.145 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005031/0.5996, allocations: 1.122 MB / 0.6174 GB, free: 7.02 MB / 462.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 (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.0001622/0.5998, allocations: 178.5 kB / 0.6176 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002621/0.6024, allocations: 1.876 MB / 0.6194 GB, free: 4.984 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.6024, allocations: 0 / 0.6194 GB, free: 4.984 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.6024, allocations: 0 / 0.6194 GB, free: 4.984 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01201/0.6144, allocations: 3.447 MB / 0.6228 GB, free: 1.543 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02923/0.6437, allocations: 15.66 MB / 0.6381 GB, free: 1.855 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008528/0.6523, allocations: 5.277 MB / 0.6432 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006102/0.6584, allocations: 2.106 MB / 0.6453 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009104/0.6593, allocations: 399.4 kB / 0.6457 GB, free: 10.04 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6593, allocations: 4 kB / 0.6457 GB, free: 10.04 MB / 494.1 MB Notification: Performance of Templates: time 0.3752/1.035, allocations: 81.88 MB / 0.7256 GB, free: 172.3 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches