Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009825/0.0009824, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 230.3 MB, free: 7.539 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 89.27 kB / 281.2 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.743e-05, allocations: 7.984 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 50.41 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3811/0.4933, allocations: 94.82 MB / 482.3 MB, free: 24 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.4937, allocations: 84.03 kB / 482.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1943/0.688, allocations: 72.96 MB / 0.5423 GB, free: 6.457 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.6881, allocations: 0 / 0.5423 GB, free: 6.457 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001492/0.6882, allocations: 72 kB / 0.5424 GB, free: 6.387 MB / 426.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.0129/0.7011, allocations: 3.851 MB / 0.5461 GB, free: 2.477 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.7012, allocations: 12.03 kB / 0.5461 GB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009909/0.7111, allocations: 2.159 MB / 0.5483 GB, free: 304 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2385/0.9496, allocations: 4.312 MB / 0.5525 GB, free: 98.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.9499, allocations: 122.4 kB / 0.5526 GB, free: 98.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/0.9512, allocations: 219.8 kB / 0.5528 GB, free: 98.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009738/0.9609, allocations: 5.344 MB / 0.558 GB, free: 98.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.9766, allocations: 8.286 MB / 0.5661 GB, free: 95.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.9768, allocations: 57.98 kB / 0.5662 GB, free: 95.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004651/0.9773, allocations: 36.48 kB / 0.5662 GB, free: 95.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001284/0.9786, allocations: 0.9004 MB / 0.5671 GB, free: 95.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.036/1.015, allocations: 42.8 MB / 0.6089 GB, free: 65.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/1.017, allocations: 2.398 MB / 0.6112 GB, free: 63.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/1.019, allocations: 1.329 MB / 0.6125 GB, free: 63.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/1.019, allocations: 0.6622 MB / 0.6132 GB, free: 62.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/1.019, allocations: 57.88 kB / 0.6132 GB, free: 62.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=138): time 3.647e-06/1.019, allocations: 0 / 0.6132 GB, free: 62.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=145): time 0.01596/1.035, allocations: 8.769 MB / 0.6218 GB, free: 58.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.035, allocations: 144.1 kB / 0.6219 GB, free: 58.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/1.038, allocations: 2.774 MB / 0.6246 GB, free: 57.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/1.039, allocations: 28.86 kB / 0.6247 GB, free: 57.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/1.04, allocations: 2.839 MB / 0.6274 GB, free: 55.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000424/1.04, allocations: 0.5796 MB / 0.628 GB, free: 54.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/1.04, allocations: 0 / 0.628 GB, free: 54.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/1.041, allocations: 0.5441 MB / 0.6285 GB, free: 54.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/1.042, allocations: 1.811 MB / 0.6303 GB, free: 53.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/1.046, allocations: 5.357 MB / 0.6355 GB, free: 48.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/1.049, allocations: 3.074 MB / 0.6385 GB, free: 47.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.538e-05/1.049, allocations: 35.69 kB / 0.6386 GB, free: 47.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=742) (initialization): time 0.01636/1.065, allocations: 7.806 MB / 0.6462 GB, free: 44.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.561e-05/1.065, allocations: 60 kB / 0.6462 GB, free: 44.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008884/1.074, allocations: 3.072 MB / 0.6492 GB, free: 41.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/1.085, allocations: 1.941 MB / 0.6511 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004248/1.089, allocations: 1.305 MB / 0.6524 GB, free: 39.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006087/1.095, allocations: 5.525 MB / 0.6578 GB, free: 34.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004133/1.099, allocations: 277.6 kB / 0.6581 GB, free: 34.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005427/1.1, allocations: 359.1 kB / 0.6584 GB, free: 33.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * 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 (704): * Single equations (assignments): 695 * 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.0006229/1.1, allocations: 424.7 kB / 0.6588 GB, free: 33.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/1.101, allocations: 292.3 kB / 0.6591 GB, free: 33.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004498/1.105, allocations: 2.641 MB / 0.6617 GB, free: 31.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003554/1.109, allocations: 2.269 MB / 0.6639 GB, free: 29.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/1.109, allocations: 0 / 0.6639 GB, free: 29.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/1.109, allocations: 14.73 kB / 0.6639 GB, free: 29.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/1.121, allocations: 7.524 MB / 0.6713 GB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.121, allocations: 7.828 kB / 0.6713 GB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.122, allocations: 231.9 kB / 0.6715 GB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/1.124, allocations: 1.033 MB / 0.6725 GB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/1.125, allocations: 18.75 kB / 0.6725 GB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004417/1.129, allocations: 4.849 MB / 0.6772 GB, free: 17.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006942/1.13, allocations: 1.419 MB / 0.6786 GB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006659/1.137, allocations: 5.038 MB / 0.6835 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000912/1.138, allocations: 341.2 kB / 0.6839 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003414/1.138, allocations: 15.94 kB / 0.6839 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.139, allocations: 107.8 kB / 0.684 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/1.139, allocations: 84.64 kB / 0.6841 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.14, allocations: 44.77 kB / 0.6841 GB, free: 10.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002423/1.142, allocations: 1.83 MB / 0.6859 GB, free: 9.113 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.142, allocations: 0 / 0.6859 GB, free: 9.113 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004518/1.147, allocations: 0.8723 MB / 0.6868 GB, free: 8.246 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 (111): * Single equations (assignments): 104 * 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.00041/1.147, allocations: 168.4 kB / 0.6869 GB, free: 8.086 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007098/1.154, allocations: 4.914 MB / 0.6917 GB, free: 3.133 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.154, allocations: 0 / 0.6917 GB, free: 3.133 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003198/1.157, allocations: 1.987 MB / 0.6937 GB, free: 1.082 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/1.159, allocations: 318.9 kB / 0.694 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.173, allocations: 6.952 MB / 0.7007 GB, free: 9.805 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004724/1.178, allocations: 2.98 MB / 0.7037 GB, free: 6.797 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0048/1.182, allocations: 1.787 MB / 0.7054 GB, free: 5.016 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007556/1.183, allocations: 211.4 kB / 0.7056 GB, free: 4.809 MB / 442.7 MB Notification: Performance of SimCode: time 2.345e-06/1.183, allocations: 0 / 0.7056 GB, free: 4.809 MB / 442.7 MB Notification: Performance of Templates: time 0.2895/1.473, allocations: 29.86 MB / 0.7348 GB, free: 98 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches