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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 179.6 kB / 18.09 MB, free: 3.629 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000807/0.0008069, allocations: 106.5 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3147/0.3147, allocations: 44.15 MB / 388.5 MB, free: 38.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 8 kB / 461.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3543, allocations: 61.88 MB / 0.5107 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.4781, allocations: 100.3 MB / 0.6086 GB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.4785, allocations: 83.95 kB / 0.6087 GB, free: 10.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4171/0.8956, allocations: 79.56 MB / 0.6864 GB, free: 87.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.8956, allocations: 0 / 0.6864 GB, free: 87.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008532/0.8965, allocations: 139.9 kB / 0.6866 GB, free: 87.92 MB / 490.7 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.01607/0.9126, allocations: 7.968 MB / 0.6943 GB, free: 83.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.9126, allocations: 9.156 kB / 0.6943 GB, free: 83.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/0.9159, allocations: 1.128 MB / 0.6954 GB, free: 83.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008033/0.9239, allocations: 4.353 MB / 0.6997 GB, free: 81.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.9241, allocations: 188.7 kB / 0.6999 GB, free: 81.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004417/0.9245, allocations: 243.8 kB / 0.7001 GB, free: 81.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007684/0.9322, allocations: 6.372 MB / 0.7063 GB, free: 80.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.408e-05/0.9323, allocations: 8.938 kB / 0.7063 GB, free: 80.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/0.9325, allocations: 113.4 kB / 0.7064 GB, free: 80.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007433/0.9333, allocations: 1.018 MB / 0.7074 GB, free: 80.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005932/0.9392, allocations: 3.947 MB / 0.7113 GB, free: 80.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02809/0.9674, allocations: 20.06 MB / 0.7309 GB, free: 71.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.969, allocations: 339.9 kB / 0.7312 GB, free: 71.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.591e-05/0.9691, allocations: 64.84 kB / 0.7313 GB, free: 71.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004735/0.9739, allocations: 3.265 MB / 0.7345 GB, free: 68.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.9739, allocations: 105.8 kB / 0.7346 GB, free: 68.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 2.324e-06/0.9739, allocations: 96 / 0.7346 GB, free: 68.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0007239/0.9747, allocations: 0.836 MB / 0.7354 GB, free: 68.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.9747, allocations: 126.7 kB / 0.7355 GB, free: 68.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01288/0.9876, allocations: 10.52 MB / 0.7458 GB, free: 64.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.9876, allocations: 25.7 kB / 0.7458 GB, free: 64.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003518/0.9912, allocations: 5.841 MB / 0.7515 GB, free: 60.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.9913, allocations: 89.94 kB / 0.7516 GB, free: 60.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.9914, allocations: 85.72 kB / 0.7517 GB, free: 60.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.9916, allocations: 477.6 kB / 0.7521 GB, free: 59.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000801/0.9924, allocations: 0.748 MB / 0.7528 GB, free: 59.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.9941, allocations: 3.982 MB / 0.7567 GB, free: 55.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/0.9972, allocations: 5.181 MB / 0.7618 GB, free: 49.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.13e-05/0.9973, allocations: 37.38 kB / 0.7618 GB, free: 49.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00603/1.003, allocations: 4.889 MB / 0.7666 GB, free: 47.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/1.003, allocations: 57.34 kB / 0.7667 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-05/1.003, allocations: 118.7 kB / 0.7668 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001031/1.004, allocations: 154.1 kB / 0.7669 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/1.005, allocations: 0.9895 MB / 0.7679 GB, free: 47.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000109/1.006, allocations: 230.5 kB / 0.7681 GB, free: 47.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/1.009, allocations: 0.5999 MB / 0.7687 GB, free: 47.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/1.009, allocations: 286 kB / 0.769 GB, free: 46.97 MB / 490.7 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.005068/1.014, allocations: 3.396 MB / 0.7723 GB, free: 45.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.016, allocations: 0.9203 MB / 0.7732 GB, free: 45.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/1.018, allocations: 1.023 MB / 0.7742 GB, free: 44.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.018, allocations: 186.8 kB / 0.7744 GB, free: 44.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/1.018, allocations: 176.3 kB / 0.7745 GB, free: 44.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/1.018, allocations: 180.3 kB / 0.7747 GB, free: 44.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009231/1.027, allocations: 5.137 MB / 0.7797 GB, free: 42.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/1.027, allocations: 105 kB / 0.7798 GB, free: 42.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/1.027, allocations: 108.9 kB / 0.7799 GB, free: 42.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-05/1.027, allocations: 180.1 kB / 0.7801 GB, free: 41.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/1.027, allocations: 176.3 kB / 0.7803 GB, free: 41.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.813e-05/1.027, allocations: 187.8 kB / 0.7804 GB, free: 41.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.529e-05/1.027, allocations: 176.3 kB / 0.7806 GB, free: 41.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/1.029, allocations: 1.157 MB / 0.7817 GB, free: 40.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.03, allocations: 0.9044 MB / 0.7826 GB, free: 39.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/1.03, allocations: 180.2 kB / 0.7828 GB, free: 39.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007336/1.031, allocations: 104.6 kB / 0.7829 GB, free: 39.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/1.031, allocations: 191.5 kB / 0.7831 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/1.031, allocations: 101 kB / 0.7832 GB, free: 39.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01024/1.041, allocations: 7.118 MB / 0.7901 GB, free: 36.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.041, allocations: 0 / 0.7901 GB, free: 36.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004616/1.046, allocations: 1.128 MB / 0.7912 GB, free: 34.95 MB / 490.7 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.000152/1.046, allocations: 170.5 kB / 0.7914 GB, free: 34.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002653/1.049, allocations: 1.851 MB / 0.7932 GB, free: 33.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.049, allocations: 0 / 0.7932 GB, free: 33.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/1.049, allocations: 0 / 0.7932 GB, free: 33.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01254/1.061, allocations: 3.247 MB / 0.7964 GB, free: 30.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/1.087, allocations: 17.95 MB / 0.8139 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008969/1.096, allocations: 5.268 MB / 0.819 GB, free: 9.992 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007025/1.103, allocations: 2.104 MB / 0.8211 GB, free: 8.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006555/1.104, allocations: 407.4 kB / 0.8215 GB, free: 8.121 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/1.104, allocations: 0 / 0.8215 GB, free: 8.121 MB / 490.7 MB Notification: Performance of Templates: time 0.6414/1.745, allocations: 85.97 MB / 0.9054 GB, free: 78.89 MB / 0.5262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches