Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002348/0.002348, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001108, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.465e-05, allocations: 8 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.0993, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4257/0.5251, allocations: 87.15 MB / 456.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5254, allocations: 79.52 kB / 456.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2717/0.7971, allocations: 60.22 MB / 0.5044 GB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7971, allocations: 7.938 kB / 0.5045 GB, free: 11.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001372/0.7973, allocations: 44 kB / 0.5045 GB, free: 11.25 MB / 394.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.02732/0.8246, allocations: 3.448 MB / 0.5079 GB, free: 7.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.8247, allocations: 12.03 kB / 0.5079 GB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02077/0.8455, allocations: 2.344 MB / 0.5102 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01991/0.8654, allocations: 4.891 MB / 0.5149 GB, free: 448 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003043/0.8658, allocations: 168.4 kB / 0.5151 GB, free: 276 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/0.8675, allocations: 227.8 kB / 0.5153 GB, free: 48 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02927/0.8968, allocations: 8.483 MB / 0.5236 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00016/0.897, allocations: 55.52 kB / 0.5237 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006688/0.8977, allocations: 115.9 kB / 0.5238 GB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001885/0.8996, allocations: 0.7302 MB / 0.5245 GB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3082/1.208, allocations: 9.446 MB / 0.5337 GB, free: 102.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07258/1.28, allocations: 37.84 MB / 0.5706 GB, free: 78.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02951/1.31, allocations: 4.029 MB / 0.5746 GB, free: 77.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007124/1.317, allocations: 2.195 MB / 0.5767 GB, free: 76.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/1.317, allocations: 10.53 kB / 0.5767 GB, free: 76.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/1.318, allocations: 55.45 kB / 0.5768 GB, free: 76.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 6.943e-06/1.318, allocations: 0 / 0.5768 GB, free: 76.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.1085/1.426, allocations: 14.52 MB / 0.591 GB, free: 72.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003922/1.43, allocations: 3.049 MB / 0.5939 GB, free: 69.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009757/1.44, allocations: 2.644 MB / 0.5965 GB, free: 68.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008504/1.441, allocations: 43.56 kB / 0.5966 GB, free: 68.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003047/1.444, allocations: 2.062 MB / 0.5986 GB, free: 66.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001693/1.446, allocations: 0.5587 MB / 0.5991 GB, free: 66.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/1.447, allocations: 98.56 kB / 0.5992 GB, free: 66.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008481/1.448, allocations: 0.5151 MB / 0.5997 GB, free: 65.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01238/1.46, allocations: 2.298 MB / 0.602 GB, free: 65.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0144/1.474, allocations: 5.192 MB / 0.607 GB, free: 60.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02535/1.5, allocations: 3.372 MB / 0.6103 GB, free: 59.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002552/1.5, allocations: 31.56 kB / 0.6104 GB, free: 59.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.05299/1.553, allocations: 9.18 MB / 0.6193 GB, free: 52.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/1.553, allocations: 55.98 kB / 0.6194 GB, free: 52.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01957/1.573, allocations: 4.656 MB / 0.6239 GB, free: 49.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0159/1.589, allocations: 2.342 MB / 0.6262 GB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007297/1.596, allocations: 1.168 MB / 0.6274 GB, free: 46.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/1.607, allocations: 8.116 MB / 0.6353 GB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008292/1.615, allocations: 0.5738 MB / 0.6358 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008355/1.616, allocations: 301.6 kB / 0.6361 GB, free: 37.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (578): * Single equations (assignments): 563 * 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.001012/1.617, allocations: 467.2 kB / 0.6366 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006477/1.618, allocations: 264.6 kB / 0.6368 GB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/1.619, allocations: 415.5 kB / 0.6372 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01894/1.638, allocations: 4.562 MB / 0.6417 GB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.206e-05/1.638, allocations: 4 kB / 0.6417 GB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/1.638, allocations: 11.92 kB / 0.6417 GB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/1.652, allocations: 5.332 MB / 0.6469 GB, free: 26.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/1.652, allocations: 7.812 kB / 0.6469 GB, free: 26.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00324/1.655, allocations: 279.5 kB / 0.6472 GB, free: 26.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01577/1.671, allocations: 2.373 MB / 0.6495 GB, free: 23.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007232/1.672, allocations: 45.05 kB / 0.6495 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/1.685, allocations: 8.834 MB / 0.6582 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002112/1.687, allocations: 2.884 MB / 0.661 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0275/1.715, allocations: 8.098 MB / 0.6689 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.716, allocations: 337.5 kB / 0.6692 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/1.717, allocations: 31.98 kB / 0.6692 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00438/1.722, allocations: 268.4 kB / 0.6695 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008902/1.723, allocations: 107.8 kB / 0.6696 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002734/1.723, allocations: 46 kB / 0.6696 GB, free: 2.129 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004183/1.727, allocations: 1.837 MB / 0.6714 GB, free: 292 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.727, allocations: 0 / 0.6714 GB, free: 292 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.00655/1.734, allocations: 0.9433 MB / 0.6724 GB, free: 15.34 MB / 426.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 () * 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.0009422/1.735, allocations: 173.3 kB / 0.6725 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01954/1.754, allocations: 6.691 MB / 0.6791 GB, free: 8.367 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.754, allocations: 0 / 0.6791 GB, free: 8.367 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01127/1.766, allocations: 3.401 MB / 0.6824 GB, free: 4.824 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.768, allocations: 282.9 kB / 0.6827 GB, free: 4.555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2992/2.068, allocations: 7.727 MB / 0.6902 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005101/2.073, allocations: 2.36 MB / 0.6925 GB, free: 106.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002095/2.075, allocations: 232.5 kB / 0.6927 GB, free: 106.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/2.075, allocations: 0 / 0.6927 GB, free: 106.6 MB / 426.7 MB Notification: Performance of Templates: time 0.1968/2.272, allocations: 132.7 MB / 0.8224 GB, free: 14.97 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches