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.001558/0.001558, allocations: 178 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 74.72 kB / 262.4 MB, free: 1.695 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.68e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.0906, allocations: 47.59 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3282/0.4188, allocations: 87.94 MB / 451 MB, free: 7.852 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.4192, allocations: 84.95 kB / 451.1 MB, free: 7.809 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1328/0.552, allocations: 51.43 MB / 0.4908 GB, free: 9.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5521, allocations: 3.938 kB / 0.4908 GB, free: 9.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001327/0.5522, allocations: 59.94 kB / 0.4908 GB, free: 9.734 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.007659/0.5599, allocations: 2.453 MB / 0.4932 GB, free: 7.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.5599, allocations: 8.031 kB / 0.4932 GB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00965/0.5696, allocations: 1.961 MB / 0.4951 GB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004714/0.5744, allocations: 1.421 MB / 0.4965 GB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.5746, allocations: 96 kB / 0.4966 GB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001786/0.5764, allocations: 179.9 kB / 0.4968 GB, free: 3.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009998/0.5865, allocations: 4.22 MB / 0.5009 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.6012, allocations: 6.918 MB / 0.5077 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001663/0.6014, allocations: 59.45 kB / 0.5077 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004617/0.6019, allocations: 28 kB / 0.5078 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/0.6034, allocations: 0.7977 MB / 0.5085 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.293/0.8964, allocations: 35.99 MB / 0.5437 GB, free: 86.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.8994, allocations: 1.96 MB / 0.5456 GB, free: 85.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.9008, allocations: 0.8918 MB / 0.5465 GB, free: 85.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/0.9012, allocations: 357.3 kB / 0.5468 GB, free: 85.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.9012, allocations: 47.83 kB / 0.5469 GB, free: 85.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 4.148e-06/0.9012, allocations: 0 / 0.5469 GB, free: 85.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=119): time 0.02433/0.9255, allocations: 5.282 MB / 0.552 GB, free: 84.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.9257, allocations: 222.2 kB / 0.5522 GB, free: 84.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003806/0.9295, allocations: 2.395 MB / 0.5546 GB, free: 84.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.9297, allocations: 26.73 kB / 0.5546 GB, free: 84.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.9311, allocations: 2.455 MB / 0.557 GB, free: 83.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/0.9316, allocations: 0.5171 MB / 0.5575 GB, free: 82.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.9318, allocations: 0 / 0.5575 GB, free: 82.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002869/0.9321, allocations: 0.574 MB / 0.5581 GB, free: 82.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.9339, allocations: 1.413 MB / 0.5594 GB, free: 82.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/0.9372, allocations: 5.056 MB / 0.5644 GB, free: 77.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002901/0.9402, allocations: 2.679 MB / 0.567 GB, free: 77.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-05/0.9402, allocations: 39.41 kB / 0.567 GB, free: 77.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=732) (initialization): time 0.007877/0.9481, allocations: 5.559 MB / 0.5725 GB, free: 76.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.9482, allocations: 61.12 kB / 0.5725 GB, free: 76.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.9484, allocations: 138.6 kB / 0.5726 GB, free: 76.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.9486, allocations: 193.4 kB / 0.5728 GB, free: 76.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005051/0.9536, allocations: 1.571 MB / 0.5744 GB, free: 76.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001701/0.9538, allocations: 258.2 kB / 0.5746 GB, free: 76.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/0.9583, allocations: 0.6419 MB / 0.5752 GB, free: 76.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007282/0.959, allocations: 354.4 kB / 0.5756 GB, free: 76.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 601 * 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 (708): * Single equations (assignments): 705 * 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.0006917/0.9597, allocations: 428.8 kB / 0.576 GB, free: 75.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004337/0.9602, allocations: 235.7 kB / 0.5762 GB, free: 75.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.9613, allocations: 0.7181 MB / 0.5769 GB, free: 75.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/0.9613, allocations: 18.94 kB / 0.5769 GB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.9614, allocations: 5.406 kB / 0.5769 GB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.9614, allocations: 7.078 kB / 0.5769 GB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/0.9666, allocations: 3.101 MB / 0.58 GB, free: 74.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.9667, allocations: 0 / 0.58 GB, free: 74.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/0.9687, allocations: 392.2 kB / 0.5803 GB, free: 74.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000606/0.9694, allocations: 140.1 kB / 0.5805 GB, free: 74.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.9695, allocations: 32.39 kB / 0.5805 GB, free: 74.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.9712, allocations: 2.648 MB / 0.5831 GB, free: 71.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.9712, allocations: 0 / 0.5831 GB, free: 71.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.9738, allocations: 2.7 MB / 0.5857 GB, free: 70.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005679/0.9744, allocations: 283.5 kB / 0.586 GB, free: 70.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.9746, allocations: 20.25 kB / 0.586 GB, free: 70.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000849/0.9755, allocations: 38.7 kB / 0.5861 GB, free: 70.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.9756, allocations: 63.89 kB / 0.5861 GB, free: 70.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/0.9757, allocations: 36.83 kB / 0.5861 GB, free: 70.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002038/0.9777, allocations: 1.549 MB / 0.5877 GB, free: 69.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9777, allocations: 0 / 0.5877 GB, free: 69.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004377/0.9821, allocations: 0.7491 MB / 0.5884 GB, free: 69.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 24 (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],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[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): 87 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004088/0.9825, allocations: 165 kB / 0.5885 GB, free: 69.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004539/0.9871, allocations: 3.198 MB / 0.5917 GB, free: 68.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.9871, allocations: 6.891 kB / 0.5917 GB, free: 68.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.9885, allocations: 0.9035 MB / 0.5926 GB, free: 67.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.9898, allocations: 193.8 kB / 0.5927 GB, free: 67.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/1.001, allocations: 6.254 MB / 0.5989 GB, free: 62.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/1.003, allocations: 2.45 MB / 0.6012 GB, free: 60.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003795/1.007, allocations: 1.706 MB / 0.6029 GB, free: 59.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/1.007, allocations: 189.6 kB / 0.6031 GB, free: 59.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/1.007, allocations: 0 / 0.6031 GB, free: 59.26 MB / 410.7 MB Notification: Performance of Templates: time 0.03379/1.041, allocations: 19.13 MB / 0.6218 GB, free: 44.17 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