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.0009943/0.0009943, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002558, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001024/0.001024, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002504, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9917/0.9917, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09812/1.09, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.613e-06/1.613e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.259e-05, allocations: 6.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007592/0.007614, allocations: 9.966 MB / 254.5 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.01197, allocations: 3.9 MB / 258.4 MB, free: 392 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004565/0.01242, allocations: 75.62 kB / 258.5 MB, free: 316 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.01456, allocations: 2.347 MB / 260.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.01644, allocations: 1.746 MB / 262.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.01708, allocations: 0.6159 MB / 263.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002394/0.01947, allocations: 3.813 MB / 267 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.02118, allocations: 2.56 MB / 269.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.02275, allocations: 2.186 MB / 271.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.02421, allocations: 1.89 MB / 273.6 MB, free: 1.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.02449, allocations: 296 kB / 273.9 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1298/0.1543, allocations: 1.107 MB / 275 MB, free: 7.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002306/0.1566, allocations: 1.623 MB / 276.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.1589, allocations: 0.9285 MB / 277.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005512/0.1644, allocations: 3.763 MB / 281.3 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.657e-05/0.1644, allocations: 2.312 kB / 281.3 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1644, allocations: 1.312 kB / 281.3 MB, free: 6.754 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000236/0.1646, allocations: 0 / 281.3 MB, free: 6.754 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.009569/0.1742, allocations: 4.755 MB / 286.1 MB, free: 4.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1742, allocations: 9.594 kB / 286.1 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/0.1771, allocations: 1.038 MB / 287.1 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.1793, allocations: 1.564 MB / 288.7 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.509e-05/0.1794, allocations: 216.7 kB / 288.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005405/0.1799, allocations: 356.9 kB / 289.3 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00585/0.1858, allocations: 4.498 MB / 293.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.096e-05/0.1859, allocations: 31.81 kB / 293.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003013/0.1862, allocations: 134.6 kB / 293.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001246/0.1874, allocations: 1.486 MB / 295.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004868/0.1923, allocations: 2.349 MB / 297.8 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02305/0.2153, allocations: 27.5 MB / 325.3 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003408/0.2187, allocations: 1.635 MB / 326.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.2192, allocations: 355.5 kB / 327.2 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004816/0.224, allocations: 3.576 MB / 330.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.2241, allocations: 54.59 kB / 330.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 4.028e-06/0.2241, allocations: 0 / 330.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=139): time 0.009129/0.2332, allocations: 4.011 MB / 334.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007253/0.2339, allocations: 1.489 MB / 336.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.2367, allocations: 2.809 MB / 339.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.2369, allocations: 44.83 kB / 339.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.2381, allocations: 2.74 MB / 342 MB, free: 8.309 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004865/0.2386, allocations: 0.5856 MB / 342.6 MB, free: 7.754 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009686/0.2395, allocations: 1.029 MB / 343.6 MB, free: 6.836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.2396, allocations: 306.4 kB / 343.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.2409, allocations: 0.7356 MB / 344.6 MB, free: 5.797 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00262/0.2435, allocations: 4.043 MB / 348.7 MB, free: 236 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004181/0.2477, allocations: 5.354 MB / 354 MB, free: 9.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-05/0.2477, allocations: 40 kB / 354.1 MB, free: 9.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.007799/0.2555, allocations: 4.213 MB / 358.3 MB, free: 5.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.375e-05/0.2556, allocations: 56 kB / 358.3 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003193/0.2588, allocations: 0.9789 MB / 359.3 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003116/0.2619, allocations: 0.5674 MB / 359.9 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.2646, allocations: 1.338 MB / 361.2 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/0.2678, allocations: 3.148 MB / 364.4 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.2705, allocations: 258.3 kB / 364.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004528/0.271, allocations: 296 kB / 364.9 MB, free: 14.49 MB / 346.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.001535/0.2725, allocations: 0.5703 MB / 365.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.2729, allocations: 183.8 kB / 365.6 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.2733, allocations: 327.4 kB / 366 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001286/0.2745, allocations: 0.6892 MB / 366.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.2746, allocations: 4 kB / 366.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.2746, allocations: 7.969 kB / 366.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005752/0.2803, allocations: 3.705 MB / 370.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.2803, allocations: 0 / 370.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.2809, allocations: 219.8 kB / 370.6 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.2814, allocations: 265.9 kB / 370.8 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.2826, allocations: 0.4977 MB / 371.3 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.2827, allocations: 31.92 kB / 371.4 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.2848, allocations: 2.864 MB / 374.2 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005623/0.2854, allocations: 1.341 MB / 375.6 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.2878, allocations: 1.871 MB / 377.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004337/0.2883, allocations: 24 kB / 377.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/0.289, allocations: 31.98 kB / 377.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.2891, allocations: 84.47 kB / 377.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.2892, allocations: 31.98 kB / 377.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001353/0.2906, allocations: 1.007 MB / 378.6 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2906, allocations: 0 / 378.6 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003358/0.2939, allocations: 0.9986 MB / 379.6 MB, free: 15.7 MB / 362.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.0003767/0.2943, allocations: 158.8 kB / 379.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003758/0.2981, allocations: 2.696 MB / 382.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001807/0.2982, allocations: 107.5 kB / 382.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.2994, allocations: 0.853 MB / 383.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.3015, allocations: 0.7459 MB / 384.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.3118, allocations: 6.793 MB / 391 MB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.3129, allocations: 1.068 MB / 392 MB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001168/0.314, allocations: 431.9 kB / 392.5 MB, free: 2.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/0.3148, allocations: 497.1 kB / 392.9 MB, free: 2.309 MB / 362.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3148, allocations: 0 / 392.9 MB, free: 2.309 MB / 362.7 MB Notification: Performance of Templates: time 0.1542/0.4689, allocations: 35.09 MB / 428 MB, free: 131.5 MB / 394.7 MB " [Timeout remaining time 660] 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 -ignoreHideResult -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: 3.7900443468242884]