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.001251/0.001251, allocations: 110.8 kB / 17.74 MB, free: 5.336 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.001274/0.001275, allocations: 184.5 kB / 18.67 MB, free: 4.414 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 51.91 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2926, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007534/0.3002, allocations: 6.966 MB / 408.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.3057, allocations: 3.096 MB / 411.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008665/0.3066, allocations: 35.88 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.3082, allocations: 0.6652 MB / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.3113, allocations: 1.397 MB / 413.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009931/0.3123, allocations: 495.1 kB / 414.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004274/0.3166, allocations: 3.127 MB / 417.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.3178, allocations: 447.2 kB / 417.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.3195, allocations: 0.7939 MB / 418.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.3215, allocations: 1.211 MB / 419.6 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000565/0.3221, allocations: 128 kB / 419.8 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.324, allocations: 0.9593 MB / 420.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.3253, allocations: 1.087 MB / 421.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.327, allocations: 1.227 MB / 423 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004928/0.332, allocations: 4.037 MB / 427.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.332, allocations: 4 kB / 427.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.332, allocations: 0 / 427.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001216/0.3321, allocations: 0 / 427.1 MB, free: 15.13 MB / 350.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.00701/0.3392, allocations: 3.209 MB / 430.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3392, allocations: 12.03 kB / 430.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007951/0.3472, allocations: 1.877 MB / 432.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00295/0.3502, allocations: 1.656 MB / 433.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.751e-05/0.3503, allocations: 114.6 kB / 433.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000929/0.3512, allocations: 303.5 kB / 434.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.3654, allocations: 8.226 MB / 442.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.127e-05/0.3655, allocations: 35.75 kB / 442.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.3658, allocations: 79.88 kB / 442.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/0.3679, allocations: 1.401 MB / 444 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/0.3855, allocations: 9.53 MB / 453.5 MB, free: 4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03513/0.4207, allocations: 30.54 MB / 484 MB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.4326, allocations: 4.382 MB / 488.4 MB, free: 64 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002852/0.4355, allocations: 2.109 MB / 490.5 MB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.4356, allocations: 17.05 kB / 490.6 MB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.4356, allocations: 50.5 kB / 490.6 MB, free: 13.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.567e-06/0.4356, allocations: 0 / 490.6 MB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04694/0.4826, allocations: 18.3 MB / 0.497 GB, free: 11.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002494/0.4851, allocations: 3.224 MB / 0.5001 GB, free: 7.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/0.4892, allocations: 2.99 MB / 0.503 GB, free: 4.699 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005344/0.4897, allocations: 41.7 kB / 0.5031 GB, free: 4.652 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.4911, allocations: 2.083 MB / 0.5051 GB, free: 2.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008928/0.492, allocations: 0.5671 MB / 0.5057 GB, free: 1.965 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/0.4935, allocations: 1.015 MB / 0.5067 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.4936, allocations: 301.1 kB / 0.5069 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003826/0.4974, allocations: 2.637 MB / 0.5095 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005822/0.5033, allocations: 5.577 MB / 0.515 GB, free: 6.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/0.514, allocations: 8.625 MB / 0.5234 GB, free: 12.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.363e-05/0.5141, allocations: 28 kB / 0.5234 GB, free: 12.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03265/0.5467, allocations: 11.78 MB / 0.5349 GB, free: 1.012 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/0.5469, allocations: 52 kB / 0.535 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2293/0.7762, allocations: 7.007 MB / 0.5418 GB, free: 127.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02064/0.7969, allocations: 4.537 MB / 0.5462 GB, free: 127.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003968/0.8009, allocations: 1.248 MB / 0.5475 GB, free: 127.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/0.8152, allocations: 12.54 MB / 0.5597 GB, free: 116.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005094/0.8203, allocations: 0.5803 MB / 0.5603 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/0.8214, allocations: 323.8 kB / 0.5606 GB, free: 116 MB / 462.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.002309/0.8237, allocations: 1.419 MB / 0.562 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000558/0.8243, allocations: 248.9 kB / 0.5622 GB, free: 114.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009069/0.8252, allocations: 411 kB / 0.5626 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01032/0.8355, allocations: 5.025 MB / 0.5675 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/0.8356, allocations: 4 kB / 0.5675 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/0.8356, allocations: 3.984 kB / 0.5675 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006681/0.8423, allocations: 5.355 MB / 0.5727 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.8424, allocations: 0 / 0.5727 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.844, allocations: 371.4 kB / 0.5731 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007752/0.8518, allocations: 2.386 MB / 0.5754 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004987/0.8523, allocations: 43.95 kB / 0.5755 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007357/0.8597, allocations: 9.434 MB / 0.5847 GB, free: 91.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001338/0.8611, allocations: 3.072 MB / 0.5877 GB, free: 87.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/0.8754, allocations: 8.772 MB / 0.5962 GB, free: 79.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006763/0.8761, allocations: 326.3 kB / 0.5966 GB, free: 78.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000511/0.8766, allocations: 31.98 kB / 0.5966 GB, free: 78.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/0.8787, allocations: 325.1 kB / 0.5969 GB, free: 78.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004102/0.8791, allocations: 103.8 kB / 0.597 GB, free: 78.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.8793, allocations: 54.16 kB / 0.5971 GB, free: 78.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002159/0.8814, allocations: 1.867 MB / 0.5989 GB, free: 76.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8814, allocations: 0 / 0.5989 GB, free: 76.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003937/0.8854, allocations: 1.003 MB / 0.5999 GB, free: 75.35 MB / 462.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.0004504/0.8859, allocations: 184.6 kB / 0.6 GB, free: 75.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0104/0.8963, allocations: 7.464 MB / 0.6073 GB, free: 67.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.8963, allocations: 0 / 0.6073 GB, free: 67.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005594/0.9019, allocations: 3.659 MB / 0.6109 GB, free: 63.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.9042, allocations: 312.8 kB / 0.6112 GB, free: 63.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009979/0.9142, allocations: 8.381 MB / 0.6194 GB, free: 55.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/0.9158, allocations: 2.286 MB / 0.6216 GB, free: 52.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.917, allocations: 239.3 kB / 0.6218 GB, free: 52.53 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.917, allocations: 0 / 0.6218 GB, free: 52.53 MB / 462.1 MB Notification: Performance of Templates: time 0.3408/1.258, allocations: 145.6 MB / 0.764 GB, free: 168 MB / 0.5137 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches