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.0009284/0.0009285, allocations: 98.95 kB / 17 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 191 kB / 17.9 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.7 MB / 246.4 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.19 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 8 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 63.56 MB / 482.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2977/0.4379, allocations: 50.28 MB / 0.5202 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01996/0.4579, allocations: 9.78 MB / 0.5297 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01001/0.4679, allocations: 238.7 kB / 0.53 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008483/0.4765, allocations: 2.532 MB / 0.5324 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01842/0.4949, allocations: 7.205 MB / 0.5395 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.4972, allocations: 281 kB / 0.5397 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.4996, allocations: 2.003 MB / 0.5417 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003203/0.5029, allocations: 2.881 MB / 0.5445 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009087/0.5038, allocations: 0.6904 MB / 0.5452 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.5069, allocations: 2.728 MB / 0.5479 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.5071, allocations: 71.97 kB / 0.5479 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006895/0.5078, allocations: 316.2 kB / 0.5482 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001963/0.5098, allocations: 3.083 MB / 0.5512 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009701/0.5108, allocations: 1.266 MB / 0.5525 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006016/0.5168, allocations: 6.128 MB / 0.5585 GB, free: 8.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.5168, allocations: 4 kB / 0.5585 GB, free: 8.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5168, allocations: 0 / 0.5585 GB, free: 8.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002304/0.5171, allocations: 0 / 0.5585 GB, free: 8.648 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.008783/0.5259, allocations: 6.736 MB / 0.565 GB, free: 1.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5259, allocations: 8.031 kB / 0.565 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.527, allocations: 0.8664 MB / 0.5659 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.5317, allocations: 3.039 MB / 0.5689 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.5319, allocations: 125.5 kB / 0.569 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.5321, allocations: 168.5 kB / 0.5691 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008372/0.5405, allocations: 6.594 MB / 0.5756 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.5405, allocations: 7.938 kB / 0.5756 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.5407, allocations: 77.44 kB / 0.5757 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001725/0.5425, allocations: 1.565 MB / 0.5772 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00717/0.5496, allocations: 4.101 MB / 0.5812 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0266/0.5762, allocations: 20.04 MB / 0.6008 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.5778, allocations: 334.2 kB / 0.6011 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.5779, allocations: 60.83 kB / 0.6011 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003712/0.5816, allocations: 3.258 MB / 0.6043 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.5817, allocations: 117.8 kB / 0.6044 GB, free: 8.961 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.5817, allocations: 0 / 0.6044 GB, free: 8.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000664/0.5824, allocations: 0.7306 MB / 0.6051 GB, free: 8.215 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.5824, allocations: 130.7 kB / 0.6053 GB, free: 8.074 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01274/0.5952, allocations: 9.403 MB / 0.6145 GB, free: 14.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.5952, allocations: 25.7 kB / 0.6145 GB, free: 14.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00478/0.6, allocations: 5.314 MB / 0.6197 GB, free: 9.355 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.6001, allocations: 91.91 kB / 0.6198 GB, free: 9.266 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.6003, allocations: 84 kB / 0.6198 GB, free: 9.184 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003092/0.6006, allocations: 483 kB / 0.6203 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.6018, allocations: 0.7459 MB / 0.621 GB, free: 7.949 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003426/0.6052, allocations: 3.983 MB / 0.6249 GB, free: 2.281 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.6074, allocations: 1.623 MB / 0.6265 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-05/0.6075, allocations: 32 kB / 0.6265 GB, free: 0.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008854/0.6164, allocations: 4.781 MB / 0.6312 GB, free: 11.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.6164, allocations: 56 kB / 0.6312 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001008/0.6165, allocations: 116 kB / 0.6314 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.6167, allocations: 168 kB / 0.6315 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.6192, allocations: 0.9863 MB / 0.6325 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002252/0.6194, allocations: 223.2 kB / 0.6327 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0049/0.6243, allocations: 0.6072 MB / 0.6333 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004141/0.6247, allocations: 288 kB / 0.6336 GB, free: 9.398 MB / 478.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.005401/0.6302, allocations: 3.257 MB / 0.6367 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/0.6312, allocations: 0.8041 MB / 0.6375 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.6326, allocations: 0.8866 MB / 0.6384 GB, free: 4.402 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.348e-05/0.6327, allocations: 180.2 kB / 0.6386 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.166e-05/0.6328, allocations: 184.2 kB / 0.6387 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.175e-05/0.6328, allocations: 176.3 kB / 0.6389 GB, free: 3.852 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006544/0.6394, allocations: 4.767 MB / 0.6436 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.141e-05/0.6394, allocations: 104.9 kB / 0.6437 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.6395, allocations: 105 kB / 0.6438 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.033e-05/0.6395, allocations: 180.2 kB / 0.6439 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.6396, allocations: 176.3 kB / 0.6441 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.076e-05/0.6397, allocations: 180.2 kB / 0.6443 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.588e-05/0.6397, allocations: 196.2 kB / 0.6445 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008859/0.6406, allocations: 1.041 MB / 0.6455 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.6417, allocations: 0.8285 MB / 0.6463 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004369/0.6422, allocations: 180.2 kB / 0.6465 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/0.6429, allocations: 105 kB / 0.6466 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.6429, allocations: 180.3 kB / 0.6467 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.643, allocations: 104.9 kB / 0.6468 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008574/0.6516, allocations: 6.389 MB / 0.6531 GB, free: 5.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6516, allocations: 4 kB / 0.6531 GB, free: 5.207 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003876/0.6555, allocations: 1.124 MB / 0.6542 GB, free: 4.078 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.0002643/0.6557, allocations: 203 kB / 0.6544 GB, free: 3.871 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.6587, allocations: 1.847 MB / 0.6562 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6587, allocations: 0 / 0.6562 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.6587, allocations: 0 / 0.6562 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/0.6697, allocations: 3.215 MB / 0.6593 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03266/0.7023, allocations: 19.49 MB / 0.6783 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008883/0.7113, allocations: 5.271 MB / 0.6835 GB, free: 6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006809/0.7181, allocations: 1.923 MB / 0.6854 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008616/0.719, allocations: 359.4 kB / 0.6857 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.719, allocations: 0 / 0.6857 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of Templates: time 0.3854/1.104, allocations: 82.67 MB / 0.7664 GB, free: 131.2 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 -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