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.0009811/0.0009811, allocations: 178.3 kB / 17.41 MB, free: 4.41 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.319/1.319, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007141/0.0007141, allocations: 90.34 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003302, allocations: 8 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2136, allocations: 47.56 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.3166, allocations: 93.99 MB / 469.7 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.3169, allocations: 99.95 kB / 469.8 MB, free: 2.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3333/0.6502, allocations: 72.72 MB / 0.5298 GB, free: 86.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6502, allocations: 4 kB / 0.5298 GB, free: 86.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001676/0.6504, allocations: 75.94 kB / 0.5299 GB, free: 86.46 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.01274/0.6632, allocations: 4.015 MB / 0.5338 GB, free: 82.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.6632, allocations: 12.03 kB / 0.5338 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008582/0.6718, allocations: 2.125 MB / 0.5359 GB, free: 80.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006642/0.6785, allocations: 3.431 MB / 0.5392 GB, free: 76.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.6787, allocations: 287.7 kB / 0.5395 GB, free: 76.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/0.6799, allocations: 374.2 kB / 0.5399 GB, free: 76.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.6954, allocations: 9.259 MB / 0.5489 GB, free: 66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001713/0.6957, allocations: 51.5 kB / 0.549 GB, free: 65.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000961/0.6966, allocations: 183.9 kB / 0.5491 GB, free: 65.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001127/0.6978, allocations: 0.9038 MB / 0.55 GB, free: 64.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.7104, allocations: 7.481 MB / 0.5573 GB, free: 57.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03767/0.7481, allocations: 43.86 MB / 0.6002 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006989/0.7551, allocations: 3.421 MB / 0.6035 GB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.7567, allocations: 1.446 MB / 0.6049 GB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007905/0.7646, allocations: 6.834 MB / 0.6116 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.7647, allocations: 51.14 kB / 0.6116 GB, free: 15.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=132): time 3.356e-06/0.7647, allocations: 0 / 0.6116 GB, free: 15.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=139): time 0.02528/0.79, allocations: 11.12 MB / 0.6225 GB, free: 4.555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001148/0.7912, allocations: 1.604 MB / 0.6241 GB, free: 2.773 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006157/0.7974, allocations: 3.56 MB / 0.6275 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.7976, allocations: 49.69 kB / 0.6276 GB, free: 15.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002221/0.7998, allocations: 2.813 MB / 0.6303 GB, free: 12.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006091/0.8005, allocations: 0.5672 MB / 0.6309 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.8008, allocations: 104 kB / 0.631 GB, free: 11.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003788/0.8012, allocations: 0.5373 MB / 0.6315 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002848/0.8041, allocations: 1.892 MB / 0.6334 GB, free: 9.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/0.8089, allocations: 5.351 MB / 0.6386 GB, free: 2.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008142/0.817, allocations: 7.818 MB / 0.6462 GB, free: 8.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-05/0.8172, allocations: 36 kB / 0.6463 GB, free: 8.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.01925/0.8364, allocations: 8.46 MB / 0.6545 GB, free: 52 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1892/1.026, allocations: 56.17 kB / 0.6546 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008932/1.035, allocations: 3.173 MB / 0.6577 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008269/1.043, allocations: 1.925 MB / 0.6595 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/1.047, allocations: 1.25 MB / 0.6608 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007461/1.055, allocations: 5.707 MB / 0.6663 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/1.059, allocations: 376.3 kB / 0.6667 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008121/1.06, allocations: 341.9 kB / 0.667 GB, free: 115.8 MB / 426.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 () * Number of clocked 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.003269/1.063, allocations: 1.854 MB / 0.6688 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004993/1.064, allocations: 310.9 kB / 0.6691 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00471/1.069, allocations: 2.754 MB / 0.6718 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003747/1.072, allocations: 2.342 MB / 0.6741 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.072, allocations: 3.219 kB / 0.6741 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/1.072, allocations: 6.609 kB / 0.6741 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/1.085, allocations: 7.835 MB / 0.6818 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.085, allocations: 3.75 kB / 0.6818 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009818/1.086, allocations: 228.2 kB / 0.682 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002585/1.089, allocations: 1.041 MB / 0.683 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/1.089, allocations: 31.48 kB / 0.683 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004286/1.093, allocations: 4.967 MB / 0.6879 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006894/1.094, allocations: 1.478 MB / 0.6893 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00688/1.101, allocations: 4.925 MB / 0.6941 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.102, allocations: 371.2 kB / 0.6945 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/1.102, allocations: 34.05 kB / 0.6945 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.103, allocations: 129.9 kB / 0.6947 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/1.103, allocations: 87.92 kB / 0.6947 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.104, allocations: 41.84 kB / 0.6948 GB, free: 106 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002978/1.107, allocations: 2.195 MB / 0.6969 GB, free: 105.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.107, allocations: 0 / 0.6969 GB, free: 105.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003928/1.111, allocations: 0.9636 MB / 0.6979 GB, free: 105.2 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 () * Number of clocked 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.0003637/1.111, allocations: 180 kB / 0.698 GB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00683/1.118, allocations: 5.147 MB / 0.7031 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.118, allocations: 7.938 kB / 0.7031 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002999/1.121, allocations: 2.016 MB / 0.705 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/1.124, allocations: 377.3 kB / 0.7054 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/1.139, allocations: 10.35 MB / 0.7155 GB, free: 90.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003149/1.142, allocations: 2.915 MB / 0.7183 GB, free: 88.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008157/1.143, allocations: 252.8 kB / 0.7186 GB, free: 88.37 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/1.143, allocations: 4 kB / 0.7186 GB, free: 88.36 MB / 426.7 MB Notification: Performance of Templates: time 0.2804/1.423, allocations: 116.7 MB / 0.8325 GB, free: 129.6 MB / 442.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