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.001499/0.001499, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001603/0.001603, allocations: 145.1 kB / 24.54 MB, free: 36 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.985/0.985, allocations: 173.3 MB / 201.1 MB, free: 8.977 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 2.164e-06/2.164e-06, allocations: 0 / 268 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.19e-05, allocations: 6.25 kB / 268 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.006124/0.006156, allocations: 6.821 MB / 274.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004547/0.0107, allocations: 3.045 MB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005217/0.01122, allocations: 39.81 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.01237, allocations: 0.708 MB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.01454, allocations: 1.478 MB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.01523, allocations: 0.5574 MB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.0182, allocations: 3.724 MB / 284.4 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007374/0.01894, allocations: 0.67 MB / 285 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.02023, allocations: 1.305 MB / 286.3 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.02165, allocations: 1.598 MB / 287.9 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.02184, allocations: 143.9 kB / 288.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.02287, allocations: 0.9046 MB / 289 MB, free: 1.203 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009357/0.0238, allocations: 1.184 MB / 290.2 MB, free: 16 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1259/0.1497, allocations: 0.6741 MB / 290.8 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004597/0.1543, allocations: 2.91 MB / 293.8 MB, free: 18.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1543, allocations: 0.7656 kB / 293.8 MB, free: 18.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1543, allocations: 0.8438 kB / 293.8 MB, free: 18.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000137/0.1545, allocations: 0 / 293.8 MB, free: 18.55 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.007094/0.1616, allocations: 3.592 MB / 297.4 MB, free: 17.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1616, allocations: 10.8 kB / 297.4 MB, free: 17.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00539/0.167, allocations: 2.299 MB / 299.7 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.1694, allocations: 1.379 MB / 301 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.1695, allocations: 116.6 kB / 301.2 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006356/0.1701, allocations: 292.6 kB / 301.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007552/0.1776, allocations: 5.227 MB / 306.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.619e-05/0.1777, allocations: 29.69 kB / 306.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.1779, allocations: 80.05 kB / 306.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/0.1792, allocations: 1.403 MB / 308.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007407/0.1866, allocations: 4.376 MB / 312.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02239/0.209, allocations: 34.15 MB / 346.7 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00598/0.215, allocations: 2.633 MB / 349.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.216, allocations: 0.7761 MB / 350.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.435e-05/0.2161, allocations: 19.98 kB / 350.1 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.2161, allocations: 61.06 kB / 350.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 4.689e-06/0.2161, allocations: 0 / 350.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.02385/0.2399, allocations: 12.32 MB / 362.5 MB, free: 9.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001705/0.2416, allocations: 3.954 MB / 366.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.2445, allocations: 2.663 MB / 369.1 MB, free: 2.586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.2446, allocations: 44.59 kB / 369.2 MB, free: 2.539 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.2458, allocations: 2.3 MB / 371.5 MB, free: 260 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005657/0.2463, allocations: 0.611 MB / 372.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.2475, allocations: 1.06 MB / 373.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.2476, allocations: 484.7 kB / 373.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.2489, allocations: 0.8029 MB / 374.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003213/0.2521, allocations: 5.191 MB / 379.6 MB, free: 6.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005191/0.2573, allocations: 6.566 MB / 386.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.232e-05/0.2574, allocations: 36 kB / 386.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01647/0.2738, allocations: 7.922 MB / 394.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.208e-05/0.2739, allocations: 52.97 kB / 394.2 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01114/0.285, allocations: 4.313 MB / 398.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/0.2964, allocations: 3.76 MB / 402.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.2993, allocations: 1.26 MB / 403.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007887/0.3072, allocations: 8.999 MB / 412.5 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/0.3107, allocations: 0.6894 MB / 413.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004607/0.3112, allocations: 315.9 kB / 413.5 MB, free: 1.621 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.001133/0.3123, allocations: 0.5389 MB / 414.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.3128, allocations: 285.5 kB / 414.3 MB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.3131, allocations: 344.7 kB / 414.7 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005231/0.3183, allocations: 2.494 MB / 417.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.3184, allocations: 11.94 kB / 417.2 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3184, allocations: 3.984 kB / 417.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004865/0.3232, allocations: 3.736 MB / 420.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.3232, allocations: 7.984 kB / 420.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/0.3242, allocations: 359.4 kB / 421.3 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004099/0.3283, allocations: 1.596 MB / 422.9 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.3285, allocations: 43.08 kB / 422.9 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1428/0.4712, allocations: 8.24 MB / 431.2 MB, free: 116.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001184/0.4724, allocations: 3.78 MB / 434.9 MB, free: 112.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008981/0.4814, allocations: 4.163 MB / 439.1 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.4825, allocations: 265.8 kB / 439.4 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005754/0.4831, allocations: 33.81 kB / 439.4 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.4846, allocations: 383.2 kB / 439.8 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/0.4849, allocations: 118.7 kB / 439.9 MB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.4851, allocations: 49.58 kB / 439.9 MB, free: 112.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00166/0.4867, allocations: 1.146 MB / 441.1 MB, free: 111.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4867, allocations: 0 / 441.1 MB, free: 111.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004075/0.4908, allocations: 1.158 MB / 442.2 MB, free: 111.9 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.0005634/0.4914, allocations: 193.8 kB / 442.4 MB, free: 111.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006411/0.4978, allocations: 4.361 MB / 446.8 MB, free: 111 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4978, allocations: 0 / 446.8 MB, free: 111 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002813/0.5006, allocations: 2.314 MB / 449.1 MB, free: 110.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.5023, allocations: 326.8 kB / 449.4 MB, free: 110.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/0.5097, allocations: 6.06 MB / 455.5 MB, free: 107.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.5103, allocations: 0.7946 MB / 456.3 MB, free: 107.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00193/0.5123, allocations: 1.316 MB / 457.6 MB, free: 106.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005755/0.5128, allocations: 190.6 kB / 457.8 MB, free: 106.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.104e-06/0.5128, allocations: 4 kB / 457.8 MB, free: 106.5 MB / 378.7 MB Notification: Performance of Templates: time 0.04426/0.5571, allocations: 45.86 MB / 0.4918 GB, free: 62.14 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.255403634160757]