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.001124/0.001124, allocations: 84.98 kB / 23 MB, free: 1.504 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.001243/0.001243, allocations: 171.5 kB / 26.39 MB, free: 7.992 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.9727/0.9727, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.913e-06/1.913e-06, allocations: 0 / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.428e-05, allocations: 10.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.006004/0.006028, allocations: 6.633 MB / 258.9 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00452/0.01055, allocations: 3.011 MB / 261.9 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009329/0.01148, allocations: 39.81 kB / 262 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.01279, allocations: 0.6963 MB / 262.6 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.01523, allocations: 1.486 MB / 264.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/0.01601, allocations: 0.5613 MB / 264.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003547/0.01955, allocations: 3.74 MB / 268.4 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.02079, allocations: 0.6817 MB / 269.1 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.02275, allocations: 1.317 MB / 270.4 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.02471, allocations: 1.598 MB / 272 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000485/0.02519, allocations: 136 kB / 272.2 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.02653, allocations: 0.9124 MB / 273.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.02767, allocations: 1.176 MB / 274.3 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007632/0.02844, allocations: 0.6929 MB / 274.9 MB, free: 480 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.03133, allocations: 2.922 MB / 277.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.03134, allocations: 0 / 277.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.03134, allocations: 0 / 277.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.959e-05/0.0314, allocations: 0 / 277.9 MB, free: 13.54 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.004734/0.03613, allocations: 3.243 MB / 281.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.03617, allocations: 15.98 kB / 281.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004811/0.04098, allocations: 1.287 MB / 282.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.04294, allocations: 1.321 MB / 283.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.694e-05/0.04302, allocations: 111 kB / 283.8 MB, free: 7.469 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007323/0.04376, allocations: 299.3 kB / 284.1 MB, free: 7.176 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007913/0.05167, allocations: 4.402 MB / 288.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.381e-05/0.05173, allocations: 31.73 kB / 288.6 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.05198, allocations: 83.88 kB / 288.7 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001481/0.05346, allocations: 1.198 MB / 289.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007774/0.06124, allocations: 3.22 MB / 293.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02729/0.08853, allocations: 32.73 MB / 325.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006552/0.09508, allocations: 1.834 MB / 327.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009859/0.09607, allocations: 0.6593 MB / 328.3 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.068e-05/0.09613, allocations: 23.98 kB / 328.3 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.09617, allocations: 57.27 kB / 328.4 MB, free: 9.012 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 4.208e-06/0.09617, allocations: 0 / 328.4 MB, free: 9.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.02093/0.1171, allocations: 7.224 MB / 335.6 MB, free: 1.672 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00189/0.119, allocations: 3.886 MB / 339.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.1213, allocations: 2.67 MB / 342.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003355/0.1216, allocations: 45.7 kB / 342.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.1227, allocations: 2.318 MB / 344.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008997/0.1236, allocations: 0.6205 MB / 345.1 MB, free: 7.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.1247, allocations: 1.088 MB / 346.2 MB, free: 6.668 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1248, allocations: 484.7 kB / 346.7 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.1259, allocations: 0.7278 MB / 347.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1466/0.2725, allocations: 5.136 MB / 352.6 MB, free: 88.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02072/0.2932, allocations: 6.439 MB / 359 MB, free: 83.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001239/0.2933, allocations: 35.41 kB / 359 MB, free: 83.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02715/0.3205, allocations: 5.195 MB / 364.2 MB, free: 82.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.3206, allocations: 47 kB / 364.3 MB, free: 82.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008354/0.3289, allocations: 1.871 MB / 366.1 MB, free: 82.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008057/0.337, allocations: 0.9905 MB / 367.1 MB, free: 81.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.3397, allocations: 1.056 MB / 368.2 MB, free: 81.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005926/0.3457, allocations: 8.032 MB / 376.2 MB, free: 73.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/0.3497, allocations: 238.2 kB / 376.5 MB, free: 73.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000738/0.3504, allocations: 275.3 kB / 376.7 MB, free: 73.55 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.001093/0.3515, allocations: 0.5394 MB / 377.3 MB, free: 73.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/0.3526, allocations: 274.2 kB / 377.5 MB, free: 73.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.3531, allocations: 347.6 kB / 377.9 MB, free: 72.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003823/0.3569, allocations: 1.438 MB / 379.3 MB, free: 71.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3569, allocations: 8.75 kB / 379.3 MB, free: 71.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.3569, allocations: 11.81 kB / 379.3 MB, free: 71.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/0.3609, allocations: 3.07 MB / 382.4 MB, free: 69.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.3609, allocations: 2.875 kB / 382.4 MB, free: 69.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/0.3617, allocations: 179.8 kB / 382.6 MB, free: 69.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002873/0.3646, allocations: 0.728 MB / 383.3 MB, free: 68.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.3647, allocations: 51.94 kB / 383.4 MB, free: 68.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002912/0.3676, allocations: 7.812 MB / 391.2 MB, free: 60.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007464/0.3683, allocations: 3.724 MB / 394.9 MB, free: 56.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004643/0.373, allocations: 3.05 MB / 397.9 MB, free: 53.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.3733, allocations: 264.7 kB / 398.2 MB, free: 53.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.3735, allocations: 35.92 kB / 398.2 MB, free: 53.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/0.3744, allocations: 24 kB / 398.3 MB, free: 53.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.3746, allocations: 111.5 kB / 398.4 MB, free: 53.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.652e-05/0.3747, allocations: 43.97 kB / 398.4 MB, free: 53.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007055/0.3754, allocations: 1.083 MB / 399.5 MB, free: 52.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.3754, allocations: 0 / 399.5 MB, free: 52.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002835/0.3782, allocations: 1.162 MB / 400.7 MB, free: 50.98 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.0003264/0.3785, allocations: 191.4 kB / 400.8 MB, free: 50.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00478/0.3833, allocations: 3.721 MB / 404.6 MB, free: 47.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3833, allocations: 0 / 404.6 MB, free: 47.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.3856, allocations: 1.792 MB / 406.4 MB, free: 45.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.3868, allocations: 314.7 kB / 406.7 MB, free: 44.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00523/0.392, allocations: 5.994 MB / 412.7 MB, free: 38.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.3926, allocations: 0.7933 MB / 413.4 MB, free: 38.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009043/0.3935, allocations: 383.7 kB / 413.8 MB, free: 37.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/0.3942, allocations: 462 kB / 414.3 MB, free: 37.21 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3942, allocations: 0 / 414.3 MB, free: 37.21 MB / 330.7 MB Notification: Performance of Templates: time 0.04664/0.4409, allocations: 49.64 MB / 463.9 MB, free: 3.406 MB / 346.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: 4.334517376031727]