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.001198/0.001199, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009617/0.0009615, allocations: 97.92 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4206/0.4206, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 64.17 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3237, allocations: 62.01 MB / 0.5151 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.04064/0.3644, allocations: 55.87 MB / 0.5697 GB, free: 13.77 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02786/0.3923, allocations: 10.43 MB / 0.5799 GB, free: 6.82 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01293/0.4053, allocations: 248.1 kB / 0.5801 GB, free: 6.777 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005043/0.4104, allocations: 2.69 MB / 0.5827 GB, free: 4.156 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.4128, allocations: 0.9614 MB / 0.5837 GB, free: 3.191 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.4134, allocations: 251.6 kB / 0.5839 GB, free: 2.945 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.4157, allocations: 2.564 MB / 0.5864 GB, free: 388 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/0.4181, allocations: 2.499 MB / 0.5889 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.4192, allocations: 0.899 MB / 0.5897 GB, free: 12.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004027/0.4232, allocations: 3.546 MB / 0.5932 GB, free: 9.391 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004219/0.4237, allocations: 164 kB / 0.5934 GB, free: 9.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.4244, allocations: 267.7 kB / 0.5936 GB, free: 8.969 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002171/0.4266, allocations: 2.981 MB / 0.5965 GB, free: 5.977 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002535/0.4291, allocations: 3.302 MB / 0.5998 GB, free: 2.648 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007605/0.4367, allocations: 8.397 MB / 0.608 GB, free: 10.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4368, allocations: 0 / 0.608 GB, free: 10.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4368, allocations: 0 / 0.608 GB, free: 10.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000271/0.4371, allocations: 0 / 0.608 GB, free: 10.22 MB / 426.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.01537/0.4524, allocations: 8.765 MB / 0.6165 GB, free: 1.348 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.4525, allocations: 16.03 kB / 0.6165 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.4541, allocations: 0.9666 MB / 0.6175 GB, free: 360 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008106/0.4623, allocations: 3.733 MB / 0.6211 GB, free: 12.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.4624, allocations: 131.3 kB / 0.6212 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.4626, allocations: 163.9 kB / 0.6214 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008953/0.4716, allocations: 6.604 MB / 0.6279 GB, free: 5.477 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.4717, allocations: 11.88 kB / 0.6279 GB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.4719, allocations: 75.94 kB / 0.6279 GB, free: 5.391 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002257/0.4742, allocations: 1.557 MB / 0.6295 GB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009882/0.4841, allocations: 4.133 MB / 0.6335 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03161/0.5157, allocations: 20.41 MB / 0.6534 GB, free: 11.01 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.5173, allocations: 338.2 kB / 0.6537 GB, free: 10.67 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.5174, allocations: 69.14 kB / 0.6538 GB, free: 10.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005453/0.5228, allocations: 3.252 MB / 0.657 GB, free: 6.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.138e-05/0.5229, allocations: 109.8 kB / 0.6571 GB, free: 6.863 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 2.455e-06/0.523, allocations: 0 / 0.6571 GB, free: 6.863 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.001044/0.524, allocations: 0.8423 MB / 0.6579 GB, free: 6.004 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.5241, allocations: 138.6 kB / 0.658 GB, free: 5.855 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01624/0.5403, allocations: 10.54 MB / 0.6683 GB, free: 11.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.5404, allocations: 25.7 kB / 0.6684 GB, free: 11.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005588/0.546, allocations: 5.842 MB / 0.6741 GB, free: 5.449 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.5462, allocations: 87.91 kB / 0.6742 GB, free: 5.363 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008999/0.5471, allocations: 0.8174 MB / 0.675 GB, free: 4.531 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5472, allocations: 305.1 kB / 0.6752 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000992/0.5482, allocations: 0.7577 MB / 0.676 GB, free: 3.465 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4507/0.9989, allocations: 3.996 MB / 0.6799 GB, free: 123.6 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006066/1.005, allocations: 5.202 MB / 0.685 GB, free: 118.4 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001533/1.005, allocations: 40.81 kB / 0.685 GB, free: 118.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009122/1.014, allocations: 4.916 MB / 0.6898 GB, free: 116.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.067e-05/1.014, allocations: 56.47 kB / 0.6899 GB, free: 116.9 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.552e-05/1.015, allocations: 117.7 kB / 0.69 GB, free: 116.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/1.015, allocations: 158.7 kB / 0.6901 GB, free: 116.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/1.017, allocations: 0.9845 MB / 0.6911 GB, free: 116.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001568/1.017, allocations: 230.7 kB / 0.6913 GB, free: 116.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003526/1.021, allocations: 0.5981 MB / 0.6919 GB, free: 116.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/1.021, allocations: 291.1 kB / 0.6922 GB, free: 116.6 MB / 490.8 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.004651/1.026, allocations: 3.399 MB / 0.6955 GB, free: 115.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/1.027, allocations: 0.9107 MB / 0.6964 GB, free: 114.9 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/1.029, allocations: 1.022 MB / 0.6974 GB, free: 114.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.008e-05/1.029, allocations: 180.2 kB / 0.6975 GB, free: 114.4 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.339e-05/1.029, allocations: 182.8 kB / 0.6977 GB, free: 114.2 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/1.029, allocations: 176.3 kB / 0.6979 GB, free: 114 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009319/1.038, allocations: 5.146 MB / 0.7029 GB, free: 112.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.84e-05/1.038, allocations: 102.1 kB / 0.703 GB, free: 112 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/1.038, allocations: 101 kB / 0.7031 GB, free: 111.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-05/1.038, allocations: 185.2 kB / 0.7033 GB, free: 111.7 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/1.038, allocations: 180.6 kB / 0.7035 GB, free: 111.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.515e-05/1.038, allocations: 185.3 kB / 0.7036 GB, free: 111.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.472e-05/1.038, allocations: 177.5 kB / 0.7038 GB, free: 111.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/1.043, allocations: 3.476 MB / 0.7072 GB, free: 108.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.044, allocations: 0.9028 MB / 0.7081 GB, free: 108.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004951/1.045, allocations: 181.6 kB / 0.7083 GB, free: 108.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007343/1.046, allocations: 106.3 kB / 0.7084 GB, free: 107.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/1.046, allocations: 185.5 kB / 0.7085 GB, free: 107.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/1.046, allocations: 107.9 kB / 0.7086 GB, free: 107.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01658/1.062, allocations: 7.143 MB / 0.7156 GB, free: 105.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.61e-07/1.062, allocations: 0 / 0.7156 GB, free: 105.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.008734/1.071, allocations: 1.124 MB / 0.7167 GB, free: 105.2 MB / 490.8 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.0001822/1.071, allocations: 174.6 kB / 0.7169 GB, free: 105.1 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.003566/1.075, allocations: 1.876 MB / 0.7187 GB, free: 104.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.075, allocations: 0 / 0.7187 GB, free: 104.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/1.075, allocations: 0 / 0.7187 GB, free: 104.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01308/1.088, allocations: 3.239 MB / 0.7219 GB, free: 103.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/1.112, allocations: 18.84 MB / 0.7403 GB, free: 88.63 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005916/1.118, allocations: 5.282 MB / 0.7454 GB, free: 84.18 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.007597/1.126, allocations: 2.098 MB / 0.7475 GB, free: 82.07 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/1.127, allocations: 403.4 kB / 0.7479 GB, free: 81.68 MB / 490.8 MB Notification: Performance of SimCode: time 8.81e-07/1.127, allocations: 0 / 0.7479 GB, free: 81.68 MB / 490.8 MB Notification: Performance of Templates: time 0.1464/1.273, allocations: 88.74 MB / 0.8345 GB, free: 9.434 MB / 0.4949 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@2/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