Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 84 kB / 21.43 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004968/0.004968, allocations: 147.1 kB / 24.68 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8489/0.8489, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.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.|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.",fileNamePrefix="Modelica_4.0.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.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.|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.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.382e-05, allocations: 6.219 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005042/0.005066, allocations: 6.202 MB / 325.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.008483, allocations: 2.932 MB / 328.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/0.008894, allocations: 35.88 kB / 328.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.01011, allocations: 0.6767 MB / 329.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.01242, allocations: 1.481 MB / 331 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.01296, allocations: 0.5495 MB / 331.6 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002198/0.01516, allocations: 3.713 MB / 335.3 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005666/0.01573, allocations: 0.6817 MB / 336 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009767/0.01671, allocations: 1.305 MB / 337.3 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.01825, allocations: 1.594 MB / 338.9 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.01841, allocations: 136 kB / 339 MB, free: 2.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009993/0.01941, allocations: 0.9163 MB / 339.9 MB, free: 1.543 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.02001, allocations: 1.169 MB / 341.1 MB, free: 376 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004714/0.02048, allocations: 0.689 MB / 341.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002797/0.02328, allocations: 4.111 MB / 345.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.02328, allocations: 0 / 345.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02328, allocations: 0 / 345.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.583e-05/0.02331, allocations: 0 / 345.9 MB, free: 11.55 MB / 314.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.003743/0.02705, allocations: 3.316 MB / 349.2 MB, free: 8.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.0271, allocations: 12.03 kB / 349.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/0.03125, allocations: 1.961 MB / 351.2 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.0334, allocations: 1.532 MB / 352.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.03347, allocations: 111 kB / 352.8 MB, free: 4.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005708/0.03404, allocations: 315.4 kB / 353.1 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00842/0.04246, allocations: 8.242 MB / 361.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/0.04252, allocations: 43.7 kB / 361.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.04269, allocations: 75.89 kB / 361.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001224/0.04392, allocations: 1.397 MB / 362.9 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.05445, allocations: 9.62 MB / 372.5 MB, free: 284 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02059/0.07505, allocations: 29.34 MB / 401.8 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006331/0.08138, allocations: 3.978 MB / 405.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.08304, allocations: 2.081 MB / 407.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/0.0831, allocations: 11.94 kB / 407.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.08313, allocations: 50.55 kB / 407.9 MB, free: 11.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.517e-06/0.08313, allocations: 0 / 407.9 MB, free: 11.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.02628/0.1094, allocations: 18.29 MB / 426.2 MB, free: 9.492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001535/0.1109, allocations: 2.99 MB / 429.2 MB, free: 6.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/0.1141, allocations: 2.999 MB / 432.2 MB, free: 3.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.1142, allocations: 41.7 kB / 432.3 MB, free: 3.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009203/0.1151, allocations: 2.167 MB / 434.4 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/0.1156, allocations: 0.5854 MB / 435 MB, free: 396 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.1166, allocations: 1.008 MB / 436 MB, free: 15.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.567e-05/0.1167, allocations: 309.1 kB / 436.3 MB, free: 15.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002814/0.1195, allocations: 2.672 MB / 439 MB, free: 12.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004111/0.1236, allocations: 5.635 MB / 444.6 MB, free: 5.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1532/0.2768, allocations: 8.674 MB / 453.3 MB, free: 113.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.233e-05/0.2769, allocations: 33.7 kB / 453.3 MB, free: 113.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0156/0.2925, allocations: 11.85 MB / 465.2 MB, free: 110.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.2925, allocations: 52 kB / 465.2 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01021/0.3027, allocations: 7.087 MB / 472.3 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009687/0.3124, allocations: 4.538 MB / 476.9 MB, free: 98.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.3144, allocations: 1.255 MB / 478.1 MB, free: 97.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007868/0.3222, allocations: 11.92 MB / 490.1 MB, free: 85.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.3248, allocations: 0.664 MB / 490.7 MB, free: 84.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.3251, allocations: 319.9 kB / 491 MB, free: 84.5 MB / 410.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.001179/0.3263, allocations: 1.421 MB / 492.4 MB, free: 83.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.3265, allocations: 243.8 kB / 492.7 MB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.3268, allocations: 388.7 kB / 493.1 MB, free: 82.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005523/0.3323, allocations: 4.996 MB / 498.1 MB, free: 77.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3323, allocations: 4 kB / 498.1 MB, free: 77.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3323, allocations: 15.91 kB / 498.1 MB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.3363, allocations: 4.661 MB / 0.491 GB, free: 72.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3363, allocations: 4 kB / 0.491 GB, free: 72.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008123/0.3371, allocations: 375.4 kB / 0.4913 GB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003737/0.3408, allocations: 2.386 MB / 0.4937 GB, free: 70.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.341, allocations: 47.94 kB / 0.4937 GB, free: 70.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/0.3452, allocations: 8.909 MB / 0.5024 GB, free: 60.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00069/0.3459, allocations: 2.816 MB / 0.5051 GB, free: 57.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007815/0.3537, allocations: 8.751 MB / 0.5137 GB, free: 49.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.354, allocations: 271.1 kB / 0.514 GB, free: 48.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.3542, allocations: 31.98 kB / 0.514 GB, free: 48.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.3553, allocations: 379.3 kB / 0.5143 GB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.3555, allocations: 115.5 kB / 0.5145 GB, free: 48.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/0.3556, allocations: 50 kB / 0.5145 GB, free: 48.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001296/0.3569, allocations: 1.762 MB / 0.5162 GB, free: 46.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3569, allocations: 0 / 0.5162 GB, free: 46.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002554/0.3595, allocations: 1.159 MB / 0.5174 GB, free: 45.49 MB / 410.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.0003568/0.3598, allocations: 194.7 kB / 0.5175 GB, free: 45.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005732/0.3656, allocations: 6.956 MB / 0.5243 GB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3656, allocations: 0.5469 kB / 0.5243 GB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00275/0.3683, allocations: 3.271 MB / 0.5275 GB, free: 34.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.3695, allocations: 278.9 kB / 0.5278 GB, free: 34.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006126/0.3756, allocations: 8.133 MB / 0.5357 GB, free: 26.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.3766, allocations: 1.729 MB / 0.5374 GB, free: 24.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006265/0.3773, allocations: 236.4 kB / 0.5376 GB, free: 24.54 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3773, allocations: 0 / 0.5376 GB, free: 24.54 MB / 410.7 MB Notification: Performance of Templates: time 0.2063/0.5836, allocations: 147.5 MB / 0.6817 GB, free: 91.99 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.476177612319589]