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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 193.6 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009552/0.0009551, allocations: 92.95 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2/0.2, allocations: 45.15 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.57e-05/1.603e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/0.5004, allocations: 100.5 MB / 0.6025 GB, free: 2.277 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.5007, allocations: 77.7 kB / 0.6026 GB, free: 2.238 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1712/0.6718, allocations: 78.21 MB / 0.679 GB, free: 12.45 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.6719, allocations: 0 / 0.679 GB, free: 12.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001141/0.673, allocations: 139.9 kB / 0.6791 GB, free: 12.31 MB / 474.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.01611/0.6891, allocations: 6.538 MB / 0.6855 GB, free: 5.695 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.6892, allocations: 12.03 kB / 0.6855 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/0.6936, allocations: 1.123 MB / 0.6866 GB, free: 4.547 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008815/0.7024, allocations: 3.899 MB / 0.6904 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.7026, allocations: 84 kB / 0.6905 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008747/0.7035, allocations: 151.9 kB / 0.6906 GB, free: 352 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00822/0.7117, allocations: 4.503 MB / 0.695 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.722, allocations: 5.979 MB / 0.7009 GB, free: 5.672 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.7221, allocations: 3.938 kB / 0.7009 GB, free: 5.668 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.7223, allocations: 8 kB / 0.7009 GB, free: 5.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00106/0.7233, allocations: 1.024 MB / 0.7019 GB, free: 4.637 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02984/0.7532, allocations: 20.29 MB / 0.7217 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.69e-05/0.7533, allocations: 173.2 kB / 0.7219 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.7534, allocations: 80.14 kB / 0.7219 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.7534, allocations: 75.28 kB / 0.722 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.501e-05/0.7535, allocations: 109.8 kB / 0.7221 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 3.958e-06/0.7535, allocations: 3.984 kB / 0.7221 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.001448/0.755, allocations: 0.8425 MB / 0.7229 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.755, allocations: 51.41 kB / 0.723 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01467/0.7697, allocations: 8.619 MB / 0.7314 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.7697, allocations: 25.7 kB / 0.7314 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005086/0.7748, allocations: 5.838 MB / 0.7371 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.775, allocations: 91.91 kB / 0.7372 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.7751, allocations: 0 / 0.7372 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002998/0.7754, allocations: 483 kB / 0.7377 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000952/0.7763, allocations: 0.6408 MB / 0.7383 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/0.7794, allocations: 3.839 MB / 0.7421 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.7814, allocations: 1.513 MB / 0.7435 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.51e-05/0.7814, allocations: 36 kB / 0.7436 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006625/0.7881, allocations: 4.161 MB / 0.7476 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.107e-05/0.7882, allocations: 56 kB / 0.7477 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.933e-05/0.7883, allocations: 120 kB / 0.7478 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.7884, allocations: 168 kB / 0.748 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.7907, allocations: 0.9824 MB / 0.7489 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001554/0.7908, allocations: 227.1 kB / 0.7491 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003144/0.794, allocations: 0.5098 MB / 0.7496 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/0.7943, allocations: 287.9 kB / 0.7499 GB, free: 1.008 MB / 0.5261 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 () * 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.0003814/0.7946, allocations: 464.6 kB / 0.7504 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5072/1.302, allocations: 0.9029 MB / 0.7512 GB, free: 132.9 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/1.304, allocations: 1.012 MB / 0.7522 GB, free: 132.7 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.304, allocations: 184.4 kB / 0.7524 GB, free: 132.6 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-05/1.304, allocations: 186.5 kB / 0.7526 GB, free: 132.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/1.304, allocations: 182 kB / 0.7528 GB, free: 132.2 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005995/1.31, allocations: 3.931 MB / 0.7566 GB, free: 131.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/1.31, allocations: 102 kB / 0.7567 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/1.31, allocations: 104.4 kB / 0.7568 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.739e-05/1.31, allocations: 183.6 kB / 0.757 GB, free: 131.3 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/1.31, allocations: 177.9 kB / 0.7571 GB, free: 131.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-05/1.31, allocations: 180 kB / 0.7573 GB, free: 130.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-05/1.31, allocations: 182.6 kB / 0.7575 GB, free: 130.8 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/1.311, allocations: 1.15 MB / 0.7586 GB, free: 129.9 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.312, allocations: 0.8977 MB / 0.7595 GB, free: 129.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004389/1.313, allocations: 179.3 kB / 0.7596 GB, free: 129.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/1.314, allocations: 105.2 kB / 0.7597 GB, free: 129 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/1.314, allocations: 184.4 kB / 0.7599 GB, free: 128.8 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/1.314, allocations: 105.4 kB / 0.76 GB, free: 128.7 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.009978/1.324, allocations: 6.481 MB / 0.7664 GB, free: 128.4 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.383e-06/1.324, allocations: 0 / 0.7664 GB, free: 128.4 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.004455/1.328, allocations: 1.059 MB / 0.7674 GB, free: 128.3 MB / 0.5262 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 () * 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.0001158/1.328, allocations: 168 kB / 0.7675 GB, free: 128.1 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.002544/1.331, allocations: 1.596 MB / 0.7691 GB, free: 128.1 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.331, allocations: 3.938 kB / 0.7691 GB, free: 128.1 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/1.331, allocations: 1.156 kB / 0.7691 GB, free: 128.1 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01574/1.347, allocations: 3.262 MB / 0.7723 GB, free: 127.5 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02774/1.374, allocations: 12.62 MB / 0.7846 GB, free: 124.7 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008272/1.383, allocations: 5.457 MB / 0.79 GB, free: 123.8 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.008001/1.391, allocations: 2.095 MB / 0.792 GB, free: 123.7 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009437/1.392, allocations: 397.2 kB / 0.7924 GB, free: 123.7 MB / 0.5262 GB Notification: Performance of SimCode: time 1.061e-06/1.392, allocations: 3.594 kB / 0.7924 GB, free: 123.7 MB / 0.5262 GB Notification: Performance of Templates: time 0.1273/1.519, allocations: 74.25 MB / 0.8649 GB, free: 78.29 MB / 0.5262 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches