Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00244/0.00244, 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.127/2.127, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001112/0.001112, allocations: 78.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.987e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.564, allocations: 93.76 MB / 462.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.5644, allocations: 83.3 kB / 462.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3288/0.8932, allocations: 73.61 MB / 0.524 GB, free: 7.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.8932, allocations: 0 / 0.524 GB, free: 7.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002625/0.8935, allocations: 68 kB / 0.524 GB, free: 7.141 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.02214/0.9157, allocations: 3.855 MB / 0.5278 GB, free: 3.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.9157, allocations: 12.03 kB / 0.5278 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01749/0.9332, allocations: 2.155 MB / 0.5299 GB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.296/1.229, allocations: 4.478 MB / 0.5343 GB, free: 92.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004664/1.23, allocations: 284.6 kB / 0.5346 GB, free: 92.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00218/1.232, allocations: 377.1 kB / 0.5349 GB, free: 92.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02985/1.262, allocations: 9.264 MB / 0.544 GB, free: 90.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003296/1.262, allocations: 56.08 kB / 0.544 GB, free: 90.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001898/1.264, allocations: 184.5 kB / 0.5442 GB, free: 90.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002707/1.267, allocations: 0.9063 MB / 0.5451 GB, free: 90.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0234/1.29, allocations: 7.458 MB / 0.5524 GB, free: 90.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06398/1.354, allocations: 43.91 MB / 0.5952 GB, free: 58.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/1.368, allocations: 3.414 MB / 0.5986 GB, free: 56.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/1.371, allocations: 1.422 MB / 0.6 GB, free: 56.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0147/1.386, allocations: 6.874 MB / 0.6067 GB, free: 52.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/1.386, allocations: 50.72 kB / 0.6067 GB, free: 52.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 5.1e-06/1.386, allocations: 2.469 kB / 0.6067 GB, free: 52.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=139): time 0.03765/1.424, allocations: 9.357 MB / 0.6159 GB, free: 48.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001368/1.425, allocations: 1.611 MB / 0.6174 GB, free: 46.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007328/1.433, allocations: 3.147 MB / 0.6205 GB, free: 45.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003887/1.433, allocations: 41.52 kB / 0.6206 GB, free: 45.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002299/1.435, allocations: 2.77 MB / 0.6233 GB, free: 43.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009268/1.436, allocations: 0.5619 MB / 0.6238 GB, free: 43.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006246/1.437, allocations: 106.1 kB / 0.6239 GB, free: 43.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003445/1.437, allocations: 0.5367 MB / 0.6244 GB, free: 42.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00456/1.442, allocations: 1.851 MB / 0.6262 GB, free: 41.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006754/1.449, allocations: 5.287 MB / 0.6314 GB, free: 34.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006725/1.456, allocations: 3.1 MB / 0.6344 GB, free: 31.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/1.456, allocations: 40 kB / 0.6345 GB, free: 31.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.03075/1.487, allocations: 8.27 MB / 0.6425 GB, free: 24.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.795e-05/1.487, allocations: 57.25 kB / 0.6426 GB, free: 24.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01696/1.504, allocations: 3.133 MB / 0.6457 GB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02021/1.524, allocations: 1.945 MB / 0.6476 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/1.534, allocations: 1.248 MB / 0.6488 GB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/1.55, allocations: 5.683 MB / 0.6543 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009859/1.56, allocations: 377.6 kB / 0.6547 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/1.562, allocations: 346.4 kB / 0.655 GB, free: 14.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 559 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (674): * Single equations (assignments): 665 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002617/1.564, allocations: 0.5197 MB / 0.6555 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.566, allocations: 311.9 kB / 0.6558 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/1.579, allocations: 2.726 MB / 0.6585 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01095/1.59, allocations: 2.318 MB / 0.6607 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.568e-05/1.59, allocations: 4 kB / 0.6608 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.61e-05/1.59, allocations: 6.609 kB / 0.6608 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03308/1.623, allocations: 7.828 MB / 0.6684 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/1.623, allocations: 4 kB / 0.6684 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/1.626, allocations: 219.7 kB / 0.6686 GB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006575/1.632, allocations: 1.049 MB / 0.6696 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004599/1.633, allocations: 35.97 kB / 0.6697 GB, free: 420 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/1.645, allocations: 4.953 MB / 0.6745 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002105/1.647, allocations: 1.47 MB / 0.6759 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0205/1.667, allocations: 5.052 MB / 0.6809 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/1.669, allocations: 365 kB / 0.6812 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001477/1.671, allocations: 35.98 kB / 0.6813 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004442/1.675, allocations: 123.7 kB / 0.6814 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007347/1.676, allocations: 84.59 kB / 0.6815 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00026/1.676, allocations: 39.98 kB / 0.6815 GB, free: 3.797 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009405/1.686, allocations: 2.167 MB / 0.6836 GB, free: 1.641 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.563e-06/1.686, allocations: 0 / 0.6836 GB, free: 1.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009023/1.695, allocations: 0.9747 MB / 0.6846 GB, free: 0.6758 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007917/1.696, allocations: 179.8 kB / 0.6847 GB, free: 0.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.3759/2.072, allocations: 5.076 MB / 0.6897 GB, free: 97.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/2.072, allocations: 3.125 kB / 0.6897 GB, free: 97.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01051/2.082, allocations: 1.991 MB / 0.6916 GB, free: 96.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/2.085, allocations: 360.5 kB / 0.692 GB, free: 96.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/2.107, allocations: 7.407 MB / 0.6992 GB, free: 95.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006632/2.113, allocations: 2.993 MB / 0.7021 GB, free: 94.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/2.115, allocations: 251.7 kB / 0.7024 GB, free: 94.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/2.115, allocations: 3.938 kB / 0.7024 GB, free: 94.44 MB / 426.7 MB Notification: Performance of Templates: time 0.1818/2.297, allocations: 111.1 MB / 0.8109 GB, free: 22.23 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches