Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001411/0.001411, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 99.03 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.854e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3366, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.4992, allocations: 87.7 MB / 450 MB, free: 14.58 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.4996, allocations: 83.95 kB / 450.1 MB, free: 14.5 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2161/0.7157, allocations: 51.44 MB / 0.4898 GB, free: 10.69 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7158, allocations: 3.938 kB / 0.4898 GB, free: 10.69 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000133/0.7159, allocations: 56 kB / 0.4899 GB, free: 10.63 MB / 395.1 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.007619/0.7236, allocations: 2.453 MB / 0.4923 GB, free: 8.121 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.7236, allocations: 11.97 kB / 0.4923 GB, free: 8.109 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/0.7388, allocations: 1.958 MB / 0.4942 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005353/0.7442, allocations: 1.417 MB / 0.4956 GB, free: 4.684 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.7445, allocations: 99.94 kB / 0.4957 GB, free: 4.586 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/0.7457, allocations: 183.9 kB / 0.4958 GB, free: 4.406 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01128/0.757, allocations: 4.212 MB / 0.5 GB, free: 192 kB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2829/1.04, allocations: 6.922 MB / 0.5067 GB, free: 97.2 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002279/1.04, allocations: 53.94 kB / 0.5068 GB, free: 97.2 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009174/1.041, allocations: 27.22 kB / 0.5068 GB, free: 97.2 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002468/1.044, allocations: 0.8063 MB / 0.5076 GB, free: 97.19 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04908/1.093, allocations: 36 MB / 0.5427 GB, free: 72.04 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/1.097, allocations: 1.972 MB / 0.5447 GB, free: 70.87 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/1.099, allocations: 0.8927 MB / 0.5455 GB, free: 70.51 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/1.099, allocations: 354.4 kB / 0.5459 GB, free: 70.21 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/1.099, allocations: 49.94 kB / 0.5459 GB, free: 70.16 MB / 395.1 MB Notification: Performance of pre-optimization done (n=119): time 4.669e-06/1.099, allocations: 0 / 0.5459 GB, free: 70.16 MB / 395.1 MB Notification: Performance of matching and sorting (n=119): time 0.03829/1.138, allocations: 5.268 MB / 0.5511 GB, free: 69.52 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/1.138, allocations: 223 kB / 0.5513 GB, free: 69.26 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004324/1.142, allocations: 2.393 MB / 0.5536 GB, free: 68.35 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002737/1.142, allocations: 25.7 kB / 0.5536 GB, free: 68.32 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001834/1.144, allocations: 2.49 MB / 0.5561 GB, free: 66.46 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008046/1.145, allocations: 0.5158 MB / 0.5566 GB, free: 66.1 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/1.146, allocations: 0 / 0.5566 GB, free: 66.1 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003446/1.146, allocations: 0.5526 MB / 0.5571 GB, free: 65.68 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/1.149, allocations: 1.411 MB / 0.5585 GB, free: 65.2 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005211/1.154, allocations: 5.054 MB / 0.5634 GB, free: 59.59 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005629/1.16, allocations: 2.69 MB / 0.5661 GB, free: 58.58 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001324/1.16, allocations: 37.59 kB / 0.5661 GB, free: 58.58 MB / 395.1 MB Notification: Performance of matching and sorting (n=732) (initialization): time 0.01494/1.175, allocations: 5.533 MB / 0.5715 GB, free: 56.69 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/1.175, allocations: 66.19 kB / 0.5716 GB, free: 56.69 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001798/1.175, allocations: 132.4 kB / 0.5717 GB, free: 56.69 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/1.176, allocations: 190.4 kB / 0.5719 GB, free: 56.69 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/1.186, allocations: 1.566 MB / 0.5734 GB, free: 56.52 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002553/1.186, allocations: 257.3 kB / 0.5736 GB, free: 56.47 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005913/1.192, allocations: 0.6396 MB / 0.5743 GB, free: 56.09 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/1.193, allocations: 357.8 kB / 0.5746 GB, free: 56.04 MB / 395.1 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.001012/1.194, allocations: 439.6 kB / 0.575 GB, free: 55.68 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006172/1.195, allocations: 235.4 kB / 0.5752 GB, free: 55.55 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/1.197, allocations: 0.7119 MB / 0.5759 GB, free: 55.23 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/1.197, allocations: 17.25 kB / 0.576 GB, free: 55.21 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/1.197, allocations: 12.53 kB / 0.576 GB, free: 55.21 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/1.197, allocations: 2.766 kB / 0.576 GB, free: 55.21 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007912/1.205, allocations: 3.101 MB / 0.579 GB, free: 52.64 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.205, allocations: 4 kB / 0.579 GB, free: 52.63 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004038/1.209, allocations: 389 kB / 0.5794 GB, free: 52.35 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008943/1.21, allocations: 134.4 kB / 0.5795 GB, free: 52.26 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002299/1.21, allocations: 31.44 kB / 0.5795 GB, free: 52.23 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/1.212, allocations: 2.651 MB / 0.5821 GB, free: 49.48 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.212, allocations: 7.547 kB / 0.5821 GB, free: 49.48 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004329/1.217, allocations: 2.694 MB / 0.5848 GB, free: 46.96 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008635/1.218, allocations: 289.8 kB / 0.585 GB, free: 46.66 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005025/1.218, allocations: 15.33 kB / 0.5851 GB, free: 46.64 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/1.22, allocations: 44.73 kB / 0.5851 GB, free: 46.62 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/1.22, allocations: 55.48 kB / 0.5851 GB, free: 46.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/1.22, allocations: 39.41 kB / 0.5852 GB, free: 46.55 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002962/1.223, allocations: 1.544 MB / 0.5867 GB, free: 45.2 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.7e-07/1.223, allocations: 0 / 0.5867 GB, free: 45.2 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.005475/1.229, allocations: 0.7522 MB / 0.5874 GB, free: 44.45 MB / 395.1 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.000487/1.229, allocations: 159 kB / 0.5876 GB, free: 44.3 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.006576/1.236, allocations: 3.212 MB / 0.5907 GB, free: 41.4 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.236, allocations: 0 / 0.5907 GB, free: 41.4 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/1.238, allocations: 0.8917 MB / 0.5916 GB, free: 40.58 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/1.24, allocations: 201.5 kB / 0.5918 GB, free: 40.41 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.254, allocations: 6.586 MB / 0.5982 GB, free: 34.69 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003181/1.258, allocations: 2.46 MB / 0.6006 GB, free: 32.43 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.259, allocations: 219.4 kB / 0.6008 GB, free: 32.22 MB / 395.1 MB Notification: Performance of SimCode: time 1.072e-06/1.259, allocations: 4 kB / 0.6008 GB, free: 32.21 MB / 395.1 MB Notification: Performance of Templates: time 0.1013/1.36, allocations: 49.96 MB / 0.6496 GB, free: 14.37 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches