Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 172.4 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008499/0.0008499, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.88e-05/2.882e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.5086, allocations: 88.36 MB / 458.4 MB, free: 5.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/0.5091, allocations: 83.95 kB / 458.5 MB, free: 4.996 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1377/0.6468, allocations: 52.69 MB / 0.4992 GB, free: 1.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6469, allocations: 0 / 0.4992 GB, free: 1.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001078/0.647, allocations: 56 kB / 0.4992 GB, free: 1.207 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.006296/0.6533, allocations: 2.451 MB / 0.5016 GB, free: 14.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.6534, allocations: 12.03 kB / 0.5016 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009042/0.6624, allocations: 1.958 MB / 0.5036 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004777/0.6672, allocations: 1.415 MB / 0.5049 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.6675, allocations: 233.9 kB / 0.5052 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008733/0.6684, allocations: 307.8 kB / 0.5055 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/0.6907, allocations: 8.953 MB / 0.5142 GB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/0.6909, allocations: 59.47 kB / 0.5143 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004747/0.6914, allocations: 151.9 kB / 0.5144 GB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001424/0.6928, allocations: 0.8125 MB / 0.5152 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/0.7127, allocations: 7.147 MB / 0.5222 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.295/1.008, allocations: 38.38 MB / 0.5597 GB, free: 76.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02256/1.03, allocations: 5.353 MB / 0.5649 GB, free: 76.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/1.032, allocations: 0.933 MB / 0.5658 GB, free: 76.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005871/1.038, allocations: 3.687 MB / 0.5694 GB, free: 74.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/1.038, allocations: 57.61 kB / 0.5694 GB, free: 74.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=111): time 4.619e-06/1.038, allocations: 5.594 kB / 0.5695 GB, free: 74.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=111): time 0.03583/1.074, allocations: 8.205 MB / 0.5775 GB, free: 74.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/1.074, allocations: 194.6 kB / 0.5776 GB, free: 73.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/1.078, allocations: 2.683 MB / 0.5803 GB, free: 73.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/1.078, allocations: 42.33 kB / 0.5803 GB, free: 73.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/1.079, allocations: 2.429 MB / 0.5827 GB, free: 72.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/1.079, allocations: 0.4901 MB / 0.5832 GB, free: 71.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/1.079, allocations: 107.3 kB / 0.5833 GB, free: 71.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002327/1.08, allocations: 0.5301 MB / 0.5838 GB, free: 71.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/1.081, allocations: 1.46 MB / 0.5852 GB, free: 71.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003799/1.085, allocations: 5.012 MB / 0.5901 GB, free: 66.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/1.088, allocations: 2.709 MB / 0.5927 GB, free: 66.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-05/1.089, allocations: 36.34 kB / 0.5928 GB, free: 66.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.008257/1.097, allocations: 6.159 MB / 0.5988 GB, free: 64.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.309e-05/1.097, allocations: 64.45 kB / 0.5989 GB, free: 64.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/1.097, allocations: 129.7 kB / 0.599 GB, free: 64.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/1.097, allocations: 189 kB / 0.5992 GB, free: 64.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/1.102, allocations: 1.516 MB / 0.6006 GB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001445/1.102, allocations: 247 kB / 0.6009 GB, free: 64.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/1.106, allocations: 0.7531 MB / 0.6016 GB, free: 63.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000434/1.106, allocations: 345.5 kB / 0.6019 GB, free: 63.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],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 (681): * Single equations (assignments): 678 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005759/1.107, allocations: 0.5267 MB / 0.6025 GB, free: 63.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/1.107, allocations: 249.2 kB / 0.6027 GB, free: 62.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/1.108, allocations: 0.7414 MB / 0.6034 GB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/1.108, allocations: 13.12 kB / 0.6034 GB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.108, allocations: 7.062 kB / 0.6034 GB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.108, allocations: 3.797 kB / 0.6034 GB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00508/1.113, allocations: 3.224 MB / 0.6066 GB, free: 61.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.113, allocations: 3.953 kB / 0.6066 GB, free: 61.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002372/1.116, allocations: 475.7 kB / 0.607 GB, free: 61.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.116, allocations: 11.56 kB / 0.6071 GB, free: 61.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.46e-05/1.116, allocations: 35.09 kB / 0.6071 GB, free: 61.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/1.116, allocations: 3.562 kB / 0.6071 GB, free: 61.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.116, allocations: 5.312 kB / 0.6071 GB, free: 61.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/1.118, allocations: 2.644 MB / 0.6097 GB, free: 59.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/1.119, allocations: 308.2 kB / 0.61 GB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/1.119, allocations: 36.12 kB / 0.61 GB, free: 59.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008444/1.12, allocations: 51.41 kB / 0.6101 GB, free: 59.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/1.12, allocations: 57.89 kB / 0.6101 GB, free: 58.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.217e-05/1.12, allocations: 36.8 kB / 0.6101 GB, free: 58.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00236/1.123, allocations: 1.806 MB / 0.6119 GB, free: 57.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.123, allocations: 0 / 0.6119 GB, free: 57.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003858/1.126, allocations: 0.8441 MB / 0.6127 GB, free: 56.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003772/1.127, allocations: 174.5 kB / 0.6129 GB, free: 56.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00441/1.131, allocations: 3.355 MB / 0.6162 GB, free: 53.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.131, allocations: 4 kB / 0.6162 GB, free: 53.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006847/1.132, allocations: 0.6144 MB / 0.6168 GB, free: 52.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/1.133, allocations: 233.8 kB / 0.617 GB, free: 52.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009353/1.143, allocations: 6.23 MB / 0.6231 GB, free: 47.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/1.145, allocations: 2.454 MB / 0.6255 GB, free: 45.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003671/1.148, allocations: 1.643 MB / 0.6271 GB, free: 44.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/1.149, allocations: 186.8 kB / 0.6273 GB, free: 43.98 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/1.149, allocations: 4 kB / 0.6273 GB, free: 43.98 MB / 410.7 MB Notification: Performance of Templates: time 0.03815/1.187, allocations: 20.38 MB / 0.6472 GB, free: 24.03 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches