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.001042/0.001042, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 80.16 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3241, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01033/0.3345, allocations: 10.37 MB / 0.5418 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006733/0.3413, allocations: 3.075 MB / 0.5448 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.3429, allocations: 67.09 kB / 0.5448 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004657/0.3476, allocations: 2.678 MB / 0.5475 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.3503, allocations: 1.025 MB / 0.5485 GB, free: 480 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.351, allocations: 275.5 kB / 0.5487 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.3527, allocations: 1.51 MB / 0.5502 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.3551, allocations: 2.445 MB / 0.5526 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.3561, allocations: 0.9147 MB / 0.5535 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004121/0.3602, allocations: 3.324 MB / 0.5567 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003846/0.3607, allocations: 188 kB / 0.5569 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/0.3613, allocations: 267.8 kB / 0.5572 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002056/0.3633, allocations: 2.981 MB / 0.5601 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00244/0.3658, allocations: 3.337 MB / 0.5633 GB, free: 1.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007367/0.3732, allocations: 9.754 MB / 0.5728 GB, free: 7.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3732, allocations: 0 / 0.5728 GB, free: 7.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3732, allocations: 4 kB / 0.5729 GB, free: 7.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001751/0.3734, allocations: 0 / 0.5729 GB, free: 7.359 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.01109/0.3845, allocations: 8.769 MB / 0.5814 GB, free: 14.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3846, allocations: 8.031 kB / 0.5814 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009145/0.3855, allocations: 0.9666 MB / 0.5824 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005355/0.3908, allocations: 3.753 MB / 0.586 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/0.391, allocations: 131.3 kB / 0.5862 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.3912, allocations: 163.9 kB / 0.5863 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007099/0.3983, allocations: 6.608 MB / 0.5928 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.3983, allocations: 7.938 kB / 0.5928 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.3985, allocations: 71.95 kB / 0.5928 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001344/0.3998, allocations: 1.564 MB / 0.5944 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005741/0.4056, allocations: 4.135 MB / 0.5984 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02368/0.4293, allocations: 20.24 MB / 0.6182 GB, free: 8.297 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.4307, allocations: 338.1 kB / 0.6185 GB, free: 7.957 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.4308, allocations: 60.86 kB / 0.6186 GB, free: 7.895 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00476/0.4356, allocations: 3.272 MB / 0.6217 GB, free: 4.258 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.4357, allocations: 105.8 kB / 0.6218 GB, free: 4.145 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.475e-06/0.4357, allocations: 0 / 0.6218 GB, free: 4.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0008433/0.4365, allocations: 0.8308 MB / 0.6227 GB, free: 3.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.4366, allocations: 130.7 kB / 0.6228 GB, free: 3.156 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01333/0.4499, allocations: 10.54 MB / 0.6331 GB, free: 8.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.45, allocations: 33.62 kB / 0.6331 GB, free: 8.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004664/0.4547, allocations: 5.83 MB / 0.6388 GB, free: 2.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.4548, allocations: 87.91 kB / 0.6389 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007884/0.4556, allocations: 0.8213 MB / 0.6397 GB, free: 1.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.4557, allocations: 305.1 kB / 0.64 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009127/0.4566, allocations: 0.7616 MB / 0.6407 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/0.4592, allocations: 3.999 MB / 0.6446 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004399/0.4636, allocations: 5.201 MB / 0.6497 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.373e-05/0.4637, allocations: 40 kB / 0.6497 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006817/0.4705, allocations: 4.92 MB / 0.6546 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-05/0.4706, allocations: 58.5 kB / 0.6546 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.763e-05/0.4707, allocations: 116 kB / 0.6547 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.4709, allocations: 152 kB / 0.6549 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.473, allocations: 0.9864 MB / 0.6558 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001373/0.4731, allocations: 227.1 kB / 0.656 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/0.4762, allocations: 0.6033 MB / 0.6566 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.4765, allocations: 284 kB / 0.6569 GB, free: 12.84 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.004029/0.4805, allocations: 3.413 MB / 0.6602 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009431/0.4814, allocations: 0.9122 MB / 0.6611 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.4827, allocations: 1.027 MB / 0.6621 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.866e-05/0.4828, allocations: 180.3 kB / 0.6623 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.57e-05/0.4829, allocations: 180.3 kB / 0.6625 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-05/0.4829, allocations: 180.2 kB / 0.6626 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005398/0.4883, allocations: 5.135 MB / 0.6677 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.111e-05/0.4884, allocations: 108.9 kB / 0.6678 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.4884, allocations: 105 kB / 0.6679 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-05/0.4885, allocations: 180.2 kB / 0.668 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.4885, allocations: 180.2 kB / 0.6682 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.014e-05/0.4886, allocations: 180.3 kB / 0.6684 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.888e-05/0.4886, allocations: 188.2 kB / 0.6686 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009063/0.4895, allocations: 1.155 MB / 0.6697 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.4909, allocations: 0.9014 MB / 0.6706 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004005/0.4913, allocations: 176.3 kB / 0.6707 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006946/0.492, allocations: 112.8 kB / 0.6708 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.4921, allocations: 180.3 kB / 0.671 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.4921, allocations: 108.9 kB / 0.6711 GB, free: 14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.009442/0.5016, allocations: 7.142 MB / 0.6781 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5016, allocations: 0 / 0.6781 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004998/0.5066, allocations: 1.128 MB / 0.6792 GB, free: 5.777 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.0002439/0.5069, allocations: 182.5 kB / 0.6794 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.5098, allocations: 1.863 MB / 0.6812 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5098, allocations: 0 / 0.6812 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.5098, allocations: 0 / 0.6812 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01223/0.5221, allocations: 3.455 MB / 0.6846 GB, free: 292 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/0.5455, allocations: 16.4 MB / 0.7006 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00635/0.5519, allocations: 5.273 MB / 0.7057 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000843/0.5527, allocations: 435.4 kB / 0.7061 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.5528, allocations: 0 / 0.7061 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.6408/1.194, allocations: 128.9 MB / 0.832 GB, free: 50.88 MB / 0.5607 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/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