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.001446/0.001445, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001767/0.001767, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 75.89 kB / 481.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.355, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0113/0.3664, allocations: 10.36 MB / 0.5411 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00689/0.3733, allocations: 3.075 MB / 0.5441 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.3751, allocations: 67.31 kB / 0.5442 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005202/0.3804, allocations: 2.682 MB / 0.5468 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.3832, allocations: 1.036 MB / 0.5478 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007375/0.3839, allocations: 263.5 kB / 0.5481 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.3863, allocations: 1.509 MB / 0.5495 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003061/0.3893, allocations: 2.449 MB / 0.5519 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.391, allocations: 0.9421 MB / 0.5528 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004384/0.3954, allocations: 3.313 MB / 0.5561 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007749/0.3962, allocations: 188 kB / 0.5563 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.3976, allocations: 271.8 kB / 0.5565 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003143/0.4007, allocations: 2.923 MB / 0.5594 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005879/0.4066, allocations: 3.333 MB / 0.5626 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.4188, allocations: 9.805 MB / 0.5722 GB, free: 7.387 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4188, allocations: 3.938 kB / 0.5722 GB, free: 7.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4188, allocations: 0 / 0.5722 GB, free: 7.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002412/0.4191, allocations: 0 / 0.5722 GB, free: 7.383 MB / 430.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.015/0.4341, allocations: 9.114 MB / 0.5811 GB, free: 14.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.4342, allocations: 12.03 kB / 0.5811 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.4357, allocations: 1.024 MB / 0.5821 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005414/0.4411, allocations: 3.827 MB / 0.5858 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-05/0.4412, allocations: 127.3 kB / 0.586 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.4415, allocations: 167.9 kB / 0.5861 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007827/0.4493, allocations: 6.612 MB / 0.5926 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.4494, allocations: 3.938 kB / 0.5926 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.4495, allocations: 71.95 kB / 0.5927 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001619/0.4511, allocations: 1.564 MB / 0.5942 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007146/0.4583, allocations: 4.129 MB / 0.5982 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03227/0.4906, allocations: 20.31 MB / 0.6181 GB, free: 7.785 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.4923, allocations: 342.1 kB / 0.6184 GB, free: 7.441 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.4924, allocations: 60.81 kB / 0.6184 GB, free: 7.379 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004956/0.4974, allocations: 3.284 MB / 0.6216 GB, free: 3.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/0.4975, allocations: 109.8 kB / 0.6217 GB, free: 3.613 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.4975, allocations: 0 / 0.6217 GB, free: 3.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0008813/0.4984, allocations: 0.8786 MB / 0.6226 GB, free: 2.723 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.4984, allocations: 126.7 kB / 0.6227 GB, free: 2.586 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01578/0.5142, allocations: 10.56 MB / 0.633 GB, free: 8.082 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.5143, allocations: 25.7 kB / 0.6331 GB, free: 8.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00509/0.5194, allocations: 5.95 MB / 0.6389 GB, free: 2.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.5195, allocations: 91.91 kB / 0.639 GB, free: 1.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008434/0.5204, allocations: 0.8261 MB / 0.6398 GB, free: 1.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5205, allocations: 305.1 kB / 0.6401 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009951/0.5215, allocations: 0.7654 MB / 0.6408 GB, free: 68 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003047/0.5246, allocations: 4.007 MB / 0.6447 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004955/0.5295, allocations: 5.201 MB / 0.6498 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.026e-05/0.5296, allocations: 32 kB / 0.6498 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008132/0.5378, allocations: 4.968 MB / 0.6547 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.734e-05/0.5379, allocations: 52 kB / 0.6547 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/0.538, allocations: 120 kB / 0.6548 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.5381, allocations: 152 kB / 0.655 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/0.5406, allocations: 0.9831 MB / 0.6559 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001823/0.5408, allocations: 223.1 kB / 0.6562 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00449/0.5453, allocations: 0.6205 MB / 0.6568 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/0.5458, allocations: 284 kB / 0.657 GB, free: 12.09 MB / 0.5137 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.005897/0.5517, allocations: 3.417 MB / 0.6604 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001631/0.5533, allocations: 0.96 MB / 0.6613 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.5551, allocations: 1.023 MB / 0.6623 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.434e-05/0.5552, allocations: 180.2 kB / 0.6625 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.313e-05/0.5553, allocations: 180.3 kB / 0.6627 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.119e-05/0.5553, allocations: 184.2 kB / 0.6628 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007389/0.5627, allocations: 5.131 MB / 0.6678 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.032e-05/0.5628, allocations: 108.9 kB / 0.6679 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.5628, allocations: 109 kB / 0.668 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.541e-05/0.5629, allocations: 180.2 kB / 0.6682 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.563, allocations: 180.2 kB / 0.6684 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.354e-05/0.5631, allocations: 184.3 kB / 0.6686 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001275/0.5632, allocations: 184.2 kB / 0.6687 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.5643, allocations: 1.195 MB / 0.6699 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/0.5658, allocations: 0.9453 MB / 0.6708 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005845/0.5664, allocations: 184.3 kB / 0.671 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/0.5672, allocations: 104.9 kB / 0.6711 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.5673, allocations: 180.3 kB / 0.6713 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.5673, allocations: 108.9 kB / 0.6714 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01188/0.5792, allocations: 7.138 MB / 0.6784 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5792, allocations: 0 / 0.6784 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004186/0.5834, allocations: 1.137 MB / 0.6795 GB, free: 4.902 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.0001727/0.5836, allocations: 190.4 kB / 0.6796 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00273/0.5863, allocations: 1.859 MB / 0.6815 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5864, allocations: 0.5 kB / 0.6815 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-06/0.5864, allocations: 7.938 kB / 0.6815 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01228/0.5987, allocations: 3.447 MB / 0.6848 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/0.6263, allocations: 15.94 MB / 0.7004 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006672/0.6331, allocations: 5.273 MB / 0.7056 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0058/0.6389, allocations: 2.098 MB / 0.7076 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007009/0.6396, allocations: 403.4 kB / 0.708 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.6396, allocations: 0 / 0.708 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of Templates: time 0.4086/1.048, allocations: 83.19 MB / 0.7892 GB, free: 97.4 MB / 0.5606 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 -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/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_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches