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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009531/0.0009532, allocations: 89.23 kB / 16.65 MB, free: 6.258 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.001234/0.001234, allocations: 179.1 kB / 17.56 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 11.94 kB / 301.4 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.09772, allocations: 50.41 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2459/0.3437, allocations: 37.34 MB / 389.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01853/0.3623, allocations: 8.468 MB / 397.6 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008035/0.3703, allocations: 164.7 kB / 397.8 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.3719, allocations: 387.7 kB / 398.2 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.3767, allocations: 1.58 MB / 399.8 MB, free: 100 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.3785, allocations: 0.5608 MB / 400.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006531/0.385, allocations: 4.973 MB / 405.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00576/0.3908, allocations: 4.102 MB / 409.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.3931, allocations: 1.015 MB / 410.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/0.3957, allocations: 1.67 MB / 412.1 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004281/0.3962, allocations: 120 kB / 412.2 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.3983, allocations: 1.033 MB / 413.2 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.3999, allocations: 1.504 MB / 414.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001933/0.4018, allocations: 1.768 MB / 416.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006398/0.4082, allocations: 5.798 MB / 422.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4083, allocations: 0 / 422.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4083, allocations: 0 / 422.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001489/0.4084, allocations: 3.938 kB / 422.3 MB, free: 13.84 MB / 334.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.006808/0.4152, allocations: 3.466 MB / 425.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4153, allocations: 12.03 kB / 425.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006778/0.4221, allocations: 1.875 MB / 427.7 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003689/0.4258, allocations: 2.022 MB / 429.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.426, allocations: 217.4 kB / 429.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009221/0.4269, allocations: 363.7 kB / 430.2 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.4422, allocations: 8.881 MB / 439.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.47e-05/0.4423, allocations: 35.69 kB / 439.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003779/0.4427, allocations: 139.8 kB / 439.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002547/0.4452, allocations: 1.637 MB / 440.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/0.4606, allocations: 7.512 MB / 448.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04214/0.5028, allocations: 35.16 MB / 483.6 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008751/0.5116, allocations: 3.452 MB / 487.1 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.5136, allocations: 1.448 MB / 488.5 MB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009141/0.5228, allocations: 6.796 MB / 495.3 MB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5229, allocations: 47.22 kB / 495.4 MB, free: 2.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=132): time 3.737e-06/0.5229, allocations: 0 / 495.4 MB, free: 2.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=139): time 0.02822/0.5511, allocations: 11.11 MB / 0.4946 GB, free: 7.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001255/0.5524, allocations: 1.612 MB / 0.4962 GB, free: 5.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004762/0.5572, allocations: 3.539 MB / 0.4996 GB, free: 1.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002998/0.5575, allocations: 49.69 kB / 0.4997 GB, free: 1.828 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.5594, allocations: 2.786 MB / 0.5024 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007038/0.5601, allocations: 0.5672 MB / 0.5029 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000591/0.5607, allocations: 478 kB / 0.5034 GB, free: 13.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.5608, allocations: 301.4 kB / 0.5037 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/0.5636, allocations: 1.92 MB / 0.5056 GB, free: 11.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005781/0.5694, allocations: 5.365 MB / 0.5108 GB, free: 4.633 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009227/0.5786, allocations: 7.831 MB / 0.5184 GB, free: 11.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.63e-05/0.5787, allocations: 36 kB / 0.5185 GB, free: 11.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02073/0.5995, allocations: 8.768 MB / 0.527 GB, free: 2.266 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/0.5996, allocations: 56 kB / 0.5271 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2053/0.8049, allocations: 3.427 MB / 0.5304 GB, free: 145.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/0.8165, allocations: 2.238 MB / 0.5326 GB, free: 145.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004149/0.8207, allocations: 1.248 MB / 0.5338 GB, free: 145.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009668/0.8304, allocations: 6.815 MB / 0.5405 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004391/0.8348, allocations: 376.4 kB / 0.5409 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006904/0.8355, allocations: 341.2 kB / 0.5412 GB, free: 142.6 MB / 446.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.003113/0.8386, allocations: 1.85 MB / 0.543 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006328/0.8393, allocations: 305.4 kB / 0.5433 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005482/0.8448, allocations: 2.778 MB / 0.546 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0046/0.8494, allocations: 2.364 MB / 0.5483 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.8494, allocations: 0 / 0.5483 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.8494, allocations: 8.266 kB / 0.5483 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.8613, allocations: 7.829 MB / 0.556 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.8613, allocations: 0 / 0.556 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009627/0.8623, allocations: 224 kB / 0.5562 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/0.8651, allocations: 1.059 MB / 0.5572 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.8652, allocations: 42.53 kB / 0.5572 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/0.8696, allocations: 4.962 MB / 0.5621 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006965/0.8703, allocations: 1.471 MB / 0.5635 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006473/0.8768, allocations: 4.96 MB / 0.5684 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007045/0.8775, allocations: 368.2 kB / 0.5687 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.8778, allocations: 37.27 kB / 0.5688 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.8791, allocations: 127.1 kB / 0.5689 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/0.8794, allocations: 84.53 kB / 0.569 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.556e-05/0.8795, allocations: 41.25 kB / 0.569 GB, free: 127.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002609/0.8821, allocations: 2.187 MB / 0.5711 GB, free: 124.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.8821, allocations: 0 / 0.5711 GB, free: 124.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004444/0.8866, allocations: 0.9701 MB / 0.5721 GB, free: 123.9 MB / 446.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.0004238/0.887, allocations: 170.5 kB / 0.5722 GB, free: 123.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007599/0.8946, allocations: 5.207 MB / 0.5773 GB, free: 118.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.8947, allocations: 4 kB / 0.5773 GB, free: 118.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003223/0.8979, allocations: 2.005 MB / 0.5793 GB, free: 116.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/0.9009, allocations: 387.6 kB / 0.5797 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.9122, allocations: 10.38 MB / 0.5898 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002222/0.9145, allocations: 2.901 MB / 0.5926 GB, free: 102.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003595/0.9181, allocations: 1.707 MB / 0.5943 GB, free: 101.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/0.9186, allocations: 211.4 kB / 0.5945 GB, free: 100.9 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.9186, allocations: 0 / 0.5945 GB, free: 100.9 MB / 446.1 MB Notification: Performance of Templates: time 0.04843/0.9671, allocations: 34.37 MB / 0.6281 GB, free: 66.7 MB / 446.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches