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.001077/0.001077, allocations: 201.5 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 226.5 MB / 245.4 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008097/0.0008096, allocations: 100 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.354/0.354, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003073, allocations: 12 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4196, allocations: 62.95 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.5552, allocations: 101.2 MB / 0.6172 GB, free: 4.078 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5555, allocations: 87.94 kB / 0.6173 GB, free: 3.996 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4131/0.9687, allocations: 79.6 MB / 0.695 GB, free: 89.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.9687, allocations: 0 / 0.695 GB, free: 89.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005723/0.9693, allocations: 135.2 kB / 0.6952 GB, free: 89.3 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.01667/0.986, allocations: 7.967 MB / 0.703 GB, free: 84.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.9861, allocations: 8.094 kB / 0.703 GB, free: 84.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004709/0.9908, allocations: 1.133 MB / 0.7041 GB, free: 84.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009641/1, allocations: 4.354 MB / 0.7083 GB, free: 82.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/1.001, allocations: 184.8 kB / 0.7085 GB, free: 82.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005758/1.001, allocations: 242.6 kB / 0.7087 GB, free: 82.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/1.011, allocations: 6.376 MB / 0.715 GB, free: 82.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.768e-05/1.011, allocations: 10.44 kB / 0.715 GB, free: 82.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/1.012, allocations: 110.5 kB / 0.7151 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001158/1.013, allocations: 1.012 MB / 0.7161 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008031/1.021, allocations: 3.956 MB / 0.7199 GB, free: 81.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03502/1.056, allocations: 20.05 MB / 0.7395 GB, free: 71.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/1.057, allocations: 337.7 kB / 0.7398 GB, free: 71.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/1.057, allocations: 67.39 kB / 0.7399 GB, free: 71.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005167/1.063, allocations: 3.262 MB / 0.7431 GB, free: 69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/1.063, allocations: 113.1 kB / 0.7432 GB, free: 68.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 2.464e-06/1.063, allocations: 3 kB / 0.7432 GB, free: 68.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.001073/1.064, allocations: 0.8328 MB / 0.744 GB, free: 68.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.064, allocations: 130.7 kB / 0.7441 GB, free: 68.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01636/1.08, allocations: 10.51 MB / 0.7544 GB, free: 65.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/1.08, allocations: 29.48 kB / 0.7544 GB, free: 65.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004029/1.084, allocations: 5.836 MB / 0.7601 GB, free: 60.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/1.084, allocations: 92.72 kB / 0.7602 GB, free: 60.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/1.085, allocations: 82.59 kB / 0.7603 GB, free: 60.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/1.085, allocations: 482.7 kB / 0.7608 GB, free: 60.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008484/1.086, allocations: 0.7443 MB / 0.7615 GB, free: 59.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/1.088, allocations: 3.987 MB / 0.7654 GB, free: 55.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/1.091, allocations: 5.177 MB / 0.7704 GB, free: 49.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.468e-05/1.091, allocations: 34.69 kB / 0.7705 GB, free: 49.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009326/1.101, allocations: 4.892 MB / 0.7752 GB, free: 47.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/1.101, allocations: 60.19 kB / 0.7753 GB, free: 47.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002158/1.101, allocations: 122.4 kB / 0.7754 GB, free: 47.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/1.101, allocations: 150.9 kB / 0.7756 GB, free: 47.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/1.104, allocations: 0.988 MB / 0.7765 GB, free: 47.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000128/1.104, allocations: 228.9 kB / 0.7767 GB, free: 47.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004867/1.109, allocations: 0.6016 MB / 0.7773 GB, free: 46.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006473/1.109, allocations: 288.7 kB / 0.7776 GB, free: 46.96 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.006521/1.116, allocations: 3.397 MB / 0.7809 GB, free: 45.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001758/1.118, allocations: 0.9237 MB / 0.7818 GB, free: 45.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/1.12, allocations: 1.019 MB / 0.7828 GB, free: 44.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-05/1.12, allocations: 183.3 kB / 0.783 GB, free: 43.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/1.12, allocations: 178.6 kB / 0.7832 GB, free: 43.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/1.12, allocations: 180.3 kB / 0.7833 GB, free: 43.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008163/1.128, allocations: 5.143 MB / 0.7884 GB, free: 39.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.128, allocations: 101 kB / 0.7885 GB, free: 39.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/1.128, allocations: 108.9 kB / 0.7886 GB, free: 39.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.164e-05/1.128, allocations: 176.3 kB / 0.7887 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/1.128, allocations: 180.3 kB / 0.7889 GB, free: 38.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.453e-05/1.128, allocations: 184.2 kB / 0.7891 GB, free: 38.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.536e-05/1.129, allocations: 182.3 kB / 0.7892 GB, free: 38.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.13, allocations: 1.155 MB / 0.7904 GB, free: 37.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.131, allocations: 0.9035 MB / 0.7913 GB, free: 36.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/1.131, allocations: 184.2 kB / 0.7914 GB, free: 36.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/1.132, allocations: 101 kB / 0.7915 GB, free: 36.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/1.132, allocations: 180.2 kB / 0.7917 GB, free: 35.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/1.132, allocations: 108.5 kB / 0.7918 GB, free: 35.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01025/1.142, allocations: 7.116 MB / 0.7988 GB, free: 29.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.142, allocations: 0 / 0.7988 GB, free: 29.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004563/1.147, allocations: 1.128 MB / 0.7999 GB, free: 28.85 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.0001285/1.147, allocations: 174.1 kB / 0.8 GB, free: 28.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00252/1.15, allocations: 1.853 MB / 0.8018 GB, free: 27.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.15, allocations: 0 / 0.8018 GB, free: 27.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/1.15, allocations: 352 / 0.8018 GB, free: 27.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01561/1.165, allocations: 3.246 MB / 0.805 GB, free: 24.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03024/1.196, allocations: 17.94 MB / 0.8225 GB, free: 7.777 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008669/1.204, allocations: 5.282 MB / 0.8277 GB, free: 3.887 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007434/1.212, allocations: 2.095 MB / 0.8297 GB, free: 2.418 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007655/1.213, allocations: 403.4 kB / 0.8301 GB, free: 2.023 MB / 490.7 MB Notification: Performance of SimCode: time 9.51e-07/1.213, allocations: 4 kB / 0.8301 GB, free: 2.02 MB / 490.7 MB Notification: Performance of Templates: time 0.4222/1.635, allocations: 86.15 MB / 0.9142 GB, free: 87.99 MB / 0.5261 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches