Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 215.1 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 51.92 kB / 378.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2899, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01238/0.3023, allocations: 10.5 MB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008797/0.3111, allocations: 3.89 MB / 446 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.3126, allocations: 75.56 kB / 446.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004546/0.3171, allocations: 2.336 MB / 448.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004508/0.3216, allocations: 1.708 MB / 450.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.323, allocations: 0.6083 MB / 450.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004831/0.3278, allocations: 3.489 MB / 454.2 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.3307, allocations: 2.442 MB / 456.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.3326, allocations: 1.374 MB / 458.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/0.3353, allocations: 1.951 MB / 460 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004946/0.3358, allocations: 291.9 kB / 460.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.3379, allocations: 1.17 MB / 461.5 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001659/0.3395, allocations: 1.714 MB / 463.2 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.3415, allocations: 1.946 MB / 465.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009678/0.3511, allocations: 6.22 MB / 471.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3512, allocations: 0 / 471.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3512, allocations: 0 / 471.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001081/0.3513, allocations: 0 / 471.3 MB, free: 15.04 MB / 382.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.01094/0.3622, allocations: 4.242 MB / 475.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3622, allocations: 8.031 kB / 475.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.3727, allocations: 1.913 MB / 477.5 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006794/0.3795, allocations: 1.977 MB / 479.5 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.3798, allocations: 217.4 kB / 479.7 MB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.3809, allocations: 367.7 kB / 480 MB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02415/0.4051, allocations: 8.897 MB / 488.9 MB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.4052, allocations: 39.64 kB / 489 MB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005607/0.4058, allocations: 135.9 kB / 489.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003777/0.4095, allocations: 1.641 MB / 490.8 MB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/0.4326, allocations: 7.529 MB / 498.3 MB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04626/0.4789, allocations: 34.95 MB / 0.5207 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008313/0.4872, allocations: 2.924 MB / 0.5236 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.4891, allocations: 1.373 MB / 0.5249 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.4992, allocations: 5.698 MB / 0.5305 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.4992, allocations: 47.16 kB / 0.5305 GB, free: 5.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.377e-06/0.4992, allocations: 0 / 0.5305 GB, free: 5.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2491/0.7484, allocations: 11.05 MB / 0.5413 GB, free: 99.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001034/0.7494, allocations: 1.607 MB / 0.5429 GB, free: 97.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004924/0.7543, allocations: 3.53 MB / 0.5463 GB, free: 96.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003184/0.7547, allocations: 45.61 kB / 0.5464 GB, free: 96.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.756, allocations: 2.904 MB / 0.5492 GB, free: 94.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005532/0.7566, allocations: 0.5938 MB / 0.5498 GB, free: 94.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.7576, allocations: 1.111 MB / 0.5509 GB, free: 93.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.7577, allocations: 301.1 kB / 0.5512 GB, free: 93.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.7599, allocations: 1.927 MB / 0.5531 GB, free: 92.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003127/0.7631, allocations: 5.375 MB / 0.5583 GB, free: 87.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006099/0.7692, allocations: 7.855 MB / 0.566 GB, free: 79.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.665e-05/0.7692, allocations: 36.81 kB / 0.566 GB, free: 79.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01778/0.787, allocations: 8.858 MB / 0.5747 GB, free: 71.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.671e-05/0.7871, allocations: 59.94 kB / 0.5747 GB, free: 71.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009593/0.7967, allocations: 3.514 MB / 0.5782 GB, free: 67.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009885/0.8066, allocations: 2.324 MB / 0.5804 GB, free: 65.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/0.8104, allocations: 1.252 MB / 0.5816 GB, free: 63.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008332/0.8187, allocations: 7.252 MB / 0.5887 GB, free: 56.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/0.8233, allocations: 391.5 kB / 0.5891 GB, free: 56.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008644/0.8242, allocations: 340 kB / 0.5894 GB, free: 55.79 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.002653/0.8268, allocations: 1.849 MB / 0.5912 GB, free: 53.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/0.8275, allocations: 313.9 kB / 0.5915 GB, free: 53.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.8281, allocations: 410.1 kB / 0.5919 GB, free: 53.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003939/0.8321, allocations: 2.359 MB / 0.5942 GB, free: 50.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.8321, allocations: 7.938 kB / 0.5942 GB, free: 50.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.8321, allocations: 7.969 kB / 0.5942 GB, free: 50.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.8441, allocations: 7.73 MB / 0.6018 GB, free: 43.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.8441, allocations: 4 kB / 0.6018 GB, free: 43.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.8452, allocations: 235.6 kB / 0.602 GB, free: 42.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002732/0.8479, allocations: 1.061 MB / 0.6031 GB, free: 41.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.848, allocations: 35.97 kB / 0.6031 GB, free: 41.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004275/0.8523, allocations: 5.068 MB / 0.608 GB, free: 36.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006812/0.853, allocations: 1.461 MB / 0.6095 GB, free: 34.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006509/0.8595, allocations: 5.002 MB / 0.6144 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000952/0.8605, allocations: 301.7 kB / 0.6146 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/0.8608, allocations: 31.94 kB / 0.6147 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.8621, allocations: 127.7 kB / 0.6148 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.8623, allocations: 92.47 kB / 0.6149 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.945e-05/0.8624, allocations: 39.98 kB / 0.6149 GB, free: 29.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002614/0.865, allocations: 2.183 MB / 0.617 GB, free: 26.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.865, allocations: 0 / 0.617 GB, free: 26.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004223/0.8693, allocations: 0.9566 MB / 0.618 GB, free: 26.04 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.0003446/0.8696, allocations: 169.2 kB / 0.6181 GB, free: 25.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007185/0.8768, allocations: 4.894 MB / 0.6229 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8768, allocations: 0 / 0.6229 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003149/0.88, allocations: 1.799 MB / 0.6247 GB, free: 19.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.8822, allocations: 397.3 kB / 0.6251 GB, free: 18.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.8931, allocations: 8.626 MB / 0.6335 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/0.8953, allocations: 2.897 MB / 0.6363 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003055/0.8983, allocations: 1.695 MB / 0.638 GB, free: 5.453 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.8988, allocations: 215.4 kB / 0.6382 GB, free: 5.242 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.8988, allocations: 0 / 0.6382 GB, free: 5.242 MB / 446.1 MB Notification: Performance of Templates: time 0.07032/0.9691, allocations: 37.06 MB / 0.6744 GB, free: 444 kB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.495958351995796]