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.001716/0.001716, allocations: 101.3 kB / 17.06 MB, free: 6.117 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.001863/0.001863, allocations: 200.1 kB / 18 MB, free: 5.195 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008925/0.0008925, allocations: 43.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2285, allocations: 49.44 MB / 400.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01032/0.2389, allocations: 10.46 MB / 411.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006644/0.2456, allocations: 3.82 MB / 415 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008944/0.2465, allocations: 63.81 kB / 415.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003928/0.2504, allocations: 2.309 MB / 417.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.254, allocations: 1.739 MB / 419.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.2553, allocations: 0.6083 MB / 419.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003913/0.2592, allocations: 3.447 MB / 423.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.2622, allocations: 3.026 MB / 426.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.2639, allocations: 1.374 MB / 427.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.2659, allocations: 1.791 MB / 429.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004489/0.2664, allocations: 292 kB / 429.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.2681, allocations: 1.151 MB / 430.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.2695, allocations: 1.703 MB / 432.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.2712, allocations: 1.953 MB / 434.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00556/0.2768, allocations: 6.24 MB / 440.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2768, allocations: 0 / 440.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2768, allocations: 0 / 440.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.428e-05/0.2769, allocations: 0 / 440.7 MB, free: 0.7109 MB / 350.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.006634/0.2836, allocations: 4.242 MB / 444.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2836, allocations: 11.97 kB / 445 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005802/0.2894, allocations: 1.832 MB / 446.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/0.2928, allocations: 2.056 MB / 448.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.293, allocations: 213.4 kB / 449 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007712/0.2938, allocations: 367.7 kB / 449.4 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.3072, allocations: 8.866 MB / 458.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-05/0.3073, allocations: 39.59 kB / 458.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003363/0.3076, allocations: 139.9 kB / 458.4 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002203/0.3098, allocations: 1.641 MB / 460.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.3223, allocations: 7.494 MB / 467.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0359/0.3582, allocations: 35.01 MB / 0.4908 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008041/0.3663, allocations: 3.444 MB / 0.4942 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.3683, allocations: 1.443 MB / 0.4956 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009668/0.3779, allocations: 6.811 MB / 0.5022 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.378, allocations: 51.2 kB / 0.5023 GB, free: 4.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 5.139e-06/0.378, allocations: 4 kB / 0.5023 GB, free: 4.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.0247/0.4027, allocations: 11.1 MB / 0.5131 GB, free: 9.477 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001268/0.4041, allocations: 1.714 MB / 0.5148 GB, free: 7.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004176/0.4082, allocations: 3.524 MB / 0.5183 GB, free: 4.059 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.4084, allocations: 53.62 kB / 0.5183 GB, free: 4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001717/0.4102, allocations: 2.786 MB / 0.521 GB, free: 1.176 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005405/0.4107, allocations: 0.5711 MB / 0.5216 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/0.412, allocations: 1.107 MB / 0.5227 GB, free: 15.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.4121, allocations: 301.1 kB / 0.5229 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002549/0.4147, allocations: 1.924 MB / 0.5248 GB, free: 13.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004646/0.4194, allocations: 5.361 MB / 0.5301 GB, free: 6.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2254/0.6447, allocations: 7.832 MB / 0.5377 GB, free: 123.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/0.6449, allocations: 35.06 kB / 0.5377 GB, free: 123.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01749/0.6623, allocations: 8.755 MB / 0.5463 GB, free: 121.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.438e-05/0.6624, allocations: 64.22 kB / 0.5464 GB, free: 121.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009012/0.6715, allocations: 3.428 MB / 0.5497 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009107/0.6806, allocations: 2.238 MB / 0.5519 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00361/0.6842, allocations: 1.253 MB / 0.5531 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007709/0.692, allocations: 7.411 MB / 0.5603 GB, free: 112.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/0.6956, allocations: 376 kB / 0.5607 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000386/0.696, allocations: 340 kB / 0.561 GB, free: 111.5 MB / 462.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.00203/0.6981, allocations: 1.858 MB / 0.5628 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.6984, allocations: 303.4 kB / 0.5631 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.7028, allocations: 2.759 MB / 0.5658 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00369/0.7065, allocations: 2.363 MB / 0.5681 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.7065, allocations: 0 / 0.5681 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.7066, allocations: 11.97 kB / 0.5681 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.7169, allocations: 7.826 MB / 0.5758 GB, free: 96.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.7169, allocations: 4 kB / 0.5758 GB, free: 96.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009616/0.7179, allocations: 227.6 kB / 0.576 GB, free: 96.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/0.7205, allocations: 1.053 MB / 0.577 GB, free: 95.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.7207, allocations: 41.5 kB / 0.5771 GB, free: 95.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004228/0.7249, allocations: 5.269 MB / 0.5822 GB, free: 89.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007297/0.7256, allocations: 1.559 MB / 0.5837 GB, free: 87.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006407/0.7321, allocations: 4.978 MB / 0.5886 GB, free: 83.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/0.7328, allocations: 366.6 kB / 0.589 GB, free: 82.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/0.7331, allocations: 29.67 kB / 0.589 GB, free: 82.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.7343, allocations: 123.8 kB / 0.5891 GB, free: 82.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.7345, allocations: 84.47 kB / 0.5892 GB, free: 82.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.7346, allocations: 43.97 kB / 0.5892 GB, free: 82.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002474/0.7371, allocations: 2.187 MB / 0.5914 GB, free: 80.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7371, allocations: 0 / 0.5914 GB, free: 80.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003964/0.7411, allocations: 0.9716 MB / 0.5923 GB, free: 79.26 MB / 462.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.0003756/0.7415, allocations: 176.2 kB / 0.5925 GB, free: 79.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006941/0.7484, allocations: 5.235 MB / 0.5976 GB, free: 73.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7484, allocations: 1.5 kB / 0.5976 GB, free: 73.81 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002988/0.7514, allocations: 2.015 MB / 0.5996 GB, free: 71.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.7534, allocations: 394.3 kB / 0.5999 GB, free: 71.35 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.7638, allocations: 8.405 MB / 0.6081 GB, free: 62.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/0.766, allocations: 2.905 MB / 0.611 GB, free: 59.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003/0.769, allocations: 1.707 MB / 0.6126 GB, free: 58.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.7695, allocations: 207.4 kB / 0.6128 GB, free: 58.06 MB / 462.1 MB Notification: Performance of SimCode: time 6.22e-07/0.7695, allocations: 4.875 kB / 0.6129 GB, free: 58.05 MB / 462.1 MB Notification: Performance of Templates: time 0.04929/0.8188, allocations: 33.07 MB / 0.6451 GB, free: 25.2 MB / 462.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