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.001336/0.001336, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001011/0.001011, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.425/1.425, allocations: 222.9 MB / 243 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.19 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 72.78 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1102, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01069/0.1209, allocations: 10.38 MB / 481.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006222/0.1272, allocations: 3.036 MB / 484.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.1291, allocations: 67.81 kB / 484.2 MB, free: 124 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004796/0.134, allocations: 2.671 MB / 486.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003045/0.137, allocations: 1.031 MB / 487.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.1377, allocations: 267.5 kB / 488.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.1396, allocations: 1.525 MB / 489.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.1423, allocations: 2.441 MB / 492.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.1437, allocations: 0.9537 MB / 493.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004085/0.1478, allocations: 3.308 MB / 496.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003471/0.1482, allocations: 188 kB / 496.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006174/0.1488, allocations: 267.8 kB / 496.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002283/0.1511, allocations: 2.927 MB / 499.7 MB, free: 496 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003192/0.1543, allocations: 3.337 MB / 0.4913 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.1643, allocations: 9.528 MB / 0.5006 GB, free: 3.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.1644, allocations: 4 kB / 0.5006 GB, free: 3.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1644, allocations: 4 kB / 0.5006 GB, free: 3.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003573/0.1648, allocations: 0 / 0.5006 GB, free: 3.547 MB / 382.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.415/0.5798, allocations: 8.768 MB / 0.5092 GB, free: 42.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/0.5799, allocations: 9.188 kB / 0.5092 GB, free: 42.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.5829, allocations: 0.9716 MB / 0.5101 GB, free: 41.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008878/0.5918, allocations: 3.753 MB / 0.5138 GB, free: 39.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.592, allocations: 131.1 kB / 0.5139 GB, free: 39.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/0.5923, allocations: 167.2 kB / 0.5141 GB, free: 39.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.6027, allocations: 6.602 MB / 0.5205 GB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.903e-05/0.6028, allocations: 11.19 kB / 0.5205 GB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.603, allocations: 83.78 kB / 0.5206 GB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001772/0.6048, allocations: 1.556 MB / 0.5221 GB, free: 36.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006357/0.6111, allocations: 4.134 MB / 0.5262 GB, free: 34.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02274/0.6339, allocations: 20.24 MB / 0.5459 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.6353, allocations: 346.2 kB / 0.5463 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.6354, allocations: 59.97 kB / 0.5463 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004889/0.6403, allocations: 3.261 MB / 0.5495 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.6404, allocations: 105.8 kB / 0.5496 GB, free: 9.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.6404, allocations: 0 / 0.5496 GB, free: 9.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.001055/0.6415, allocations: 0.8463 MB / 0.5504 GB, free: 8.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.6415, allocations: 126.7 kB / 0.5505 GB, free: 8.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01329/0.6548, allocations: 10.55 MB / 0.5608 GB, free: 14.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.6549, allocations: 29.7 kB / 0.5609 GB, free: 14.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006312/0.6612, allocations: 5.834 MB / 0.5666 GB, free: 8.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.6615, allocations: 95.89 kB / 0.5667 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001686/0.6632, allocations: 0.8135 MB / 0.5675 GB, free: 7.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.6635, allocations: 309.1 kB / 0.5678 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.665, allocations: 0.7577 MB / 0.5685 GB, free: 6.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004267/0.6693, allocations: 4.003 MB / 0.5724 GB, free: 464 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006404/0.6757, allocations: 5.197 MB / 0.5775 GB, free: 9.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-05/0.6758, allocations: 32 kB / 0.5775 GB, free: 9.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008767/0.6846, allocations: 4.925 MB / 0.5823 GB, free: 4.633 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.128e-05/0.6847, allocations: 59.28 kB / 0.5824 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.6848, allocations: 116.9 kB / 0.5825 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.685, allocations: 156.1 kB / 0.5826 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/0.6873, allocations: 0.9863 MB / 0.5836 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001775/0.6875, allocations: 223.2 kB / 0.5838 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/0.6918, allocations: 0.603 MB / 0.5844 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/0.6922, allocations: 292 kB / 0.5847 GB, free: 2.211 MB / 414.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.005724/0.6979, allocations: 3.401 MB / 0.588 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00216/0.7001, allocations: 0.9159 MB / 0.5889 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.7023, allocations: 1.019 MB / 0.5899 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.613e-05/0.7024, allocations: 180.2 kB / 0.5901 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.726e-05/0.7025, allocations: 184.2 kB / 0.5902 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.379e-05/0.7026, allocations: 184.3 kB / 0.5904 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007593/0.7102, allocations: 5.131 MB / 0.5954 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/0.7102, allocations: 108.9 kB / 0.5955 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.7103, allocations: 105 kB / 0.5956 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.023e-05/0.7103, allocations: 184.2 kB / 0.5958 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.7104, allocations: 180.3 kB / 0.596 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.529e-05/0.7105, allocations: 181.4 kB / 0.5961 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.045e-05/0.7106, allocations: 184.2 kB / 0.5963 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.7122, allocations: 1.155 MB / 0.5975 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/0.7141, allocations: 0.9014 MB / 0.5983 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005165/0.7146, allocations: 176.3 kB / 0.5985 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/0.7154, allocations: 108.9 kB / 0.5986 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.7155, allocations: 176.3 kB / 0.5988 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.7155, allocations: 108.9 kB / 0.5989 GB, free: 3.395 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.01119/0.7267, allocations: 7.146 MB / 0.6059 GB, free: 12.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7267, allocations: 0 / 0.6059 GB, free: 12.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004877/0.7316, allocations: 1.135 MB / 0.607 GB, free: 11.16 MB / 446.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 (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.0001542/0.7318, allocations: 166.5 kB / 0.6071 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003188/0.735, allocations: 1.874 MB / 0.609 GB, free: 9.141 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.735, allocations: 0 / 0.609 GB, free: 9.141 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-06/0.735, allocations: 0 / 0.609 GB, free: 9.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01338/0.7484, allocations: 3.457 MB / 0.6123 GB, free: 5.691 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/0.7759, allocations: 15.66 MB / 0.6276 GB, free: 6.004 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007234/0.7832, allocations: 5.274 MB / 0.6328 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005724/0.7889, allocations: 2.102 MB / 0.6348 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007963/0.7898, allocations: 403.4 kB / 0.6352 GB, free: 14.19 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7898, allocations: 0 / 0.6352 GB, free: 14.19 MB / 478.1 MB Notification: Performance of Templates: time 0.427/1.217, allocations: 81.94 MB / 0.7152 GB, free: 163.6 MB / 0.5138 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 -s cvode -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/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_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches