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.001373/0.001373, allocations: 105.9 kB / 18.25 MB, free: 4.785 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.0012/0.0012, allocations: 195.6 kB / 19.18 MB, free: 3.863 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.358/1.358, allocations: 205.1 MB / 225 MB, free: 12.3 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.00125/0.00125, allocations: 56.14 kB / 281.3 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1117, allocations: 46.63 MB / 328 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01247/0.1243, allocations: 10.45 MB / 338.4 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009405/0.1337, allocations: 3.825 MB / 342.2 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.1362, allocations: 59.81 kB / 342.3 MB, free: 6.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004751/0.141, allocations: 2.316 MB / 344.6 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005566/0.1466, allocations: 1.685 MB / 346.3 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.1486, allocations: 0.6083 MB / 346.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006165/0.1548, allocations: 3.463 MB / 350.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004172/0.159, allocations: 3.033 MB / 353.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002699/0.1617, allocations: 1.37 MB / 354.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.1651, allocations: 1.799 MB / 356.6 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008532/0.166, allocations: 292 kB / 356.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.1686, allocations: 1.131 MB / 358 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001845/0.1704, allocations: 1.683 MB / 359.7 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00305/0.1735, allocations: 1.957 MB / 361.6 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008709/0.1822, allocations: 6.032 MB / 367.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.1823, allocations: 3.938 kB / 367.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1823, allocations: 0 / 367.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002488/0.1825, allocations: 0 / 367.7 MB, free: 12.58 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.01151/0.1941, allocations: 4.23 MB / 371.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.1941, allocations: 8.031 kB / 371.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007159/0.2013, allocations: 1.836 MB / 373.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/0.2063, allocations: 2.068 MB / 375.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.2065, allocations: 209.4 kB / 376 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.2077, allocations: 371.6 kB / 376.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2229/0.4306, allocations: 8.865 MB / 385.2 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.4308, allocations: 37.48 kB / 385.3 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004076/0.4312, allocations: 136.5 kB / 385.4 MB, free: 47.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002924/0.4341, allocations: 1.64 MB / 387 MB, free: 46.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.4503, allocations: 7.5 MB / 394.5 MB, free: 44.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03548/0.4859, allocations: 35.18 MB / 429.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00771/0.4936, allocations: 3.448 MB / 433.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.4953, allocations: 1.448 MB / 434.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00812/0.5034, allocations: 6.797 MB / 441.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.5035, allocations: 47.2 kB / 441.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=132): time 4.358e-06/0.5035, allocations: 11.94 kB / 441.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=139): time 0.02835/0.5319, allocations: 11.12 MB / 452.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001498/0.5334, allocations: 1.712 MB / 454.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005697/0.5391, allocations: 3.544 MB / 457.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000433/0.5396, allocations: 45.7 kB / 457.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.5419, allocations: 2.786 MB / 460.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008659/0.5427, allocations: 0.5681 MB / 461.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/0.5443, allocations: 1.107 MB / 462.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5444, allocations: 313.2 kB / 462.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002939/0.5474, allocations: 1.916 MB / 464.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00555/0.5529, allocations: 5.369 MB / 469.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009708/0.5627, allocations: 7.828 MB / 477.8 MB, free: 7.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/0.5628, allocations: 36 kB / 477.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02336/0.5862, allocations: 8.753 MB / 486.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.095e-05/0.5863, allocations: 60.47 kB / 486.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01114/0.5975, allocations: 3.445 MB / 490.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.6081, allocations: 2.238 MB / 492.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004236/0.6124, allocations: 1.252 MB / 493.5 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.6234, allocations: 7.421 MB / 0.4892 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004857/0.6283, allocations: 383.2 kB / 0.4896 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/0.6294, allocations: 340 kB / 0.4899 GB, free: 14.84 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.003973/0.6334, allocations: 1.861 MB / 0.4917 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008509/0.6343, allocations: 304 kB / 0.492 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006193/0.6405, allocations: 2.757 MB / 0.4947 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004926/0.6454, allocations: 2.359 MB / 0.497 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.243e-05/0.6455, allocations: 3.938 kB / 0.497 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/0.6455, allocations: 11.97 kB / 0.497 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/0.6626, allocations: 7.855 MB / 0.5047 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.6627, allocations: 0 / 0.5047 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.6638, allocations: 231.7 kB / 0.5049 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003103/0.6669, allocations: 1.049 MB / 0.506 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001794/0.6671, allocations: 35.97 kB / 0.506 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006023/0.6732, allocations: 5.278 MB / 0.5111 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001139/0.6743, allocations: 1.565 MB / 0.5127 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008519/0.6829, allocations: 4.965 MB / 0.5175 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.684, allocations: 361.1 kB / 0.5179 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000671/0.6847, allocations: 27.98 kB / 0.5179 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.6864, allocations: 131.7 kB / 0.518 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/0.6867, allocations: 84.47 kB / 0.5181 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.6869, allocations: 47.97 kB / 0.5181 GB, free: 1.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004397/0.6913, allocations: 2.195 MB / 0.5203 GB, free: 15.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6913, allocations: 4 kB / 0.5203 GB, free: 15.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00585/0.6971, allocations: 0.9674 MB / 0.5212 GB, free: 14.09 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.0005722/0.6977, allocations: 180.4 kB / 0.5214 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01112/0.7089, allocations: 5.709 MB / 0.527 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.7089, allocations: 0 / 0.527 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004123/0.7131, allocations: 2.021 MB / 0.529 GB, free: 6.082 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/0.7165, allocations: 392.4 kB / 0.5293 GB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.194/0.9105, allocations: 8.907 MB / 0.538 GB, free: 143 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/0.9143, allocations: 2.913 MB / 0.5409 GB, free: 142.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.9154, allocations: 256.5 kB / 0.5411 GB, free: 142.2 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.9154, allocations: 0 / 0.5411 GB, free: 142.2 MB / 430.1 MB Notification: Performance of Templates: time 0.1217/1.037, allocations: 117.7 MB / 0.656 GB, free: 40.52 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 -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