Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008451/0.0008451, allocations: 88.66 kB / 16.65 MB, free: 6.535 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.0008147/0.0008147, allocations: 175.4 kB / 17.56 MB, free: 6.184 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.343/1.343, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003153, allocations: 11.94 kB / 301.4 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1001, allocations: 50.42 MB / 351.8 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01306/0.1132, allocations: 13.37 MB / 365.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008728/0.122, allocations: 4.242 MB / 369.5 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.1238, allocations: 51.88 kB / 369.5 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007973/0.1246, allocations: 270.8 kB / 369.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.128, allocations: 1.305 MB / 371.1 MB, free: 132 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1759/0.3039, allocations: 465.1 kB / 371.5 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005704/0.3096, allocations: 4.12 MB / 375.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009646/0.3106, allocations: 0.5391 MB / 376.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.312, allocations: 0.6895 MB / 376.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.3139, allocations: 1.31 MB / 378.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.3142, allocations: 82.88 kB / 378.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.3162, allocations: 0.9606 MB / 379.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.3179, allocations: 1.07 MB / 380.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.3197, allocations: 1.218 MB / 381.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005526/0.3253, allocations: 3.787 MB / 385.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3253, allocations: 8.172 kB / 385.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3253, allocations: 0 / 385.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.3255, allocations: 0 / 385.3 MB, free: 7.078 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.00737/0.3329, allocations: 2.696 MB / 388 MB, free: 5.352 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.333, allocations: 10.12 kB / 388 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008575/0.3415, allocations: 1.938 MB / 390 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.3447, allocations: 1.634 MB / 391.6 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.243e-05/0.3448, allocations: 111 kB / 391.7 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009753/0.3458, allocations: 302 kB / 392 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.3599, allocations: 8.244 MB / 400.2 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.899e-05/0.36, allocations: 44.58 kB / 400.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003002/0.3604, allocations: 74.56 kB / 400.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002328/0.3627, allocations: 1.397 MB / 401.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01977/0.3825, allocations: 9.528 MB / 411.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03856/0.4211, allocations: 30.58 MB / 441.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/0.4339, allocations: 4.431 MB / 446.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003169/0.4371, allocations: 2.123 MB / 448.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.107e-05/0.4372, allocations: 14.89 kB / 448.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.4373, allocations: 54.48 kB / 448.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.246e-06/0.4373, allocations: 0 / 448.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.05054/0.4878, allocations: 18.39 MB / 466.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002323/0.4902, allocations: 3.054 MB / 469.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004879/0.4951, allocations: 2.983 MB / 472.9 MB, free: 3.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006287/0.4958, allocations: 52.53 kB / 473 MB, free: 3.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.4973, allocations: 2.073 MB / 475 MB, free: 1.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.4983, allocations: 0.5674 MB / 475.6 MB, free: 1.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008188/0.4991, allocations: 424.7 kB / 476 MB, free: 0.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.4992, allocations: 305.1 kB / 476.3 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004243/0.5035, allocations: 2.625 MB / 478.9 MB, free: 13.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00667/0.5102, allocations: 5.588 MB / 484.5 MB, free: 6.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/0.5215, allocations: 8.628 MB / 493.2 MB, free: 12.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.19e-05/0.5216, allocations: 32 kB / 493.2 MB, free: 12.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03569/0.5573, allocations: 11.78 MB / 0.4931 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.644e-05/0.5575, allocations: 48.22 kB / 0.4932 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02474/0.5822, allocations: 7.012 MB / 0.5 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02401/0.6063, allocations: 4.546 MB / 0.5045 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004581/0.6109, allocations: 1.244 MB / 0.5057 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/0.6282, allocations: 11.48 MB / 0.5169 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00629/0.6346, allocations: 0.5738 MB / 0.5175 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/0.6362, allocations: 317.7 kB / 0.5178 GB, free: 7.152 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003465/0.6397, allocations: 1.409 MB / 0.5191 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006402/0.6404, allocations: 260.7 kB / 0.5194 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.6415, allocations: 415 kB / 0.5198 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01279/0.6543, allocations: 5.018 MB / 0.5247 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/0.6543, allocations: 4 kB / 0.5247 GB, free: 0 / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1805/0.8348, allocations: 5.172 kB / 0.5247 GB, free: 148.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009755/0.8446, allocations: 5.358 MB / 0.5299 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.8446, allocations: 5.219 kB / 0.5299 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/0.8465, allocations: 368.3 kB / 0.5303 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009595/0.8561, allocations: 2.383 MB / 0.5326 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005709/0.8567, allocations: 47.97 kB / 0.5327 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008781/0.8655, allocations: 8.848 MB / 0.5413 GB, free: 142.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001418/0.867, allocations: 2.89 MB / 0.5441 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/0.8828, allocations: 8.768 MB / 0.5527 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009711/0.8838, allocations: 333.6 kB / 0.553 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005883/0.8844, allocations: 36.09 kB / 0.553 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/0.8866, allocations: 314.7 kB / 0.5533 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004643/0.8871, allocations: 107.6 kB / 0.5534 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.8872, allocations: 52.06 kB / 0.5535 GB, free: 136.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003035/0.8903, allocations: 1.861 MB / 0.5553 GB, free: 136.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8903, allocations: 0 / 0.5553 GB, free: 136.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004764/0.8951, allocations: 1.014 MB / 0.5563 GB, free: 136 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (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.0005942/0.8957, allocations: 186.7 kB / 0.5565 GB, free: 135.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0118/0.9075, allocations: 7.389 MB / 0.5637 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.9075, allocations: 3 kB / 0.5637 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005727/0.9133, allocations: 3.613 MB / 0.5672 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.9161, allocations: 297 kB / 0.5675 GB, free: 126.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.9272, allocations: 9.604 MB / 0.5769 GB, free: 117.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.9289, allocations: 2.287 MB / 0.5791 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003607/0.9325, allocations: 1.663 MB / 0.5807 GB, free: 113.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/0.9333, allocations: 199.3 kB / 0.5809 GB, free: 112.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.372e-06/0.9333, allocations: 0 / 0.5809 GB, free: 112.9 MB / 446.1 MB Notification: Performance of Templates: time 0.05673/0.99, allocations: 43.73 MB / 0.6236 GB, free: 69.25 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches