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.001122/0.001122, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001471/0.001471, allocations: 169.9 kB / 25.33 MB, free: 8.598 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.921/0.921, allocations: 158.6 MB / 187.2 MB, free: 2.926 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 2.555e-06/2.555e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.647e-05, allocations: 2.312 kB / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008829/0.008865, allocations: 6.836 MB / 257.9 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.01386, allocations: 3.046 MB / 260.9 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006466/0.01451, allocations: 39.81 kB / 261 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.01597, allocations: 0.6963 MB / 261.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.01936, allocations: 1.49 MB / 263.2 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.02038, allocations: 0.5536 MB / 263.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004231/0.02461, allocations: 3.739 MB / 267.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009014/0.02552, allocations: 0.6779 MB / 268.1 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.02721, allocations: 1.317 MB / 269.4 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.02913, allocations: 1.598 MB / 271 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.02939, allocations: 136 kB / 271.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.03104, allocations: 0.9163 MB / 272.1 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.03206, allocations: 1.176 MB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008979/0.03296, allocations: 0.689 MB / 274 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003942/0.0369, allocations: 2.918 MB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.03691, allocations: 0 / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.03691, allocations: 0 / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.639e-05/0.03693, allocations: 0 / 276.9 MB, free: 13.59 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.006279/0.04321, allocations: 3.602 MB / 280.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.04327, allocations: 15.98 kB / 280.5 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004758/0.04803, allocations: 2.293 MB / 282.8 MB, free: 7.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.05012, allocations: 1.433 MB / 284.2 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.05019, allocations: 111 kB / 284.3 MB, free: 6.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005232/0.05072, allocations: 295.3 kB / 284.6 MB, free: 5.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006725/0.05744, allocations: 5.226 MB / 289.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-05/0.05752, allocations: 43.69 kB / 289.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/0.05773, allocations: 75.89 kB / 290 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001416/0.05914, allocations: 1.401 MB / 291.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007631/0.06677, allocations: 4.384 MB / 295.7 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.0895, allocations: 34.16 MB / 329.9 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00588/0.09538, allocations: 2.622 MB / 332.5 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009435/0.09632, allocations: 0.7726 MB / 333.3 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-05/0.09638, allocations: 27.97 kB / 333.3 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.09642, allocations: 61.27 kB / 333.4 MB, free: 3.039 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 3.166e-06/0.09642, allocations: 0 / 333.4 MB, free: 3.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.02349/0.1199, allocations: 12.38 MB / 345.8 MB, free: 6.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002241/0.1222, allocations: 3.947 MB / 349.7 MB, free: 2.266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1345/0.2566, allocations: 2.681 MB / 352.4 MB, free: 95.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000634/0.2572, allocations: 42.67 kB / 352.4 MB, free: 95.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001924/0.2592, allocations: 2.307 MB / 354.7 MB, free: 94.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008795/0.26, allocations: 0.6211 MB / 355.4 MB, free: 94.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.2613, allocations: 1.06 MB / 356.4 MB, free: 94.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.2614, allocations: 484.4 kB / 356.9 MB, free: 93.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.2628, allocations: 0.805 MB / 357.7 MB, free: 93.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.2653, allocations: 5.179 MB / 362.9 MB, free: 88.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.2705, allocations: 6.568 MB / 369.4 MB, free: 82.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.611e-05/0.2705, allocations: 30.34 kB / 369.5 MB, free: 82.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01937/0.2899, allocations: 7.922 MB / 377.4 MB, free: 79.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.29, allocations: 54.38 kB / 377.4 MB, free: 79.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01371/0.3037, allocations: 4.313 MB / 381.8 MB, free: 75.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01434/0.318, allocations: 3.759 MB / 385.5 MB, free: 71.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003642/0.3216, allocations: 1.263 MB / 386.8 MB, free: 70.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007831/0.3295, allocations: 8.989 MB / 395.8 MB, free: 61.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003903/0.3334, allocations: 0.6904 MB / 396.5 MB, free: 60.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003801/0.3338, allocations: 321.3 kB / 396.8 MB, free: 60.2 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 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * 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.0008707/0.3346, allocations: 0.5428 MB / 397.3 MB, free: 59.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/0.335, allocations: 282.6 kB / 397.6 MB, free: 59.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.3353, allocations: 340.7 kB / 397.9 MB, free: 59.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004843/0.3401, allocations: 2.505 MB / 400.4 MB, free: 56.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.3401, allocations: 4 kB / 400.4 MB, free: 56.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.3402, allocations: 7.984 kB / 400.4 MB, free: 56.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004162/0.3443, allocations: 3.753 MB / 404.2 MB, free: 52.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3443, allocations: 0 / 404.2 MB, free: 52.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008987/0.3452, allocations: 374.4 kB / 404.6 MB, free: 52.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003856/0.3491, allocations: 1.587 MB / 406.1 MB, free: 50.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.3492, allocations: 43.95 kB / 406.2 MB, free: 50.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.3528, allocations: 8.25 MB / 414.4 MB, free: 42.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008526/0.3537, allocations: 3.801 MB / 418.2 MB, free: 37.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006518/0.3602, allocations: 4.164 MB / 422.4 MB, free: 33.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005036/0.3607, allocations: 278.1 kB / 422.7 MB, free: 33.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.361, allocations: 31.98 kB / 422.7 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.3622, allocations: 391.3 kB / 423.1 MB, free: 33.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.3625, allocations: 115.7 kB / 423.2 MB, free: 32.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.3626, allocations: 51.33 kB / 423.3 MB, free: 32.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001198/0.3638, allocations: 1.165 MB / 424.4 MB, free: 31.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.3638, allocations: 4 kB / 424.4 MB, free: 31.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003264/0.3671, allocations: 1.164 MB / 425.6 MB, free: 30.56 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.0004178/0.3675, allocations: 191 kB / 425.8 MB, free: 30.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005747/0.3732, allocations: 4.359 MB / 430.1 MB, free: 25.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3732, allocations: 4 kB / 430.1 MB, free: 25.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.3758, allocations: 2.312 MB / 432.4 MB, free: 23.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.3771, allocations: 313.7 kB / 432.8 MB, free: 23.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006728/0.3838, allocations: 6.082 MB / 438.8 MB, free: 17.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.3844, allocations: 0.7933 MB / 439.6 MB, free: 16.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001868/0.3863, allocations: 1.322 MB / 440.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.3869, allocations: 192.4 kB / 441.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of SimCode: time 2.004e-06/0.3869, allocations: 4 kB / 441.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of Templates: time 0.1744/0.5613, allocations: 46.3 MB / 487.4 MB, free: 115.4 MB / 362.7 MB " [Timeout remaining time 659] 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.28689488908276]