Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.001126/0.001126, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001611/0.002738, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001116/0.001116, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002474, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.944/0.944, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08694/1.031, allocations: 53.64 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] 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.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.689e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007138/0.007155, allocations: 6.711 MB / 251.2 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00525/0.0124, allocations: 3.149 MB / 254.4 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/0.01307, allocations: 43.75 kB / 254.4 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009645/0.01403, allocations: 0.6885 MB / 255.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.01622, allocations: 1.416 MB / 256.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.01693, allocations: 0.5029 MB / 257 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.0199, allocations: 3.732 MB / 260.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009938/0.0209, allocations: 0.5066 MB / 261.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.02241, allocations: 1.525 MB / 262.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.02389, allocations: 1.5 MB / 264.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.02422, allocations: 136 kB / 264.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.02552, allocations: 0.9164 MB / 265.4 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000666/0.02619, allocations: 1.044 MB / 266.4 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005842/0.02677, allocations: 0.5372 MB / 266.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.029, allocations: 2.63 MB / 269.6 MB, free: 5.191 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.02902, allocations: 4 kB / 269.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02902, allocations: 0 / 269.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.657e-05/0.0291, allocations: 0 / 269.6 MB, free: 5.188 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.003662/0.03277, allocations: 3.32 MB / 272.9 MB, free: 1.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.0328, allocations: 8.031 kB / 272.9 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.03565, allocations: 1.035 MB / 273.9 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1027/0.1383, allocations: 1.174 MB / 275.1 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.1384, allocations: 110.2 kB / 275.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006255/0.1391, allocations: 289.6 kB / 275.5 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.1447, allocations: 3.927 MB / 279.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/0.1448, allocations: 37.61 kB / 279.5 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.145, allocations: 76.2 kB / 279.5 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001214/0.1462, allocations: 1.212 MB / 280.7 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005614/0.1518, allocations: 3.084 MB / 283.8 MB, free: 17.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.1648, allocations: 22.84 MB / 306.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/0.1689, allocations: 1.8 MB / 308.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/0.1695, allocations: 0.5268 MB / 309 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.1695, allocations: 20 kB / 309 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1696, allocations: 50.58 kB / 309.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 3.877e-06/0.1696, allocations: 0 / 309.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=136): time 0.01497/0.1845, allocations: 6.181 MB / 315.2 MB, free: 7.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001238/0.1858, allocations: 2.844 MB / 318.1 MB, free: 4.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.1878, allocations: 2.337 MB / 320.4 MB, free: 2.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003015/0.1881, allocations: 45.89 kB / 320.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007981/0.1889, allocations: 2.046 MB / 322.5 MB, free: 124 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007036/0.1896, allocations: 0.5932 MB / 323.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/0.1909, allocations: 0.9141 MB / 324 MB, free: 14.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.191, allocations: 301.1 kB / 324.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.1923, allocations: 0.8561 MB / 325.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.1947, allocations: 3.684 MB / 328.9 MB, free: 8.281 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004198/0.1989, allocations: 5.044 MB / 333.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-05/0.1989, allocations: 28 kB / 333.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01021/0.2091, allocations: 4.573 MB / 338.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/0.2092, allocations: 48 kB / 338.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006397/0.2156, allocations: 1.712 MB / 340.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006356/0.2219, allocations: 0.9841 MB / 341.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/0.2248, allocations: 1.174 MB / 342.4 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005221/0.2301, allocations: 5.839 MB / 348.3 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.2327, allocations: 239.7 kB / 348.5 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004466/0.2332, allocations: 268 kB / 348.8 MB, free: 2.426 MB / 314.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.0009331/0.2341, allocations: 0.5039 MB / 349.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006568/0.2347, allocations: 160.9 kB / 349.4 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.2351, allocations: 340.7 kB / 349.7 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003056/0.2382, allocations: 1.251 MB / 351 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.2382, allocations: 4 kB / 351 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.2382, allocations: 3.984 kB / 351 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.2417, allocations: 2.499 MB / 353.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.2417, allocations: 0 / 353.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/0.2426, allocations: 207.7 kB / 353.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.2429, allocations: 243.9 kB / 353.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002724/0.2456, allocations: 0.8586 MB / 354.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/0.2458, allocations: 47.94 kB / 354.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003638/0.2494, allocations: 5.574 MB / 360.4 MB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009811/0.2504, allocations: 2.674 MB / 363.1 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004833/0.2552, allocations: 2.659 MB / 365.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/0.2556, allocations: 31.98 kB / 365.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008177/0.2565, allocations: 27.83 kB / 365.8 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/0.2567, allocations: 107.7 kB / 365.9 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.2568, allocations: 39.97 kB / 366 MB, free: 432 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000845/0.2576, allocations: 0.8291 MB / 366.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2576, allocations: 4 kB / 366.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002862/0.2605, allocations: 1.144 MB / 367.9 MB, free: 14.43 MB / 346.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.0004016/0.2609, allocations: 170.1 kB / 368.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004454/0.2654, allocations: 3.305 MB / 371.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001072/0.2655, allocations: 68.67 kB / 371.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.2673, allocations: 1.462 MB / 372.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.2687, allocations: 0.6143 MB / 373.6 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00745/0.2762, allocations: 5.488 MB / 379 MB, free: 3.086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.2768, allocations: 0.7954 MB / 379.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001073/0.2779, allocations: 386.8 kB / 380.2 MB, free: 1.895 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008354/0.2788, allocations: 417.2 kB / 380.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2788, allocations: 0 / 380.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of Templates: time 0.1852/0.4639, allocations: 48.37 MB / 429 MB, free: 111.7 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.7471192087978125]