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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001923, allocations: 207.8 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2551/0.2551, allocations: 46.95 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 75.88 kB / 0.4966 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3522, allocations: 66.09 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01245/0.3646, allocations: 9.065 MB / 0.57 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00738/0.372, allocations: 2.942 MB / 0.5729 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.3736, allocations: 79.62 kB / 0.573 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00525/0.3788, allocations: 2.601 MB / 0.5755 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.3815, allocations: 1.121 MB / 0.5766 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.3822, allocations: 271.5 kB / 0.5769 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002156/0.3844, allocations: 1.513 MB / 0.5783 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.3866, allocations: 1.905 MB / 0.5802 GB, free: 392 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.3878, allocations: 0.9304 MB / 0.5811 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00462/0.3924, allocations: 3.325 MB / 0.5844 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004306/0.3928, allocations: 191.9 kB / 0.5845 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007036/0.3935, allocations: 267.8 kB / 0.5848 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002574/0.3961, allocations: 3.009 MB / 0.5877 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002483/0.3986, allocations: 2.261 MB / 0.5899 GB, free: 6.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.4102, allocations: 9.944 MB / 0.5996 GB, free: 12.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.4102, allocations: 0 / 0.5996 GB, free: 12.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.4102, allocations: 0 / 0.5996 GB, free: 12.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000482/0.4107, allocations: 4 kB / 0.5997 GB, free: 12.37 MB / 446.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.01762/0.4283, allocations: 9.043 MB / 0.6085 GB, free: 3.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4283, allocations: 8.031 kB / 0.6085 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.4297, allocations: 1.024 MB / 0.6095 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006878/0.4366, allocations: 3.747 MB / 0.6132 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.4367, allocations: 123.4 kB / 0.6133 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.4369, allocations: 175.7 kB / 0.6134 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00917/0.4461, allocations: 6.608 MB / 0.6199 GB, free: 7.305 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.4461, allocations: 7.938 kB / 0.6199 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.4463, allocations: 79.92 kB / 0.62 GB, free: 7.219 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001737/0.448, allocations: 1.564 MB / 0.6215 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007129/0.4552, allocations: 4.129 MB / 0.6255 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02836/0.4835, allocations: 18 MB / 0.6431 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.4852, allocations: 340.4 kB / 0.6434 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.4853, allocations: 56.83 kB / 0.6435 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00494/0.4903, allocations: 1.823 MB / 0.6453 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.901e-05/0.4903, allocations: 109.8 kB / 0.6454 GB, free: 12.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.933e-06/0.4903, allocations: 3.938 kB / 0.6454 GB, free: 12.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001142/0.4915, allocations: 0.867 MB / 0.6462 GB, free: 12.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/0.4916, allocations: 126.7 kB / 0.6463 GB, free: 11.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01732/0.5089, allocations: 10.68 MB / 0.6568 GB, free: 1.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.5089, allocations: 25.7 kB / 0.6568 GB, free: 1.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00594/0.5149, allocations: 5.981 MB / 0.6626 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.515, allocations: 99.89 kB / 0.6627 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.516, allocations: 0.8183 MB / 0.6635 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5162, allocations: 313 kB / 0.6638 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.5173, allocations: 0.7577 MB / 0.6646 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00387/0.5212, allocations: 4.003 MB / 0.6685 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005827/0.527, allocations: 5.197 MB / 0.6736 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-05/0.5271, allocations: 36 kB / 0.6736 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008526/0.5356, allocations: 4.956 MB / 0.6784 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-05/0.5357, allocations: 64.92 kB / 0.6785 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/0.5358, allocations: 116 kB / 0.6786 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.536, allocations: 156 kB / 0.6788 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/0.5384, allocations: 0.9786 MB / 0.6797 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001897/0.5386, allocations: 227.1 kB / 0.6799 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004137/0.5427, allocations: 0.6088 MB / 0.6805 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/0.543, allocations: 288 kB / 0.6808 GB, free: 5.246 MB / 0.5137 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 () * 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.005904/0.5489, allocations: 3.409 MB / 0.6841 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/0.5504, allocations: 0.9562 MB / 0.6851 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.5522, allocations: 1.01 MB / 0.686 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8e-05/0.5523, allocations: 188.2 kB / 0.6862 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.383e-05/0.5523, allocations: 184.3 kB / 0.6864 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-05/0.5524, allocations: 184.2 kB / 0.6866 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005887/0.5583, allocations: 3.786 MB / 0.6903 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.691e-05/0.5584, allocations: 105 kB / 0.6904 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.881e-05/0.5584, allocations: 108.9 kB / 0.6905 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.583e-05/0.5585, allocations: 180.3 kB / 0.6906 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/0.5586, allocations: 180.2 kB / 0.6908 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.681e-05/0.5586, allocations: 184.2 kB / 0.691 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.417e-05/0.5587, allocations: 176.3 kB / 0.6912 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.56, allocations: 1.199 MB / 0.6923 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/0.5616, allocations: 0.87 MB / 0.6932 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000481/0.5621, allocations: 180.3 kB / 0.6934 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/0.5629, allocations: 101 kB / 0.6934 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.563, allocations: 180.2 kB / 0.6936 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.563, allocations: 109 kB / 0.6937 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01151/0.5745, allocations: 7.097 MB / 0.7007 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5745, allocations: 0 / 0.7007 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004551/0.5791, allocations: 1.149 MB / 0.7018 GB, free: 15.59 MB / 0.545 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 () * 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.000227/0.5793, allocations: 166.5 kB / 0.7019 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003074/0.5824, allocations: 1.812 MB / 0.7037 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5824, allocations: 0 / 0.7037 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.5824, allocations: 3.938 kB / 0.7037 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01268/0.5951, allocations: 3.42 MB / 0.7071 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02666/0.6217, allocations: 15.9 MB / 0.7226 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006654/0.6284, allocations: 4.819 MB / 0.7273 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005806/0.6342, allocations: 2.105 MB / 0.7293 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007548/0.635, allocations: 399.4 kB / 0.7297 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/0.635, allocations: 0 / 0.7297 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of Templates: time 0.6843/1.319, allocations: 96.98 MB / 0.8244 GB, free: 64.47 MB / 0.5607 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.409799467772245]