Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008886/0.0008886, allocations: 84 kB / 21.19 MB, free: 3.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008835/0.0008835, allocations: 145.1 kB / 24.54 MB, free: 44 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9558/0.9558, allocations: 173.3 MB / 201.1 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.534e-05, allocations: 6.312 kB / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.006175/0.0062, allocations: 6.817 MB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004767/0.01097, allocations: 3.041 MB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008127/0.01178, allocations: 39.81 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.0131, allocations: 0.708 MB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.01565, allocations: 1.482 MB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000772/0.01642, allocations: 0.5612 MB / 280.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00327/0.01969, allocations: 3.716 MB / 284.4 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.02089, allocations: 0.6778 MB / 285 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.02275, allocations: 1.313 MB / 286.4 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.02458, allocations: 1.594 MB / 288 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003946/0.02498, allocations: 136 kB / 288.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.02628, allocations: 0.9124 MB / 289 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008229/0.0271, allocations: 1.169 MB / 290.2 MB, free: 148 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1141/0.1412, allocations: 0.6852 MB / 290.9 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004163/0.1454, allocations: 2.919 MB / 293.8 MB, free: 18.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1454, allocations: 1.125 kB / 293.8 MB, free: 18.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1454, allocations: 0 / 293.8 MB, free: 18.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001433/0.1455, allocations: 5.5 kB / 293.8 MB, free: 18.59 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.008155/0.1537, allocations: 3.583 MB / 297.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1537, allocations: 10.56 kB / 297.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005923/0.1597, allocations: 2.3 MB / 299.7 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.162, allocations: 1.424 MB / 301.1 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.668e-05/0.1621, allocations: 107.8 kB / 301.2 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006914/0.1628, allocations: 295.3 kB / 301.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008524/0.1713, allocations: 5.232 MB / 306.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.661e-05/0.1714, allocations: 31.69 kB / 306.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/0.1716, allocations: 76.61 kB / 306.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00127/0.1729, allocations: 1.398 MB / 308.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007243/0.1801, allocations: 4.376 MB / 312.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02048/0.2006, allocations: 34.16 MB / 346.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005877/0.2065, allocations: 2.635 MB / 349.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.2077, allocations: 0.772 MB / 350.2 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.503e-05/0.2077, allocations: 20 kB / 350.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.2078, allocations: 56.59 kB / 350.2 MB, free: 5.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 3.817e-06/0.2078, allocations: 0 / 350.2 MB, free: 5.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.03216/0.24, allocations: 12.32 MB / 362.6 MB, free: 9.414 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002176/0.2421, allocations: 3.952 MB / 366.5 MB, free: 5.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00445/0.2466, allocations: 2.663 MB / 369.2 MB, free: 2.473 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006001/0.2472, allocations: 44.75 kB / 369.2 MB, free: 2.426 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00169/0.2489, allocations: 2.303 MB / 371.5 MB, free: 144 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009983/0.2499, allocations: 0.6134 MB / 372.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/0.2513, allocations: 1.063 MB / 373.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2515, allocations: 483 kB / 373.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.2528, allocations: 0.8021 MB / 374.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/0.2562, allocations: 5.187 MB / 379.7 MB, free: 5.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00521/0.2614, allocations: 6.562 MB / 386.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.072e-05/0.2614, allocations: 28 kB / 386.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0175/0.2789, allocations: 7.932 MB / 394.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.279, allocations: 48 kB / 394.2 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01086/0.2899, allocations: 4.321 MB / 398.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01138/0.3012, allocations: 3.76 MB / 402.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/0.3045, allocations: 1.255 MB / 403.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008208/0.3127, allocations: 9.004 MB / 412.6 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004082/0.3168, allocations: 0.6821 MB / 413.3 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006941/0.3175, allocations: 319 kB / 413.6 MB, free: 1.508 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (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 (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001281/0.3188, allocations: 0.539 MB / 414.1 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/0.3193, allocations: 275.9 kB / 414.4 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.3196, allocations: 348.7 kB / 414.7 MB, free: 348 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005336/0.325, allocations: 2.494 MB / 417.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/0.325, allocations: 7.938 kB / 417.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.325, allocations: 7.984 kB / 417.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005314/0.3303, allocations: 3.742 MB / 421 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.3303, allocations: 3.938 kB / 421 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009761/0.3313, allocations: 363.4 kB / 421.3 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003947/0.3353, allocations: 1.596 MB / 422.9 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004055/0.3357, allocations: 47.08 kB / 423 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1227/0.4584, allocations: 8.241 MB / 431.2 MB, free: 116.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001283/0.4596, allocations: 3.783 MB / 435 MB, free: 113.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009773/0.4694, allocations: 4.162 MB / 439.2 MB, free: 112.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006753/0.4701, allocations: 265.2 kB / 439.4 MB, free: 112.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/0.4705, allocations: 35.06 kB / 439.4 MB, free: 112.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.4722, allocations: 380 kB / 439.8 MB, free: 112.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004104/0.4726, allocations: 122.1 kB / 439.9 MB, free: 112.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/0.4728, allocations: 49.23 kB / 440 MB, free: 112.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001664/0.4744, allocations: 1.143 MB / 441.1 MB, free: 112.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4744, allocations: 0 / 441.1 MB, free: 112.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004029/0.4785, allocations: 1.162 MB / 442.3 MB, free: 112.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004558/0.4789, allocations: 194.4 kB / 442.5 MB, free: 112.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006489/0.4854, allocations: 4.356 MB / 446.8 MB, free: 111.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4854, allocations: 2 kB / 446.8 MB, free: 111.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003268/0.4887, allocations: 2.313 MB / 449.1 MB, free: 110.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.4904, allocations: 317.3 kB / 449.5 MB, free: 110.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007396/0.4978, allocations: 6.06 MB / 455.5 MB, free: 107.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.4985, allocations: 0.7905 MB / 456.3 MB, free: 107.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00243/0.5009, allocations: 1.313 MB / 457.6 MB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/0.5015, allocations: 195.8 kB / 457.8 MB, free: 106.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5015, allocations: 4 kB / 457.8 MB, free: 106.7 MB / 378.7 MB Notification: Performance of Templates: time 0.04474/0.5462, allocations: 46.88 MB / 0.4929 GB, free: 61.25 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.081000509206206]