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.001054/0.001055, allocations: 175.7 kB / 17.39 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 101 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003125, allocations: 11.94 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1959, allocations: 50.4 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.3071, allocations: 95.67 MB / 498.4 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.3075, allocations: 95.94 kB / 498.5 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3166/0.6241, allocations: 73.69 MB / 0.5588 GB, free: 55.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.6241, allocations: 0 / 0.5588 GB, free: 55.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001485/0.6243, allocations: 68 kB / 0.5589 GB, free: 55.05 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.01278/0.6371, allocations: 4.005 MB / 0.5628 GB, free: 50.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.6371, allocations: 16.03 kB / 0.5628 GB, free: 50.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00852/0.6457, allocations: 2.117 MB / 0.5649 GB, free: 48.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006187/0.6519, allocations: 3.274 MB / 0.5681 GB, free: 45.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.6521, allocations: 283.8 kB / 0.5683 GB, free: 45.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.6532, allocations: 380.2 kB / 0.5687 GB, free: 44.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.6651, allocations: 9.257 MB / 0.5777 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.6652, allocations: 59.5 kB / 0.5778 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003962/0.6656, allocations: 183.8 kB / 0.578 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008756/0.6665, allocations: 0.9038 MB / 0.5788 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.6771, allocations: 7.477 MB / 0.5861 GB, free: 26.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03721/0.7144, allocations: 43.84 MB / 0.629 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007631/0.722, allocations: 3.443 MB / 0.6323 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.7239, allocations: 1.435 MB / 0.6337 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008831/0.7327, allocations: 6.815 MB / 0.6404 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.7328, allocations: 47.22 kB / 0.6404 GB, free: 0.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 3.606e-06/0.7328, allocations: 0 / 0.6404 GB, free: 0.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=139): time 0.0241/0.7569, allocations: 11.05 MB / 0.6512 GB, free: 5.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001343/0.7583, allocations: 1.609 MB / 0.6528 GB, free: 3.496 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005622/0.7639, allocations: 3.528 MB / 0.6562 GB, free: 15.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003611/0.7643, allocations: 45.69 kB / 0.6563 GB, free: 15.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001975/0.7663, allocations: 2.813 MB / 0.659 GB, free: 13.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007632/0.7671, allocations: 0.5672 MB / 0.6596 GB, free: 12.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.7674, allocations: 108 kB / 0.6597 GB, free: 12.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000332/0.7677, allocations: 0.5373 MB / 0.6602 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/0.7703, allocations: 1.892 MB / 0.662 GB, free: 9.945 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004735/0.7751, allocations: 5.351 MB / 0.6673 GB, free: 2.855 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2056/0.9807, allocations: 7.816 MB / 0.6749 GB, free: 110.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.605e-05/0.9808, allocations: 35.66 kB / 0.6749 GB, free: 110.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.01665/0.9975, allocations: 8.458 MB / 0.6832 GB, free: 109.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.398e-05/0.9976, allocations: 59.09 kB / 0.6832 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008335/1.006, allocations: 3.175 MB / 0.6863 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008291/1.014, allocations: 1.929 MB / 0.6882 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003761/1.018, allocations: 1.25 MB / 0.6895 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/1.025, allocations: 5.707 MB / 0.695 GB, free: 107.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004029/1.029, allocations: 380 kB / 0.6954 GB, free: 107.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006586/1.029, allocations: 340.2 kB / 0.6957 GB, free: 107.1 MB / 442.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.002805/1.032, allocations: 1.853 MB / 0.6975 GB, free: 106.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004704/1.033, allocations: 299.1 kB / 0.6978 GB, free: 106.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/1.037, allocations: 2.754 MB / 0.7005 GB, free: 106.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003786/1.041, allocations: 2.35 MB / 0.7028 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.041, allocations: 3.156 kB / 0.7028 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/1.041, allocations: 11.16 kB / 0.7028 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/1.054, allocations: 7.824 MB / 0.7104 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.054, allocations: 3.781 kB / 0.7104 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/1.055, allocations: 223.9 kB / 0.7107 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002695/1.058, allocations: 1.04 MB / 0.7117 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002082/1.058, allocations: 40.69 kB / 0.7117 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004655/1.063, allocations: 4.957 MB / 0.7166 GB, free: 99.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007143/1.064, allocations: 1.479 MB / 0.718 GB, free: 98.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006493/1.07, allocations: 4.93 MB / 0.7228 GB, free: 96.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007343/1.071, allocations: 368 kB / 0.7232 GB, free: 95.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/1.071, allocations: 29.91 kB / 0.7232 GB, free: 95.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.073, allocations: 126.6 kB / 0.7233 GB, free: 95.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/1.073, allocations: 89.34 kB / 0.7234 GB, free: 95.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.822e-05/1.073, allocations: 38.77 kB / 0.7234 GB, free: 95.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00275/1.076, allocations: 2.18 MB / 0.7256 GB, free: 94.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/1.076, allocations: 4 kB / 0.7256 GB, free: 94.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003968/1.08, allocations: 0.9637 MB / 0.7265 GB, free: 93.07 MB / 442.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.000373/1.08, allocations: 172.6 kB / 0.7267 GB, free: 92.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006896/1.087, allocations: 5.139 MB / 0.7317 GB, free: 88.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.087, allocations: 2.344 kB / 0.7317 GB, free: 88.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003048/1.09, allocations: 2.013 MB / 0.7337 GB, free: 86.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/1.093, allocations: 376 kB / 0.734 GB, free: 86.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/1.105, allocations: 9.933 MB / 0.7437 GB, free: 77.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002466/1.108, allocations: 2.901 MB / 0.7466 GB, free: 75.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003874/1.112, allocations: 1.694 MB / 0.7482 GB, free: 73.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/1.112, allocations: 213.2 kB / 0.7484 GB, free: 73.76 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/1.112, allocations: 0 / 0.7484 GB, free: 73.76 MB / 442.7 MB Notification: Performance of Templates: time 0.04886/1.161, allocations: 32.96 MB / 0.7806 GB, free: 42.94 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/jenkins1/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