Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 209.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 47.94 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2435, allocations: 53.36 MB / 431.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.01023/0.2538, allocations: 7.029 MB / 438.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.2591, allocations: 2.442 MB / 441.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005025/0.2596, allocations: 43.81 kB / 441.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.2624, allocations: 1.394 MB / 442.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.2645, allocations: 1.023 MB / 443.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.2651, allocations: 267.4 kB / 443.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002608/0.2677, allocations: 2.16 MB / 445.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.2693, allocations: 1.339 MB / 447.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.2704, allocations: 0.8445 MB / 448.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.2721, allocations: 1.3 MB / 449.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.2725, allocations: 163.9 kB / 449.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.2736, allocations: 0.5811 MB / 450.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.2747, allocations: 1.18 MB / 451.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.2757, allocations: 0.9739 MB / 452.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.2805, allocations: 4.305 MB / 456.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2805, allocations: 0 / 456.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2805, allocations: 0 / 456.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.481e-05/0.2806, allocations: 4 kB / 456.6 MB, free: 13.52 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.004518/0.2851, allocations: 2.931 MB / 459.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2851, allocations: 12.03 kB / 459.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006776/0.2919, allocations: 1.793 MB / 461.4 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.2945, allocations: 1.113 MB / 462.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.2946, allocations: 147.8 kB / 462.6 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003982/0.295, allocations: 219.8 kB / 462.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/0.3148, allocations: 8.629 MB / 471.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.806e-05/0.3149, allocations: 39.64 kB / 471.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003184/0.3152, allocations: 99.89 kB / 471.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003052/0.3182, allocations: 1.671 MB / 473.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01781/0.3361, allocations: 7.167 MB / 480.4 MB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03464/0.3707, allocations: 28.51 MB / 0.497 GB, free: 7.617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02194/0.3926, allocations: 4.534 MB / 0.5014 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.3945, allocations: 1.201 MB / 0.5026 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005803/0.4003, allocations: 3.08 MB / 0.5056 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.4003, allocations: 50.83 kB / 0.5057 GB, free: 14.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.426e-06/0.4003, allocations: 0 / 0.5057 GB, free: 14.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04533/0.4457, allocations: 8.973 MB / 0.5144 GB, free: 5.637 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.4458, allocations: 191.9 kB / 0.5146 GB, free: 5.406 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.45, allocations: 2.969 MB / 0.5175 GB, free: 2.414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.4502, allocations: 41.7 kB / 0.5176 GB, free: 2.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001884/0.4521, allocations: 2.547 MB / 0.52 GB, free: 15.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006033/0.4527, allocations: 0.5119 MB / 0.5205 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/0.454, allocations: 1.1 MB / 0.5216 GB, free: 14.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4542, allocations: 337.9 kB / 0.5219 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/0.4566, allocations: 1.607 MB / 0.5235 GB, free: 12.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005342/0.4619, allocations: 5.169 MB / 0.5286 GB, free: 5.246 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008857/0.4708, allocations: 7.335 MB / 0.5357 GB, free: 12.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.637e-05/0.4709, allocations: 36 kB / 0.5358 GB, free: 12.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01028/0.4812, allocations: 6.439 MB / 0.542 GB, free: 5.648 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.565e-05/0.4812, allocations: 60 kB / 0.5421 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/0.4814, allocations: 132 kB / 0.5422 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.4815, allocations: 164 kB / 0.5424 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004606/0.4861, allocations: 1.458 MB / 0.5438 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002168/0.4864, allocations: 255 kB / 0.544 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.4894, allocations: 0.741 MB / 0.5448 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/0.4898, allocations: 348 kB / 0.5451 GB, free: 2.504 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 678 * Array equations: 3 * 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.002067/0.4919, allocations: 1.571 MB / 0.5466 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/0.4923, allocations: 238.4 kB / 0.5469 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.4927, allocations: 289.1 kB / 0.5471 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.4927, allocations: 12 kB / 0.5472 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.4928, allocations: 7.938 kB / 0.5472 GB, free: 384 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.4928, allocations: 3.984 kB / 0.5472 GB, free: 380 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2014/0.6942, allocations: 2.728 MB / 0.5498 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.6942, allocations: 2.219 kB / 0.5498 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002251/0.6964, allocations: 409.7 kB / 0.5502 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.6964, allocations: 11.42 kB / 0.5502 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.335e-05/0.6965, allocations: 37.27 kB / 0.5503 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/0.6965, allocations: 4.359 kB / 0.5503 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6965, allocations: 7.188 kB / 0.5503 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.6997, allocations: 2.791 MB / 0.553 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.7001, allocations: 214.9 kB / 0.5532 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.7003, allocations: 31.84 kB / 0.5532 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/0.7012, allocations: 35.84 kB / 0.5533 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.7013, allocations: 61 kB / 0.5533 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/0.7014, allocations: 31.94 kB / 0.5534 GB, free: 112.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001945/0.7033, allocations: 1.641 MB / 0.555 GB, free: 112.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7033, allocations: 0 / 0.555 GB, free: 112.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003435/0.7067, allocations: 0.8509 MB / 0.5558 GB, free: 112.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3]) * 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 (87): * Single equations (assignments): 84 * Array equations: 3 * 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.0002887/0.707, allocations: 167.8 kB / 0.556 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00417/0.7112, allocations: 3.49 MB / 0.5594 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.7112, allocations: 1 kB / 0.5594 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007489/0.7119, allocations: 0.6886 MB / 0.56 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.7134, allocations: 222.4 kB / 0.5602 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008705/0.7221, allocations: 7.118 MB / 0.5672 GB, free: 104.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.7238, allocations: 1.833 MB / 0.569 GB, free: 103.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002856/0.7267, allocations: 1.607 MB / 0.5706 GB, free: 102.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.727, allocations: 178.4 kB / 0.5707 GB, free: 102.4 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.727, allocations: 0 / 0.5707 GB, free: 102.4 MB / 462.1 MB Notification: Performance of Templates: time 0.03497/0.762, allocations: 20.61 MB / 0.5909 GB, free: 82.23 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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: 6.037006640806794]