Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 109.4 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 188.1 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 51.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08632/0.08753, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01046/0.09803, allocations: 10.46 MB / 339.2 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006667/0.1047, allocations: 3.817 MB / 343 MB, free: 5.402 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007891/0.1055, allocations: 63.81 kB / 343.1 MB, free: 5.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003827/0.1094, allocations: 2.309 MB / 345.4 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.1124, allocations: 1.689 MB / 347.1 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1136, allocations: 0.6122 MB / 347.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003646/0.1172, allocations: 3.467 MB / 351.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.1201, allocations: 3.032 MB / 354.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.1214, allocations: 1.367 MB / 355.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.1233, allocations: 1.799 MB / 357.3 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003895/0.1237, allocations: 292 kB / 357.6 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.1253, allocations: 1.127 MB / 358.8 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.1266, allocations: 1.679 MB / 360.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.1281, allocations: 1.965 MB / 362.4 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004868/0.133, allocations: 6.236 MB / 368.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.133, allocations: 7.938 kB / 368.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.133, allocations: 0 / 368.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.542e-05/0.1331, allocations: 0 / 368.6 MB, free: 11.64 MB / 318.1 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.006322/0.1394, allocations: 4.226 MB / 372.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1395, allocations: 12.03 kB / 372.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005867/0.1453, allocations: 1.836 MB / 374.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/0.1495, allocations: 2.111 MB / 376.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.1496, allocations: 209.4 kB / 377 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007778/0.1504, allocations: 375.6 kB / 377.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1557/0.3061, allocations: 8.859 MB / 386.3 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001841/0.3063, allocations: 42.72 kB / 386.3 MB, free: 46.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008707/0.3072, allocations: 129.9 kB / 386.4 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00254/0.3097, allocations: 1.643 MB / 388.1 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/0.3234, allocations: 7.497 MB / 395.6 MB, free: 44.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03492/0.3584, allocations: 35.01 MB / 430.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007196/0.3656, allocations: 3.452 MB / 434 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.3671, allocations: 1.444 MB / 435.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00858/0.3757, allocations: 6.798 MB / 442.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.3758, allocations: 47.22 kB / 442.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=132): time 3.467e-06/0.3758, allocations: 0 / 442.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=139): time 0.02551/0.4013, allocations: 11.11 MB / 453.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001361/0.4027, allocations: 1.722 MB / 455.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/0.4072, allocations: 3.544 MB / 458.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.4074, allocations: 41.7 kB / 458.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00185/0.4093, allocations: 2.79 MB / 461.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005314/0.4098, allocations: 0.572 MB / 462.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/0.4112, allocations: 1.107 MB / 463.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.4113, allocations: 305.1 kB / 463.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/0.4139, allocations: 1.924 MB / 465.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004942/0.4188, allocations: 5.361 MB / 470.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007994/0.4268, allocations: 7.835 MB / 478.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.15e-05/0.4269, allocations: 40 kB / 478.7 MB, free: 6.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01862/0.4455, allocations: 8.749 MB / 487.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/0.4456, allocations: 64.41 kB / 487.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01018/0.4558, allocations: 3.429 MB / 490.9 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.4659, allocations: 2.242 MB / 493.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/0.4696, allocations: 1.248 MB / 494.4 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009985/0.4796, allocations: 7.425 MB / 0.4901 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003878/0.4835, allocations: 387.3 kB / 0.4904 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000459/0.484, allocations: 344 kB / 0.4908 GB, free: 13.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * 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 (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002481/0.4865, allocations: 1.838 MB / 0.4925 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/0.487, allocations: 308 kB / 0.4928 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005292/0.4923, allocations: 2.769 MB / 0.4955 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004387/0.4967, allocations: 2.363 MB / 0.4979 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4967, allocations: 0 / 0.4979 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.4967, allocations: 7.984 kB / 0.4979 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.51, allocations: 7.858 MB / 0.5055 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.51, allocations: 3.938 kB / 0.5055 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.5111, allocations: 231.8 kB / 0.5058 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/0.5141, allocations: 1.049 MB / 0.5068 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.5142, allocations: 35.98 kB / 0.5068 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005557/0.5198, allocations: 5.278 MB / 0.512 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001075/0.5209, allocations: 1.561 MB / 0.5135 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007268/0.5281, allocations: 4.962 MB / 0.5183 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007579/0.5289, allocations: 365.1 kB / 0.5187 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/0.5292, allocations: 24 kB / 0.5187 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.5305, allocations: 127.8 kB / 0.5188 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.5307, allocations: 92.39 kB / 0.5189 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.5308, allocations: 43.98 kB / 0.519 GB, free: 408 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002906/0.5337, allocations: 2.195 MB / 0.5211 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5338, allocations: 0 / 0.5211 GB, free: 14.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003676/0.5374, allocations: 0.9713 MB / 0.5221 GB, free: 13.25 MB / 430.1 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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003447/0.5378, allocations: 172.3 kB / 0.5222 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007701/0.5455, allocations: 5.238 MB / 0.5273 GB, free: 7.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5455, allocations: 0 / 0.5273 GB, free: 7.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003516/0.549, allocations: 2.013 MB / 0.5293 GB, free: 5.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.5508, allocations: 398.1 kB / 0.5297 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1428/0.6937, allocations: 8.408 MB / 0.5379 GB, free: 143 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003478/0.6972, allocations: 2.911 MB / 0.5407 GB, free: 142.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.006129/0.7034, allocations: 1.702 MB / 0.5424 GB, free: 142.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009711/0.7044, allocations: 211.4 kB / 0.5426 GB, free: 142.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.272e-06/0.7044, allocations: 0 / 0.5426 GB, free: 142.2 MB / 430.1 MB Notification: Performance of Templates: time 0.06855/0.7729, allocations: 31.39 MB / 0.5733 GB, free: 124.7 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches