Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.0009485/0.0009485, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001291/0.001291, allocations: 161.9 kB / 24.99 MB, free: 8.801 MB / 18.57 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 0.959/0.959, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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(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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.39e-05, allocations: 2.312 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008334/0.008358, allocations: 6.77 MB / 279.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005421/0.01378, allocations: 3.037 MB / 282.8 MB, free: 7.891 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006766/0.01445, allocations: 31.88 kB / 282.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.01596, allocations: 0.7235 MB / 283.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002955/0.01892, allocations: 1.439 MB / 285 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007126/0.01963, allocations: 0.5574 MB / 285.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.02262, allocations: 3.868 MB / 289.4 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008375/0.02346, allocations: 0.6816 MB / 290.1 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.102/0.1254, allocations: 1.288 MB / 291.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.1276, allocations: 1.592 MB / 293 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003961/0.128, allocations: 138.1 kB / 293.1 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.1294, allocations: 0.8935 MB / 294 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008585/0.1303, allocations: 1.154 MB / 295.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.1313, allocations: 0.6773 MB / 295.9 MB, free: 16.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.1343, allocations: 2.861 MB / 298.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1343, allocations: 1.375 kB / 298.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1343, allocations: 0.6562 kB / 298.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.977e-05/0.1344, allocations: 0.6562 kB / 298.7 MB, free: 15.6 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.004887/0.1393, allocations: 3.56 MB / 302.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1394, allocations: 16.94 kB / 302.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005091/0.1444, allocations: 2.416 MB / 304.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.1459, allocations: 1.378 MB / 306.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.1459, allocations: 108.6 kB / 306.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005422/0.1465, allocations: 298 kB / 306.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005855/0.1523, allocations: 5.225 MB / 311.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.513e-05/0.1524, allocations: 31.8 kB / 311.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.1526, allocations: 84.08 kB / 311.8 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001138/0.1537, allocations: 1.394 MB / 313.2 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007042/0.1608, allocations: 4.378 MB / 317.6 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02084/0.1816, allocations: 34.16 MB / 351.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005803/0.1874, allocations: 2.624 MB / 354.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009457/0.1884, allocations: 0.7677 MB / 355.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.763e-05/0.1884, allocations: 25.12 kB / 355.2 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.1885, allocations: 54.33 kB / 355.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 4.198e-06/0.1885, allocations: 0 / 355.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.03117/0.2196, allocations: 12.32 MB / 367.5 MB, free: 1.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001909/0.2216, allocations: 3.95 MB / 371.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.2248, allocations: 2.651 MB / 374.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.225, allocations: 48.2 kB / 374.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.2265, allocations: 2.294 MB / 376.5 MB, free: 7.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006675/0.2272, allocations: 0.6188 MB / 377.1 MB, free: 7.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001588/0.2288, allocations: 1.06 MB / 378.2 MB, free: 6.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2289, allocations: 476.8 kB / 378.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.2306, allocations: 0.8137 MB / 379.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004235/0.2349, allocations: 5.175 MB / 384.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006563/0.2414, allocations: 6.577 MB / 391.2 MB, free: 5.156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-05/0.2415, allocations: 32 kB / 391.2 MB, free: 5.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01854/0.26, allocations: 8.058 MB / 399.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.2601, allocations: 52 kB / 399.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01129/0.2714, allocations: 4.462 MB / 403.8 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/0.283, allocations: 3.943 MB / 407.7 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003065/0.2861, allocations: 1.259 MB / 409 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008644/0.2947, allocations: 9.044 MB / 418 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004561/0.2993, allocations: 0.6707 MB / 418.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005615/0.2999, allocations: 322.4 kB / 419 MB, free: 8.73 MB / 378.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.001236/0.3011, allocations: 0.547 MB / 419.6 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005608/0.3016, allocations: 276 kB / 419.8 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.3021, allocations: 344.7 kB / 420.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00697/0.3091, allocations: 2.49 MB / 422.7 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/0.3091, allocations: 7.938 kB / 422.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3091, allocations: 3.984 kB / 422.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005799/0.3149, allocations: 3.736 MB / 426.4 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.3149, allocations: 7.938 kB / 426.4 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.3162, allocations: 367.4 kB / 426.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005488/0.3217, allocations: 1.592 MB / 428.4 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/0.3219, allocations: 42.14 kB / 428.4 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005976/0.3278, allocations: 8.261 MB / 436.7 MB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001573/0.3294, allocations: 3.785 MB / 440.5 MB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1192/0.4486, allocations: 4.17 MB / 444.6 MB, free: 130.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006955/0.4493, allocations: 266.5 kB / 444.9 MB, free: 130.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.4496, allocations: 34.72 kB / 444.9 MB, free: 130.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.451, allocations: 379.7 kB / 445.3 MB, free: 130.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/0.4513, allocations: 112.9 kB / 445.4 MB, free: 130.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.4514, allocations: 52.77 kB / 445.5 MB, free: 130.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001577/0.453, allocations: 1.14 MB / 446.6 MB, free: 130 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.453, allocations: 0.6562 kB / 446.6 MB, free: 130 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003256/0.4563, allocations: 1.138 MB / 447.7 MB, free: 130 MB / 394.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.0004499/0.4567, allocations: 187.3 kB / 447.9 MB, free: 129.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005722/0.4624, allocations: 4.352 MB / 452.3 MB, free: 128.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4624, allocations: 2.297 kB / 452.3 MB, free: 128.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002513/0.4649, allocations: 2.318 MB / 454.6 MB, free: 128.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.4662, allocations: 312.9 kB / 454.9 MB, free: 128.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.4719, allocations: 6.043 MB / 460.9 MB, free: 125.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.4724, allocations: 0.7889 MB / 461.7 MB, free: 125.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001646/0.474, allocations: 1.317 MB / 463.1 MB, free: 125.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/0.4745, allocations: 195.4 kB / 463.2 MB, free: 125.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.4745, allocations: 0 / 463.2 MB, free: 125.3 MB / 394.7 MB Notification: Performance of Templates: time 0.04274/0.5173, allocations: 45.76 MB / 0.4971 GB, free: 83.09 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.008889637188986]