Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009091/0.0009091, allocations: 76.81 kB / 22.29 MB, free: 2.191 MB / 18.57 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.0008899/0.0008899, allocations: 158.9 kB / 25.69 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8603/0.8603, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.382e-05, allocations: 6.25 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005112/0.005126, allocations: 6.64 MB / 258.2 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004187/0.009313, allocations: 3.103 MB / 261.3 MB, free: 13.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.009732, allocations: 39.81 kB / 261.3 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009615/0.01069, allocations: 0.704 MB / 262 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.01255, allocations: 1.482 MB / 263.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.01317, allocations: 0.5729 MB / 264.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002648/0.01582, allocations: 3.732 MB / 267.8 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008253/0.01664, allocations: 0.7168 MB / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.01789, allocations: 1.317 MB / 269.8 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.01924, allocations: 1.528 MB / 271.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.01948, allocations: 140 kB / 271.5 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.02056, allocations: 0.8929 MB / 272.4 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006454/0.02121, allocations: 1.188 MB / 273.6 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.02168, allocations: 0.6812 MB / 274.3 MB, free: 440 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.02359, allocations: 2.922 MB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.02359, allocations: 8 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.02359, allocations: 0 / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.02362, allocations: 0 / 277.2 MB, free: 13.49 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.003093/0.02671, allocations: 2.795 MB / 280 MB, free: 10.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.02675, allocations: 11.98 kB / 280 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/0.02959, allocations: 0.9489 MB / 281 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.03087, allocations: 1.236 MB / 282.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.03093, allocations: 107 kB / 282.3 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005433/0.03147, allocations: 303.2 kB / 282.6 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004583/0.03605, allocations: 3.938 MB / 286.5 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/0.0361, allocations: 27.75 kB / 286.6 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.03626, allocations: 83.89 kB / 286.6 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/0.03729, allocations: 1.202 MB / 287.8 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004802/0.04209, allocations: 3.149 MB / 291 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01364/0.05573, allocations: 22.86 MB / 313.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/0.05999, allocations: 1.841 MB / 315.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.06054, allocations: 0.5238 MB / 316.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.768e-05/0.0606, allocations: 19.94 kB / 316.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.06063, allocations: 58.48 kB / 316.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 2.836e-06/0.06063, allocations: 0 / 316.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.01499/0.07562, allocations: 6.287 MB / 322.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001141/0.07676, allocations: 2.828 MB / 325.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.07835, allocations: 2.367 MB / 327.8 MB, free: 8.941 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.07847, allocations: 41.89 kB / 327.8 MB, free: 8.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009565/0.07942, allocations: 2.051 MB / 329.9 MB, free: 6.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.07981, allocations: 0.5892 MB / 330.5 MB, free: 6.227 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008892/0.0807, allocations: 0.9219 MB / 331.4 MB, free: 5.293 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.08076, allocations: 305.1 kB / 331.7 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.08204, allocations: 0.8522 MB / 332.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002602/0.08464, allocations: 3.679 MB / 336.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/0.0888, allocations: 5.056 MB / 341.3 MB, free: 8.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.269e-05/0.08883, allocations: 28 kB / 341.3 MB, free: 8.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.009634/0.09846, allocations: 4.553 MB / 345.8 MB, free: 3.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.09851, allocations: 55.98 kB / 345.9 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006584/0.1051, allocations: 1.696 MB / 347.6 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/0.1121, allocations: 0.9725 MB / 348.6 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1106/0.2227, allocations: 1.047 MB / 349.6 MB, free: 89.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005507/0.2282, allocations: 5.814 MB / 355.4 MB, free: 84.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/0.2315, allocations: 240.2 kB / 355.7 MB, free: 84.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/0.2318, allocations: 275.6 kB / 355.9 MB, free: 84.66 MB / 330.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.0008706/0.2327, allocations: 0.5049 MB / 356.4 MB, free: 84.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.233, allocations: 158.9 kB / 356.6 MB, free: 84.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.2333, allocations: 342.3 kB / 356.9 MB, free: 84.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002973/0.2362, allocations: 1.248 MB / 358.2 MB, free: 84.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.2362, allocations: 7.375 kB / 358.2 MB, free: 84.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2363, allocations: 3.516 kB / 358.2 MB, free: 84.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.2392, allocations: 2.521 MB / 360.7 MB, free: 84.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2392, allocations: 0 / 360.7 MB, free: 84.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/0.2399, allocations: 174.7 kB / 360.9 MB, free: 84.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002683/0.2426, allocations: 0.8566 MB / 361.7 MB, free: 83.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.2427, allocations: 40.78 kB / 361.8 MB, free: 83.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.2452, allocations: 5.574 MB / 367.3 MB, free: 79.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005727/0.2458, allocations: 2.666 MB / 370 MB, free: 76.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/0.2497, allocations: 2.649 MB / 372.7 MB, free: 75.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.25, allocations: 249.2 kB / 372.9 MB, free: 75.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.2502, allocations: 34.89 kB / 372.9 MB, free: 75.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/0.251, allocations: 21.52 kB / 373 MB, free: 75.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.2512, allocations: 110.3 kB / 373.1 MB, free: 75.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.2514, allocations: 41.47 kB / 373.1 MB, free: 75.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006399/0.252, allocations: 0.8435 MB / 374 MB, free: 75.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.252, allocations: 3.656 kB / 374 MB, free: 75.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002565/0.2546, allocations: 1.163 MB / 375.1 MB, free: 75.67 MB / 330.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.0003502/0.2549, allocations: 180.3 kB / 375.3 MB, free: 75.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003579/0.2585, allocations: 3.298 MB / 378.6 MB, free: 73.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.483e-05/0.2586, allocations: 59.94 kB / 378.7 MB, free: 73.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.2603, allocations: 1.473 MB / 380.1 MB, free: 72.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.2615, allocations: 422.8 kB / 380.5 MB, free: 72.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.2663, allocations: 5.506 MB / 386 MB, free: 67.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.2668, allocations: 0.7933 MB / 386.8 MB, free: 66.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008804/0.2677, allocations: 383.1 kB / 387.2 MB, free: 65.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/0.2685, allocations: 423.4 kB / 387.6 MB, free: 65.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2685, allocations: 0 / 387.6 MB, free: 65.52 MB / 330.7 MB Notification: Performance of Templates: time 0.04193/0.3105, allocations: 48.4 MB / 436 MB, free: 17.11 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.634718506131321]