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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 110.5 kB / 17.93 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 193.8 kB / 18.86 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 47.94 kB / 280.8 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1076, allocations: 46.63 MB / 327.4 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.0153/0.123, allocations: 13.98 MB / 341.4 MB, free: 6.746 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009196/0.1322, allocations: 4.203 MB / 345.6 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002542/0.1349, allocations: 55.81 kB / 345.7 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.1365, allocations: 0.6152 MB / 346.3 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.1399, allocations: 1.316 MB / 347.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009732/0.1409, allocations: 475.3 kB / 348.1 MB, free: 76 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.1446, allocations: 3.136 MB / 351.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007427/0.1454, allocations: 487.1 kB / 351.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.1465, allocations: 0.8016 MB / 352.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.1481, allocations: 1.371 MB / 353.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.1483, allocations: 132 kB / 354 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.15, allocations: 0.9632 MB / 354.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009813/0.151, allocations: 1.114 MB / 356.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.152, allocations: 1.25 MB / 357.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.1551, allocations: 3.088 MB / 360.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1551, allocations: 0 / 360.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1551, allocations: 0 / 360.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.998e-05/0.1552, allocations: 4 kB / 360.4 MB, free: 3.695 MB / 302.1 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.006368/0.1615, allocations: 3.216 MB / 363.6 MB, free: 428 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1616, allocations: 12.03 kB / 363.6 MB, free: 416 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007739/0.1694, allocations: 1.889 MB / 365.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/0.1724, allocations: 1.734 MB / 367.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-05/0.1725, allocations: 114.6 kB / 367.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008588/0.1733, allocations: 311.3 kB / 367.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.1871, allocations: 8.219 MB / 375.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.691e-05/0.1872, allocations: 31.75 kB / 375.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.1874, allocations: 79.88 kB / 376 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002024/0.1895, allocations: 1.401 MB / 377.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1612/0.3507, allocations: 9.528 MB / 386.9 MB, free: 48.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02804/0.3788, allocations: 30.61 MB / 417.5 MB, free: 24.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.389, allocations: 4.387 MB / 421.9 MB, free: 19.58 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.3912, allocations: 2.109 MB / 424 MB, free: 17.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.512e-05/0.3913, allocations: 16.34 kB / 424 MB, free: 17.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3914, allocations: 50.5 kB / 424.1 MB, free: 17.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 4.338e-06/0.3914, allocations: 0 / 424.1 MB, free: 17.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04016/0.4315, allocations: 18.34 MB / 442.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00233/0.4339, allocations: 3.224 MB / 445.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005001/0.4389, allocations: 3.002 MB / 448.7 MB, free: 8.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005458/0.4395, allocations: 41.7 kB / 448.7 MB, free: 8.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.4411, allocations: 2.087 MB / 450.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.4422, allocations: 0.5669 MB / 451.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002295/0.4445, allocations: 1.016 MB / 452.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4446, allocations: 305.1 kB / 452.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003774/0.4484, allocations: 2.637 MB / 455.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00587/0.4543, allocations: 5.587 MB / 460.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/0.4643, allocations: 8.621 MB / 469.5 MB, free: 400 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.781e-05/0.4644, allocations: 28 kB / 469.5 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03085/0.4953, allocations: 11.78 MB / 481.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.4955, allocations: 52 kB / 481.4 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02203/0.5175, allocations: 7.021 MB / 488.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02123/0.5388, allocations: 4.542 MB / 492.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005281/0.5441, allocations: 1.248 MB / 494.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/0.5619, allocations: 12.54 MB / 0.4948 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00547/0.5674, allocations: 0.5771 MB / 0.4954 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/0.5687, allocations: 323.9 kB / 0.4957 GB, free: 9.637 MB / 398.1 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.00375/0.5725, allocations: 1.423 MB / 0.4971 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009327/0.5734, allocations: 256.7 kB / 0.4974 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.5745, allocations: 415.2 kB / 0.4977 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01167/0.5862, allocations: 5.017 MB / 0.5026 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.13e-05/0.5863, allocations: 8 kB / 0.5027 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/0.5863, allocations: 3.984 kB / 0.5027 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009991/0.5963, allocations: 5.359 MB / 0.5079 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.5964, allocations: 0 / 0.5079 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/0.5983, allocations: 371.7 kB / 0.5082 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008441/0.6067, allocations: 2.386 MB / 0.5106 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006319/0.6074, allocations: 55.92 kB / 0.5106 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009947/0.6174, allocations: 9.447 MB / 0.5199 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002081/0.6195, allocations: 3.083 MB / 0.5229 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/0.6376, allocations: 8.763 MB / 0.5314 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008207/0.6384, allocations: 333.6 kB / 0.5317 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/0.6395, allocations: 31.98 kB / 0.5318 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/0.6422, allocations: 319.4 kB / 0.5321 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007124/0.6429, allocations: 103.8 kB / 0.5322 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003548/0.6433, allocations: 47.97 kB / 0.5322 GB, free: 3.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003696/0.647, allocations: 1.886 MB / 0.5341 GB, free: 1.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.647, allocations: 4 kB / 0.5341 GB, free: 1.266 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00563/0.6527, allocations: 1.003 MB / 0.535 GB, free: 272 kB / 430.1 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.0008203/0.6535, allocations: 167.4 kB / 0.5352 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1824/0.8359, allocations: 7.734 MB / 0.5428 GB, free: 148.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.836, allocations: 2.625 kB / 0.5428 GB, free: 148.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006604/0.8426, allocations: 3.656 MB / 0.5463 GB, free: 146.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.8453, allocations: 311.2 kB / 0.5466 GB, free: 146.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.8581, allocations: 9.593 MB / 0.556 GB, free: 141.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/0.8599, allocations: 2.293 MB / 0.5582 GB, free: 140.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.8613, allocations: 244 kB / 0.5585 GB, free: 140.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.8613, allocations: 0 / 0.5585 GB, free: 140.4 MB / 430.1 MB Notification: Performance of Templates: time 0.275/1.136, allocations: 145.3 MB / 0.7004 GB, free: 145.5 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches