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) 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 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_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.001128/0.001128, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001298/0.001298, allocations: 180.2 kB / 17.19 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.2 MB / 241.1 MB, free: 5.367 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 7 kB / 300.7 MB, free: 5.953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 50.42 MB / 351.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01202/0.1266, allocations: 11.88 MB / 363 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00882/0.1355, allocations: 4.038 MB / 367.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.1379, allocations: 59.81 kB / 367.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.1393, allocations: 0.5405 MB / 367.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005266/0.1446, allocations: 1.995 MB / 369.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1459, allocations: 423.3 kB / 370.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003302/0.1492, allocations: 1.741 MB / 371.8 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007929/0.15, allocations: 0.531 MB / 372.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009184/0.1509, allocations: 0.6502 MB / 373 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.1521, allocations: 0.9736 MB / 374 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.1523, allocations: 84 kB / 374 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.1538, allocations: 0.8036 MB / 374.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009132/0.1547, allocations: 0.9702 MB / 375.8 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004494/0.1551, allocations: 0.5 MB / 376.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.1581, allocations: 3.001 MB / 379.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1581, allocations: 0 / 379.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1581, allocations: 0 / 379.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.327e-05/0.1582, allocations: 0 / 379.3 MB, free: 15.38 MB / 318.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.005976/0.1642, allocations: 2.764 MB / 382.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1642, allocations: 12.03 kB / 382.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009247/0.1735, allocations: 2.262 MB / 384.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004163/0.1777, allocations: 1.796 MB / 386.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.1778, allocations: 114.6 kB / 386.3 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000968/0.1788, allocations: 299.5 kB / 386.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/0.1952, allocations: 8.617 MB / 395.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-05/0.1953, allocations: 35.66 kB / 395.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/0.1956, allocations: 83.88 kB / 395.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002127/0.1977, allocations: 1.405 MB / 396.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01848/0.2162, allocations: 9.893 MB / 406.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2063/0.4225, allocations: 30.67 MB / 437.3 MB, free: 43.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.4345, allocations: 4.505 MB / 441.8 MB, free: 42.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-05/0.4346, allocations: 13.12 kB / 441.8 MB, free: 42.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4347, allocations: 56.7 kB / 441.8 MB, free: 42.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 2.985e-06/0.4347, allocations: 0 / 441.8 MB, free: 42.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04372/0.4784, allocations: 18.84 MB / 460.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001598/0.48, allocations: 3.076 MB / 463.7 MB, free: 33.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.4835, allocations: 3.206 MB / 467 MB, free: 30.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008005/0.4844, allocations: 43.27 kB / 467 MB, free: 30.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.4857, allocations: 2.083 MB / 469.1 MB, free: 28.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001328/0.4871, allocations: 0.5635 MB / 469.6 MB, free: 27.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.4874, allocations: 99.12 kB / 469.7 MB, free: 27.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.4876, allocations: 0.5086 MB / 470.2 MB, free: 26.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003149/0.4908, allocations: 2.641 MB / 472.9 MB, free: 24.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004119/0.4949, allocations: 5.576 MB / 478.5 MB, free: 17.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004987/0.4999, allocations: 3.692 MB / 482.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-05/0.5, allocations: 32 kB / 482.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.03056/0.5306, allocations: 11.79 MB / 494 MB, free: 1.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/0.5307, allocations: 52 kB / 494 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02306/0.5538, allocations: 7.045 MB / 0.4893 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02222/0.576, allocations: 4.557 MB / 0.4938 GB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004554/0.5806, allocations: 1.236 MB / 0.495 GB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.5974, allocations: 12.07 MB / 0.5068 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005239/0.6027, allocations: 0.5836 MB / 0.5073 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009041/0.6036, allocations: 312.8 kB / 0.5076 GB, free: 7.32 MB / 382.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 (584): * Single equations (assignments): 569 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002546/0.6062, allocations: 1.418 MB / 0.509 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005999/0.6068, allocations: 252.7 kB / 0.5093 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007436/0.6075, allocations: 415.3 kB / 0.5097 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01162/0.6191, allocations: 5.018 MB / 0.5146 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.468e-05/0.6192, allocations: 4 kB / 0.5146 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-05/0.6193, allocations: 11.92 kB / 0.5146 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.6296, allocations: 5.367 MB / 0.5198 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.6296, allocations: 0 / 0.5198 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.6314, allocations: 375.3 kB / 0.5202 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008647/0.6401, allocations: 2.386 MB / 0.5225 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006507/0.6408, allocations: 47.7 kB / 0.5226 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009589/0.6504, allocations: 8.998 MB / 0.5313 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002022/0.6524, allocations: 2.926 MB / 0.5342 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/0.6698, allocations: 8.847 MB / 0.5428 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.671, allocations: 341.6 kB / 0.5432 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000851/0.6718, allocations: 31.98 kB / 0.5432 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/0.6744, allocations: 323.4 kB / 0.5435 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005058/0.6749, allocations: 103.8 kB / 0.5436 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/0.6751, allocations: 54.53 kB / 0.5437 GB, free: 1.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003641/0.6787, allocations: 2.035 MB / 0.5456 GB, free: 15.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6788, allocations: 0 / 0.5456 GB, free: 15.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005745/0.6845, allocations: 1.015 MB / 0.5466 GB, free: 14.35 MB / 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 (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006408/0.6852, allocations: 207.9 kB / 0.5468 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01368/0.6989, allocations: 7.336 MB / 0.554 GB, free: 6.695 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.699, allocations: 0 / 0.554 GB, free: 6.695 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006982/0.7059, allocations: 3.608 MB / 0.5575 GB, free: 2.941 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.7081, allocations: 288.4 kB / 0.5578 GB, free: 2.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/0.7242, allocations: 9.298 MB / 0.5669 GB, free: 9.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003385/0.7276, allocations: 2.345 MB / 0.5692 GB, free: 6.926 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004884/0.7325, allocations: 1.667 MB / 0.5708 GB, free: 5.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.7338, allocations: 199.3 kB / 0.571 GB, free: 5.055 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7339, allocations: 0 / 0.571 GB, free: 5.055 MB / 446.1 MB Notification: Performance of Templates: time 0.2385/0.9724, allocations: 43.78 MB / 0.6137 GB, free: 153.6 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches