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.0009866/0.0009865, allocations: 95.36 kB / 17.3 MB, free: 6.344 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.0009428/0.0009428, allocations: 180.2 kB / 18.21 MB, free: 5.531 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.302/1.302, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004331/0.0004331, allocations: 15.94 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08075/0.0812, allocations: 47.58 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03274/0.114, allocations: 37.34 MB / 366.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.1313, allocations: 8.462 MB / 374.8 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007126/0.1384, allocations: 163.6 kB / 374.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.1401, allocations: 390.1 kB / 375.3 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005404/0.1455, allocations: 1.581 MB / 376.9 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.1472, allocations: 0.5617 MB / 377.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1698/0.3171, allocations: 4.98 MB / 382.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006942/0.3241, allocations: 4.082 MB / 386.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.3265, allocations: 1.021 MB / 387.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003201/0.3297, allocations: 1.681 MB / 389.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000582/0.3303, allocations: 121.8 kB / 389.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.3326, allocations: 1.019 MB / 390.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.3341, allocations: 1.513 MB / 391.9 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.3357, allocations: 1.759 MB / 393.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005368/0.3411, allocations: 5.805 MB / 399.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3411, allocations: 6.562 kB / 399.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3411, allocations: 0 / 399.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001509/0.3413, allocations: 0 / 399.4 MB, free: 6.621 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.008277/0.3496, allocations: 3.468 MB / 402.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3496, allocations: 14 kB / 402.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006644/0.3563, allocations: 1.876 MB / 404.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.3603, allocations: 2.067 MB / 406.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.3604, allocations: 210.7 kB / 407.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008528/0.3613, allocations: 372.5 kB / 407.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.3745, allocations: 8.876 MB / 416.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.412e-05/0.3747, allocations: 34.84 kB / 416.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003848/0.3751, allocations: 142.6 kB / 416.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002548/0.3776, allocations: 1.645 MB / 418.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.3928, allocations: 7.504 MB / 425.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04595/0.4388, allocations: 35.17 MB / 460.8 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008854/0.4477, allocations: 3.443 MB / 464.2 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.4497, allocations: 1.447 MB / 465.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.4601, allocations: 6.814 MB / 472.5 MB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.4602, allocations: 46.31 kB / 472.6 MB, free: 5.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 5.75e-06/0.4602, allocations: 0 / 472.6 MB, free: 5.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02756/0.4878, allocations: 11.13 MB / 483.7 MB, free: 10.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00134/0.4892, allocations: 1.621 MB / 485.3 MB, free: 8.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004944/0.4941, allocations: 3.551 MB / 488.9 MB, free: 5.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003105/0.4945, allocations: 45.64 kB / 488.9 MB, free: 5.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/0.4963, allocations: 2.791 MB / 491.7 MB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006698/0.497, allocations: 0.5661 MB / 492.3 MB, free: 1.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005772/0.4976, allocations: 484.6 kB / 492.7 MB, free: 1.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.4977, allocations: 301.1 kB / 493 MB, free: 1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/0.5005, allocations: 1.916 MB / 494.9 MB, free: 15.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005334/0.5059, allocations: 5.372 MB / 0.4886 GB, free: 8.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009794/0.5157, allocations: 7.838 MB / 0.4962 GB, free: 14.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/0.5159, allocations: 36 kB / 0.4963 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02362/0.5395, allocations: 8.746 MB / 0.5048 GB, free: 6.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.883e-05/0.5397, allocations: 63.94 kB / 0.5049 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01118/0.5509, allocations: 3.436 MB / 0.5082 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01115/0.5621, allocations: 2.229 MB / 0.5104 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004237/0.5664, allocations: 1.252 MB / 0.5116 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.5773, allocations: 6.82 MB / 0.5183 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005429/0.5828, allocations: 379.3 kB / 0.5187 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/0.5843, allocations: 344 kB / 0.519 GB, free: 8.195 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.004943/0.5892, allocations: 1.853 MB / 0.5208 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000886/0.5901, allocations: 304 kB / 0.5211 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006244/0.5964, allocations: 2.769 MB / 0.5238 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00472/0.6011, allocations: 2.355 MB / 0.5261 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.6011, allocations: 3.938 kB / 0.5261 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.6012, allocations: 11.97 kB / 0.5261 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.6165, allocations: 7.853 MB / 0.5338 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.6166, allocations: 0 / 0.5338 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.6177, allocations: 227.6 kB / 0.534 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003228/0.6209, allocations: 1.049 MB / 0.535 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/0.6211, allocations: 35.97 kB / 0.535 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005734/0.6268, allocations: 4.968 MB / 0.5399 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001057/0.6279, allocations: 1.482 MB / 0.5413 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1894/0.8173, allocations: 4.947 MB / 0.5462 GB, free: 174.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009548/0.8183, allocations: 378.8 kB / 0.5465 GB, free: 174.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003961/0.8187, allocations: 28.61 kB / 0.5466 GB, free: 174.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.8202, allocations: 129.2 kB / 0.5467 GB, free: 174.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/0.8205, allocations: 86.23 kB / 0.5468 GB, free: 174.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.8206, allocations: 41.38 kB / 0.5468 GB, free: 174.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003881/0.8245, allocations: 2.199 MB / 0.549 GB, free: 174.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8245, allocations: 2.953 kB / 0.549 GB, free: 174.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005346/0.8299, allocations: 0.9722 MB / 0.5499 GB, free: 174.1 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.0005105/0.8304, allocations: 167.6 kB / 0.5501 GB, free: 174 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01045/0.8409, allocations: 5.194 MB / 0.5551 GB, free: 172.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.8409, allocations: 2.125 kB / 0.5551 GB, free: 172.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003868/0.8448, allocations: 2.009 MB / 0.5571 GB, free: 171.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/0.8485, allocations: 371.9 kB / 0.5575 GB, free: 171.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.8629, allocations: 10.4 MB / 0.5676 GB, free: 165.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004007/0.867, allocations: 2.915 MB / 0.5705 GB, free: 164.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004354/0.8714, allocations: 1.705 MB / 0.5721 GB, free: 164.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000623/0.872, allocations: 214.9 kB / 0.5723 GB, free: 164.2 MB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/0.872, allocations: 0 / 0.5723 GB, free: 164.2 MB / 462.1 MB Notification: Performance of Templates: time 0.05815/0.9302, allocations: 34.5 MB / 0.606 GB, free: 132.1 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches