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.005152/0.005152, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.005378/0.005378, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9928/0.9928, allocations: 177.1 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.806e-05, allocations: 2.312 kB / 273 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03591/0.03594, allocations: 10.16 MB / 283.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007866/0.04381, allocations: 3.769 MB / 286.9 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.04568, allocations: 75.62 kB / 287 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004619/0.0503, allocations: 2.472 MB / 289.5 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1187/0.169, allocations: 1.765 MB / 291.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.1703, allocations: 0.6739 MB / 291.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00446/0.1748, allocations: 3.877 MB / 295.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003554/0.1783, allocations: 2.77 MB / 298.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003151/0.1815, allocations: 2.078 MB / 300.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002427/0.1839, allocations: 1.991 MB / 302.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008142/0.1847, allocations: 297.1 kB / 302.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.1863, allocations: 1.083 MB / 304 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.1874, allocations: 1.814 MB / 305.8 MB, free: 12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.1887, allocations: 1.131 MB / 306.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.1923, allocations: 4.042 MB / 311 MB, free: 9.262 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.1923, allocations: 0 / 311 MB, free: 9.262 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1923, allocations: 0 / 311 MB, free: 9.262 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002234/0.1925, allocations: 0 / 311 MB, free: 9.262 MB / 266.7 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.005418/0.1979, allocations: 4.609 MB / 315.6 MB, free: 4.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.198, allocations: 11.22 kB / 315.6 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003695/0.2017, allocations: 2.342 MB / 317.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.2035, allocations: 1.859 MB / 319.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/0.2036, allocations: 215.9 kB / 320 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/0.204, allocations: 362.5 kB / 320.4 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006388/0.2104, allocations: 5.581 MB / 325.9 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-05/0.2105, allocations: 31 kB / 326 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.2107, allocations: 135.9 kB / 326.1 MB, free: 9.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001505/0.2122, allocations: 1.644 MB / 327.8 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005775/0.218, allocations: 3.099 MB / 330.9 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02645/0.2444, allocations: 38.73 MB / 369.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00448/0.2489, allocations: 2.024 MB / 371.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.2496, allocations: 0.5137 MB / 372.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004775/0.2543, allocations: 4.122 MB / 376.2 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.2544, allocations: 60.56 kB / 376.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 2.604e-06/0.2544, allocations: 0 / 376.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.01421/0.2686, allocations: 8.172 MB / 384.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000935/0.2695, allocations: 2.036 MB / 386.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00303/0.2726, allocations: 3.156 MB / 389.7 MB, free: 9.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.942e-05/0.2726, allocations: 44.91 kB / 389.7 MB, free: 9.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/0.2744, allocations: 3.043 MB / 392.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005269/0.2749, allocations: 0.6141 MB / 393.4 MB, free: 5.906 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.276, allocations: 1.183 MB / 394.6 MB, free: 4.715 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2761, allocations: 486.7 kB / 395 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.2772, allocations: 0.6384 MB / 395.7 MB, free: 3.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003661/0.2808, allocations: 5.74 MB / 401.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005594/0.2864, allocations: 7.068 MB / 408.5 MB, free: 2.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.767e-05/0.2865, allocations: 36 kB / 408.5 MB, free: 2.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01115/0.2976, allocations: 6.236 MB / 414.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.2977, allocations: 63.94 kB / 414.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007748/0.3054, allocations: 2.176 MB / 417 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007755/0.3132, allocations: 1.831 MB / 418.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004238/0.3174, allocations: 1.263 MB / 420.1 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007011/0.3244, allocations: 4.799 MB / 424.9 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004983/0.3294, allocations: 423.4 kB / 425.3 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005381/0.3299, allocations: 340 kB / 425.6 MB, free: 0.6914 MB / 378.7 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.001222/0.3312, allocations: 0.6132 MB / 426.2 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004643/0.3316, allocations: 322.1 kB / 426.5 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.332, allocations: 327.4 kB / 426.9 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002046/0.334, allocations: 1.137 MB / 428 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.334, allocations: 4 kB / 428 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.334, allocations: 7.922 kB / 428 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007712/0.3417, allocations: 5.592 MB / 433.6 MB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.3418, allocations: 0 / 433.6 MB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.3424, allocations: 227.6 kB / 433.8 MB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.3438, allocations: 0.5681 MB / 434.4 MB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.79e-05/0.3438, allocations: 35.97 kB / 434.4 MB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/0.3467, allocations: 4.23 MB / 438.7 MB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006738/0.3474, allocations: 1.904 MB / 440.6 MB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1278/0.4752, allocations: 2.541 MB / 443.1 MB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006584/0.4758, allocations: 279.5 kB / 443.4 MB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/0.4761, allocations: 28.92 kB / 443.4 MB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008083/0.477, allocations: 150.7 kB / 443.6 MB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.4772, allocations: 90.94 kB / 443.6 MB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.728e-05/0.4773, allocations: 45.92 kB / 443.7 MB, free: 124.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001935/0.4792, allocations: 1.335 MB / 445 MB, free: 124.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4792, allocations: 0 / 445 MB, free: 124.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003189/0.4824, allocations: 1.003 MB / 446 MB, free: 124.2 MB / 394.7 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.0004211/0.4828, allocations: 176.6 kB / 446.2 MB, free: 124.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005447/0.4883, allocations: 3.373 MB / 449.6 MB, free: 123.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.4883, allocations: 0 / 449.6 MB, free: 123.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.4903, allocations: 1.321 MB / 450.9 MB, free: 123.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.4921, allocations: 370.8 kB / 451.3 MB, free: 123.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009571/0.5016, allocations: 6.846 MB / 458.1 MB, free: 120.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000859/0.5025, allocations: 1.059 MB / 459.2 MB, free: 120.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001996/0.5045, allocations: 1.445 MB / 460.6 MB, free: 120.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.5048, allocations: 204.9 kB / 460.8 MB, free: 120.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.994e-06/0.5048, allocations: 4 kB / 460.8 MB, free: 120.1 MB / 394.7 MB Notification: Performance of Templates: time 0.04141/0.5462, allocations: 32.91 MB / 493.7 MB, free: 93.85 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.092557216063142]