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.0009158/0.0009158, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009999/0.0009999, allocations: 167.6 kB / 25.7 MB, free: 8.438 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.9096/0.9096, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.523e-06/1.523e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.227e-05, allocations: 6.25 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005639/0.005661, allocations: 6.699 MB / 258.3 MB, free: 488 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004963/0.01062, allocations: 3.099 MB / 261.4 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007605/0.01138, allocations: 39.81 kB / 261.4 MB, free: 13.33 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.0126, allocations: 0.6923 MB / 262.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.01494, allocations: 1.455 MB / 263.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.01563, allocations: 0.5651 MB / 264.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002789/0.01842, allocations: 3.735 MB / 267.9 MB, free: 6.867 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000829/0.01925, allocations: 0.7207 MB / 268.6 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.02077, allocations: 1.317 MB / 269.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.02221, allocations: 1.528 MB / 271.4 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.0224, allocations: 139.9 kB / 271.6 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.02372, allocations: 0.9321 MB / 272.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006783/0.0244, allocations: 1.18 MB / 273.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005439/0.02494, allocations: 0.689 MB / 274.4 MB, free: 336 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.02765, allocations: 2.922 MB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.02766, allocations: 0 / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02766, allocations: 0 / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.573e-05/0.02769, allocations: 0 / 277.3 MB, free: 13.39 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.00313/0.03082, allocations: 2.795 MB / 280.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.03086, allocations: 15.98 kB / 280.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/0.03382, allocations: 0.945 MB / 281 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.0352, allocations: 1.239 MB / 282.3 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.03526, allocations: 107 kB / 282.4 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005029/0.03576, allocations: 295.3 kB / 282.7 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004835/0.0406, allocations: 3.942 MB / 286.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.04064, allocations: 31.75 kB / 286.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.0408, allocations: 79.89 kB / 286.7 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000987/0.04178, allocations: 1.202 MB / 287.9 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/0.04693, allocations: 3.137 MB / 291.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/0.06368, allocations: 22.87 MB / 313.9 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004298/0.06798, allocations: 1.845 MB / 315.8 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.06858, allocations: 0.5276 MB / 316.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.06863, allocations: 16 kB / 316.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.06867, allocations: 58.44 kB / 316.4 MB, free: 4.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 3.497e-06/0.06867, allocations: 0 / 316.4 MB, free: 4.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.01561/0.08428, allocations: 6.271 MB / 322.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00121/0.08549, allocations: 2.828 MB / 325.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.08763, allocations: 2.371 MB / 327.8 MB, free: 8.855 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.08781, allocations: 45.7 kB / 327.9 MB, free: 8.805 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007804/0.08859, allocations: 2.047 MB / 329.9 MB, free: 6.734 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000474/0.08906, allocations: 0.5892 MB / 330.5 MB, free: 6.141 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.09015, allocations: 0.9179 MB / 331.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.09022, allocations: 313 kB / 331.8 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.09154, allocations: 0.8523 MB / 332.6 MB, free: 4.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/0.0947, allocations: 3.679 MB / 336.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005557/0.1003, allocations: 5.048 MB / 341.3 MB, free: 8.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.068e-05/0.1003, allocations: 36 kB / 341.4 MB, free: 8.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01407/0.1144, allocations: 4.556 MB / 345.9 MB, free: 3.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.1144, allocations: 48.94 kB / 346 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00933/0.1238, allocations: 1.699 MB / 347.7 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009495/0.1333, allocations: 0.9685 MB / 348.6 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1158/0.249, allocations: 1.093 MB / 349.7 MB, free: 89.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005428/0.2545, allocations: 5.823 MB / 355.6 MB, free: 84.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/0.2575, allocations: 236.6 kB / 355.8 MB, free: 84.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005684/0.2581, allocations: 276.6 kB / 356.1 MB, free: 84.79 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.001061/0.2591, allocations: 0.5064 MB / 356.6 MB, free: 84.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.2596, allocations: 155.2 kB / 356.7 MB, free: 84.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.2599, allocations: 342.8 kB / 357 MB, free: 84.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003306/0.2632, allocations: 1.246 MB / 358.3 MB, free: 84.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.2632, allocations: 6.094 kB / 358.3 MB, free: 84.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.2632, allocations: 11.11 kB / 358.3 MB, free: 84.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004624/0.2679, allocations: 2.511 MB / 360.8 MB, free: 84.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.2679, allocations: 0 / 360.8 MB, free: 84.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.2689, allocations: 190.6 kB / 361 MB, free: 84.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003741/0.2727, allocations: 0.8576 MB / 361.9 MB, free: 84.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001895/0.2729, allocations: 45.59 kB / 361.9 MB, free: 84.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003539/0.2764, allocations: 5.576 MB / 367.5 MB, free: 79.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007862/0.2772, allocations: 2.676 MB / 370.2 MB, free: 76.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0056/0.2828, allocations: 2.641 MB / 372.8 MB, free: 75.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.2833, allocations: 252.2 kB / 373 MB, free: 75.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/0.2836, allocations: 39.64 kB / 373.1 MB, free: 75.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.2847, allocations: 23.25 kB / 373.1 MB, free: 75.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/0.2851, allocations: 103.4 kB / 373.2 MB, free: 75.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.2853, allocations: 41.34 kB / 373.3 MB, free: 75.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000951/0.2862, allocations: 0.8492 MB / 374.1 MB, free: 75.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2862, allocations: 2.844 kB / 374.1 MB, free: 75.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003759/0.29, allocations: 1.164 MB / 375.3 MB, free: 75.8 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.0004234/0.2904, allocations: 174.5 kB / 375.4 MB, free: 75.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005202/0.2956, allocations: 3.305 MB / 378.7 MB, free: 73.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001277/0.2957, allocations: 59.94 kB / 378.8 MB, free: 73.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.2981, allocations: 1.471 MB / 380.3 MB, free: 72.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.3001, allocations: 417.5 kB / 380.7 MB, free: 72.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007119/0.3072, allocations: 5.504 MB / 386.2 MB, free: 66.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/0.308, allocations: 0.7894 MB / 387 MB, free: 66.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001523/0.3095, allocations: 383.7 kB / 387.3 MB, free: 65.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/0.3107, allocations: 427.7 kB / 387.8 MB, free: 65.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.754e-06/0.3107, allocations: 0 / 387.8 MB, free: 65.36 MB / 330.7 MB Notification: Performance of Templates: time 0.04976/0.3604, allocations: 48.42 MB / 436.2 MB, free: 16.94 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 -s gbode -gbm=radauIIA3 -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.9223280837759376]