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.001428/0.001428, allocations: 78.28 kB / 21.42 MB, free: 3.07 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.001416/0.001416, allocations: 152.7 kB / 24.8 MB, free: 9.273 MB / 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.999/0.999, allocations: 173.4 MB / 201.4 MB, free: 9.246 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.492e-06/1.492e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.453e-05, allocations: 2.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007307/0.007332, allocations: 6.63 MB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004958/0.01229, allocations: 3.002 MB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005726/0.01286, allocations: 39.88 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.01403, allocations: 0.7041 MB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.01634, allocations: 1.478 MB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009344/0.01728, allocations: 0.5651 MB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003102/0.02038, allocations: 3.731 MB / 284.6 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.02138, allocations: 0.6739 MB / 285.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.02293, allocations: 1.305 MB / 286.5 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.02488, allocations: 1.606 MB / 288.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.02517, allocations: 136 kB / 288.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.02642, allocations: 0.9046 MB / 289.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008611/0.02729, allocations: 1.18 MB / 290.4 MB, free: 184 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1203/0.1476, allocations: 0.6776 MB / 291 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.151, allocations: 2.919 MB / 294 MB, free: 18.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.151, allocations: 0 / 294 MB, free: 18.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.151, allocations: 0 / 294 MB, free: 18.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001087/0.1511, allocations: 1.531 kB / 294 MB, free: 18.65 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.005079/0.1562, allocations: 3.235 MB / 297.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1562, allocations: 11.94 kB / 297.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00393/0.1601, allocations: 1.282 MB / 298.5 MB, free: 17.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.1619, allocations: 1.284 MB / 299.8 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.162, allocations: 110.3 kB / 299.9 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005654/0.1625, allocations: 292.3 kB / 300.2 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006085/0.1686, allocations: 4.403 MB / 304.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.1687, allocations: 33.44 kB / 304.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/0.1689, allocations: 76.64 kB / 304.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/0.17, allocations: 1.205 MB / 305.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005674/0.1756, allocations: 3.217 MB / 309.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/0.1944, allocations: 32.72 MB / 341.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/0.1991, allocations: 1.835 MB / 343.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007299/0.1998, allocations: 0.6538 MB / 344.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.836e-05/0.1998, allocations: 20 kB / 344.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.1999, allocations: 52.77 kB / 344.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 4.278e-06/0.1999, allocations: 4 kB / 344.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.01792/0.2178, allocations: 7.188 MB / 351.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001673/0.2195, allocations: 3.896 MB / 355.5 MB, free: 1.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.2218, allocations: 2.638 MB / 358.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.222, allocations: 45.88 kB / 358.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.2233, allocations: 2.325 MB / 360.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005154/0.2238, allocations: 0.6236 MB / 361.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.2249, allocations: 1.076 MB / 362.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.225, allocations: 485.9 kB / 362.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.2262, allocations: 0.7318 MB / 363.4 MB, free: 9.777 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/0.2294, allocations: 5.136 MB / 368.5 MB, free: 2.758 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/0.2343, allocations: 6.431 MB / 374.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.215e-05/0.2344, allocations: 28 kB / 375 MB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01225/0.2466, allocations: 5.208 MB / 380.2 MB, free: 5.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.2467, allocations: 52 kB / 380.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007398/0.2541, allocations: 1.868 MB / 382.1 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007467/0.2616, allocations: 0.9853 MB / 383.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/0.2645, allocations: 1.06 MB / 384.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/0.271, allocations: 8.049 MB / 392.2 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003799/0.2748, allocations: 235.7 kB / 392.4 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005413/0.2754, allocations: 277.1 kB / 392.7 MB, free: 8.258 MB / 346.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 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],body1.sphereColor[1],body1.sphereColor[2],body1.sphereColor[3],body2.sphereColor[1],body2.sphereColor[2],body2.sphereColor[3]) * 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.001557/0.2769, allocations: 0.5434 MB / 393.2 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/0.2774, allocations: 278.4 kB / 393.5 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.2778, allocations: 344.7 kB / 393.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00367/0.2814, allocations: 1.446 MB / 395.3 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.2815, allocations: 4 kB / 395.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.2815, allocations: 3.984 kB / 395.3 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.2857, allocations: 3.052 MB / 398.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.2857, allocations: 0 / 398.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007288/0.2864, allocations: 179.8 kB / 398.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002895/0.2893, allocations: 0.7344 MB / 399.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.2895, allocations: 43.94 kB / 399.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004418/0.2939, allocations: 7.819 MB / 407.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001497/0.2954, allocations: 3.735 MB / 410.9 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/0.3009, allocations: 3.039 MB / 413.9 MB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006488/0.3016, allocations: 254.1 kB / 414.2 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.3019, allocations: 31.98 kB / 414.2 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/0.3028, allocations: 27.94 kB / 414.2 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/0.3031, allocations: 115.5 kB / 414.3 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.3032, allocations: 43.95 kB / 414.4 MB, free: 1.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001599/0.3048, allocations: 1.066 MB / 415.4 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3048, allocations: 0 / 415.4 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00362/0.3084, allocations: 1.16 MB / 416.6 MB, free: 15.56 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.000521/0.3089, allocations: 188.9 kB / 416.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005228/0.3142, allocations: 3.714 MB / 420.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3142, allocations: 0 / 420.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002473/0.3166, allocations: 1.793 MB / 422.3 MB, free: 9.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.3181, allocations: 313 kB / 422.6 MB, free: 9.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0078/0.3259, allocations: 5.99 MB / 428.6 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.3271, allocations: 0.7891 MB / 429.4 MB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001543/0.3286, allocations: 375.8 kB / 429.7 MB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009184/0.3295, allocations: 458 kB / 430.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3295, allocations: 0 / 430.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of Templates: time 0.1616/0.4912, allocations: 48.15 MB / 478.3 MB, free: 88.34 MB / 378.7 MB " [Timeout remaining time 660] 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: 3.8921248419210315]