Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009033/0.0009032, allocations: 95.7 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 176.4 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 61.92 MB / 472.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2763/0.4081, allocations: 54.43 MB / 0.5143 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02705/0.4352, allocations: 10.33 MB / 0.5244 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01062/0.4459, allocations: 238.3 kB / 0.5246 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009975/0.4469, allocations: 255.6 kB / 0.5249 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.4495, allocations: 0.9744 MB / 0.5258 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.4501, allocations: 258.2 kB / 0.5261 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.4532, allocations: 2.545 MB / 0.5286 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004477/0.4577, allocations: 3.171 MB / 0.5317 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.4588, allocations: 0.6716 MB / 0.5323 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003527/0.4624, allocations: 3.289 MB / 0.5355 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.4626, allocations: 75.88 kB / 0.5356 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005203/0.4632, allocations: 166.8 kB / 0.5358 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.4647, allocations: 2.848 MB / 0.5386 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.4663, allocations: 3.157 MB / 0.5416 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006229/0.4726, allocations: 8.193 MB / 0.5496 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4726, allocations: 0 / 0.5496 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4726, allocations: 3.938 kB / 0.5496 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002964/0.4729, allocations: 0 / 0.5496 GB, free: 11.34 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.01119/0.4841, allocations: 7.477 MB / 0.5569 GB, free: 3.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4842, allocations: 8.031 kB / 0.5569 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.4859, allocations: 0.9713 MB / 0.5579 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.4917, allocations: 3.725 MB / 0.5615 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.4919, allocations: 126.4 kB / 0.5617 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.4922, allocations: 166.2 kB / 0.5618 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.503, allocations: 6.606 MB / 0.5683 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/0.5031, allocations: 11.92 kB / 0.5683 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.5032, allocations: 79.08 kB / 0.5684 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001733/0.505, allocations: 1.563 MB / 0.5699 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008109/0.5131, allocations: 4.127 MB / 0.5739 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02865/0.5418, allocations: 20.4 MB / 0.5938 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.5433, allocations: 338.2 kB / 0.5942 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.5435, allocations: 60.83 kB / 0.5942 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004309/0.5478, allocations: 3.264 MB / 0.5974 GB, free: 9.828 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.5478, allocations: 113.3 kB / 0.5975 GB, free: 9.711 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.5478, allocations: 0 / 0.5975 GB, free: 9.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0008819/0.5487, allocations: 0.8463 MB / 0.5983 GB, free: 8.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.5488, allocations: 130.7 kB / 0.5985 GB, free: 8.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02367/0.5725, allocations: 10.55 MB / 0.6088 GB, free: 14.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.5726, allocations: 25.7 kB / 0.6088 GB, free: 14.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006986/0.5795, allocations: 5.827 MB / 0.6145 GB, free: 8.344 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.5797, allocations: 99.89 kB / 0.6146 GB, free: 8.246 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/0.5802, allocations: 346.8 kB / 0.6149 GB, free: 7.898 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5803, allocations: 309.1 kB / 0.6152 GB, free: 7.594 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.5815, allocations: 0.7616 MB / 0.6159 GB, free: 6.824 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003436/0.5849, allocations: 3.995 MB / 0.6198 GB, free: 1.145 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005406/0.5903, allocations: 5.204 MB / 0.6249 GB, free: 10.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.613e-05/0.5904, allocations: 32 kB / 0.625 GB, free: 10.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008401/0.5989, allocations: 4.916 MB / 0.6298 GB, free: 5.324 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.544e-05/0.5989, allocations: 56 kB / 0.6298 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.5991, allocations: 120 kB / 0.6299 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.5992, allocations: 156 kB / 0.6301 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.6014, allocations: 0.9864 MB / 0.631 GB, free: 4.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001585/0.6016, allocations: 227.1 kB / 0.6313 GB, free: 3.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.6052, allocations: 0.5991 MB / 0.6318 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002947/0.6055, allocations: 292 kB / 0.6321 GB, free: 2.898 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005084/0.6106, allocations: 3.401 MB / 0.6354 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/0.6116, allocations: 0.9043 MB / 0.6363 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.6132, allocations: 1.031 MB / 0.6373 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-05/0.6132, allocations: 176.3 kB / 0.6375 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-05/0.6133, allocations: 188.2 kB / 0.6377 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/0.6133, allocations: 184.2 kB / 0.6379 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006834/0.6202, allocations: 5.127 MB / 0.6429 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/0.6203, allocations: 104.9 kB / 0.643 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.6203, allocations: 109 kB / 0.6431 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-05/0.6204, allocations: 180.3 kB / 0.6432 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/0.6204, allocations: 188.1 kB / 0.6434 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.104e-05/0.6205, allocations: 176.3 kB / 0.6436 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-05/0.6206, allocations: 184.2 kB / 0.6438 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.6218, allocations: 1.163 MB / 0.6449 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.6231, allocations: 0.9013 MB / 0.6458 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/0.6235, allocations: 180.2 kB / 0.646 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/0.6243, allocations: 108.9 kB / 0.6461 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.6244, allocations: 180.2 kB / 0.6462 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.6244, allocations: 101 kB / 0.6463 GB, free: 4.082 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01522/0.6396, allocations: 7.15 MB / 0.6533 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.978e-06/0.6397, allocations: 0 / 0.6533 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005882/0.6456, allocations: 1.135 MB / 0.6544 GB, free: 11.84 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.000263/0.6459, allocations: 173.6 kB / 0.6546 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003271/0.6492, allocations: 1.867 MB / 0.6564 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6492, allocations: 0 / 0.6564 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.441e-06/0.6492, allocations: 3.938 kB / 0.6564 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01496/0.6641, allocations: 3.236 MB / 0.6596 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03338/0.6976, allocations: 18.86 MB / 0.678 GB, free: 3.684 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01222/0.7098, allocations: 5.278 MB / 0.6831 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008537/0.7184, allocations: 2.098 MB / 0.6852 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009759/0.7194, allocations: 403.4 kB / 0.6856 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.7194, allocations: 0 / 0.6856 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.5776/1.297, allocations: 86.71 MB / 0.7702 GB, free: 155.3 MB / 0.5451 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches