Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008655/0.0008656, allocations: 92.81 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009131/0.0009133, allocations: 203.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.8 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.216/0.216, allocations: 46.19 MB / 345.3 MB, free: 11.38 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 11.98 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1296, allocations: 63.58 MB / 483.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2912/0.4208, allocations: 54.06 MB / 0.5246 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02833/0.4492, allocations: 10.22 MB / 0.5346 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01288/0.4621, allocations: 239.4 kB / 0.5348 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.4633, allocations: 261 kB / 0.5351 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.466, allocations: 0.9677 MB / 0.536 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.4667, allocations: 250.4 kB / 0.5363 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003089/0.4698, allocations: 2.522 MB / 0.5387 GB, free: 5.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004164/0.474, allocations: 3.198 MB / 0.5419 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.4753, allocations: 0.6665 MB / 0.5425 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/0.4786, allocations: 3.28 MB / 0.5457 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002503/0.4789, allocations: 70.28 kB / 0.5458 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004943/0.4794, allocations: 169.7 kB / 0.5459 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001487/0.4809, allocations: 2.851 MB / 0.5487 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002428/0.4833, allocations: 3.159 MB / 0.5518 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008847/0.4922, allocations: 8.183 MB / 0.5598 GB, free: 6.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4923, allocations: 4 kB / 0.5598 GB, free: 6.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4923, allocations: 0 / 0.5598 GB, free: 6.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002416/0.4925, allocations: 0 / 0.5598 GB, free: 6.711 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.01144/0.504, allocations: 7.471 MB / 0.5671 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.504, allocations: 12.88 kB / 0.5671 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.5053, allocations: 0.9666 MB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005429/0.5107, allocations: 3.723 MB / 0.5717 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.5109, allocations: 130.2 kB / 0.5718 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.5112, allocations: 163.4 kB / 0.572 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00917/0.5203, allocations: 6.614 MB / 0.5784 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/0.5204, allocations: 7.938 kB / 0.5784 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.5206, allocations: 75.39 kB / 0.5785 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001801/0.5224, allocations: 1.558 MB / 0.58 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00721/0.5296, allocations: 4.14 MB / 0.5841 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02972/0.5593, allocations: 20.39 MB / 0.604 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.561, allocations: 334.2 kB / 0.6043 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.5612, allocations: 64.81 kB / 0.6044 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004503/0.5657, allocations: 3.259 MB / 0.6076 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.244e-05/0.5657, allocations: 114.7 kB / 0.6077 GB, free: 5.098 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.5658, allocations: 0 / 0.6077 GB, free: 5.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0009599/0.5667, allocations: 0.8385 MB / 0.6085 GB, free: 4.242 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.5668, allocations: 130.7 kB / 0.6086 GB, free: 4.102 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01688/0.5837, allocations: 10.54 MB / 0.6189 GB, free: 9.609 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.5838, allocations: 25.7 kB / 0.6189 GB, free: 9.578 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005877/0.5897, allocations: 5.834 MB / 0.6246 GB, free: 3.742 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.5898, allocations: 91.91 kB / 0.6247 GB, free: 3.652 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004539/0.5903, allocations: 350.8 kB / 0.625 GB, free: 3.301 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5904, allocations: 301.1 kB / 0.6253 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.5916, allocations: 0.7616 MB / 0.6261 GB, free: 2.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/0.5957, allocations: 4.003 MB / 0.63 GB, free: 12.55 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006245/0.6019, allocations: 5.197 MB / 0.6351 GB, free: 5.695 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.648e-05/0.602, allocations: 36 kB / 0.6351 GB, free: 5.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008443/0.6105, allocations: 4.92 MB / 0.6399 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.347e-05/0.6105, allocations: 56 kB / 0.64 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/0.6107, allocations: 116 kB / 0.6401 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.6108, allocations: 155.9 kB / 0.6402 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.6133, allocations: 0.9831 MB / 0.6412 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002157/0.6136, allocations: 231.1 kB / 0.6414 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/0.6174, allocations: 0.603 MB / 0.642 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003332/0.6177, allocations: 287.5 kB / 0.6423 GB, free: 14.31 MB / 494.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.005809/0.6236, allocations: 3.401 MB / 0.6456 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/0.6248, allocations: 0.916 MB / 0.6465 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.6265, allocations: 1.023 MB / 0.6475 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.901e-05/0.6266, allocations: 180.2 kB / 0.6476 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.907e-05/0.6267, allocations: 180.2 kB / 0.6478 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.604e-05/0.6268, allocations: 180.3 kB / 0.648 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007885/0.6347, allocations: 5.131 MB / 0.653 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-05/0.6348, allocations: 109 kB / 0.6531 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.6348, allocations: 101 kB / 0.6532 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.689e-05/0.6349, allocations: 180.2 kB / 0.6534 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.522e-05/0.635, allocations: 184.1 kB / 0.6535 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.729e-05/0.6351, allocations: 188.2 kB / 0.6537 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.538e-05/0.6352, allocations: 180.2 kB / 0.6539 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6365, allocations: 1.159 MB / 0.655 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.6379, allocations: 0.8975 MB / 0.6559 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004599/0.6383, allocations: 192.1 kB / 0.6561 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007662/0.6391, allocations: 105 kB / 0.6562 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.6392, allocations: 188.1 kB / 0.6564 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.6394, allocations: 101 kB / 0.6565 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01145/0.6508, allocations: 7.138 MB / 0.6634 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.62e-07/0.6509, allocations: 0 / 0.6634 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004209/0.6551, allocations: 1.128 MB / 0.6645 GB, free: 7.266 MB / 0.4981 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.0002078/0.6553, allocations: 174.5 kB / 0.6647 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003257/0.6586, allocations: 1.867 MB / 0.6665 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.6586, allocations: 4.125 kB / 0.6665 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.6586, allocations: 4 kB / 0.6665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01434/0.6729, allocations: 3.238 MB / 0.6697 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03365/0.7066, allocations: 18.84 MB / 0.6881 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007169/0.7138, allocations: 5.278 MB / 0.6933 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006615/0.7205, allocations: 2.098 MB / 0.6953 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/0.7211, allocations: 403.4 kB / 0.6957 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.7211, allocations: 4 kB / 0.6957 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of Templates: time 0.6068/1.328, allocations: 86.67 MB / 0.7803 GB, free: 143.9 MB / 0.545 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches