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.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.0009089/0.0009089, allocations: 84.98 kB / 22.99 MB, free: 1.504 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.001441/0.001441, allocations: 175.1 kB / 26.4 MB, free: 7.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8513/0.8513, allocations: 158.6 MB / 188.3 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.553e-05, allocations: 6.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007366/0.007381, allocations: 9.879 MB / 262.1 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.01235, allocations: 3.7 MB / 265.8 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007281/0.01308, allocations: 75.62 kB / 265.9 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.01548, allocations: 2.441 MB / 268.4 MB, free: 7.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.01794, allocations: 1.816 MB / 270.2 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.01878, allocations: 0.6627 MB / 270.8 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.02155, allocations: 3.84 MB / 274.7 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.02355, allocations: 2.794 MB / 277.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.02519, allocations: 2.101 MB / 279.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.02683, allocations: 1.999 MB / 281.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.02713, allocations: 296 kB / 281.9 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.02827, allocations: 1.1 MB / 283 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009967/0.02927, allocations: 1.839 MB / 284.8 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008632/0.03013, allocations: 1.149 MB / 285.9 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.03298, allocations: 4.094 MB / 290 MB, free: 1.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.03298, allocations: 0 / 290 MB, free: 1.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.03298, allocations: 4 kB / 290 MB, free: 1.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.1e-05/0.03302, allocations: 0 / 290 MB, free: 1.281 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.004367/0.03739, allocations: 4.477 MB / 294.5 MB, free: 12.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.03742, allocations: 11.98 kB / 294.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.0405, allocations: 1.356 MB / 295.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.04267, allocations: 1.718 MB / 297.6 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/0.04304, allocations: 221.5 kB / 297.8 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006263/0.04367, allocations: 351.7 kB / 298.2 MB, free: 9.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00625/0.04992, allocations: 4.999 MB / 303.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.906e-05/0.05, allocations: 43.62 kB / 303.2 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/0.0503, allocations: 135.8 kB / 303.3 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001936/0.05223, allocations: 1.474 MB / 304.8 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005166/0.0574, allocations: 2.4 MB / 307.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02711/0.08451, allocations: 38.28 MB / 345.5 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00475/0.08926, allocations: 1.757 MB / 347.3 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.08988, allocations: 442 kB / 347.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004165/0.09405, allocations: 3.952 MB / 351.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.09408, allocations: 46.05 kB / 351.7 MB, free: 1.289 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 3.055e-06/0.09408, allocations: 4 kB / 351.7 MB, free: 1.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.1106/0.2047, allocations: 4.77 MB / 356.5 MB, free: 97.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006056/0.2053, allocations: 2.005 MB / 358.5 MB, free: 95.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.2077, allocations: 3.157 MB / 361.6 MB, free: 94.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.33e-05/0.2078, allocations: 46.61 kB / 361.7 MB, free: 94.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.2089, allocations: 3.072 MB / 364.7 MB, free: 93.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.2093, allocations: 0.6152 MB / 365.4 MB, free: 92.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00091/0.2102, allocations: 1.216 MB / 366.6 MB, free: 92.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.2102, allocations: 483.1 kB / 367 MB, free: 92.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008709/0.2111, allocations: 0.5756 MB / 367.6 MB, free: 92.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.2131, allocations: 5.704 MB / 373.3 MB, free: 85.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/0.2165, allocations: 6.963 MB / 380.3 MB, free: 77.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-05/0.2166, allocations: 36 kB / 380.3 MB, free: 77.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.007202/0.2238, allocations: 4.897 MB / 385.2 MB, free: 73.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.2238, allocations: 60.22 kB / 385.3 MB, free: 73.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003657/0.2275, allocations: 1.087 MB / 386.4 MB, free: 72.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003751/0.2312, allocations: 0.5722 MB / 386.9 MB, free: 71.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.2332, allocations: 1.205 MB / 388.1 MB, free: 70.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/0.2365, allocations: 4.278 MB / 392.4 MB, free: 66.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.239, allocations: 259.6 kB / 392.7 MB, free: 65.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/0.2392, allocations: 300 kB / 393 MB, free: 65.69 MB / 330.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.0009535/0.2402, allocations: 0.6061 MB / 393.6 MB, free: 65.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.2405, allocations: 326.1 kB / 393.9 MB, free: 64.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.2423, allocations: 1.206 MB / 395.1 MB, free: 63.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001327/0.2436, allocations: 0.8089 MB / 395.9 MB, free: 62.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2437, allocations: 4 kB / 395.9 MB, free: 62.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.2437, allocations: 15.97 kB / 395.9 MB, free: 62.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00544/0.2491, allocations: 4.381 MB / 400.3 MB, free: 58.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.2491, allocations: 1.312 kB / 400.3 MB, free: 58.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.2496, allocations: 187.7 kB / 400.5 MB, free: 58.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.2507, allocations: 367.1 kB / 400.8 MB, free: 57.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/0.2508, allocations: 31.98 kB / 400.9 MB, free: 57.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.2525, allocations: 3.989 MB / 404.9 MB, free: 53.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003979/0.2529, allocations: 1.869 MB / 406.7 MB, free: 51.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.2552, allocations: 2.167 MB / 408.9 MB, free: 49.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.2556, allocations: 281.9 kB / 409.2 MB, free: 48.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.2558, allocations: 31.98 kB / 409.2 MB, free: 48.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.2564, allocations: 20 kB / 409.2 MB, free: 48.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.2565, allocations: 100.3 kB / 409.3 MB, free: 48.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/0.2566, allocations: 31.98 kB / 409.4 MB, free: 48.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008545/0.2575, allocations: 1.256 MB / 410.6 MB, free: 47.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2575, allocations: 0 / 410.6 MB, free: 47.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002893/0.2603, allocations: 1.027 MB / 411.6 MB, free: 46.46 MB / 330.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.0003036/0.2607, allocations: 188.3 kB / 411.8 MB, free: 46.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003357/0.264, allocations: 2.989 MB / 414.8 MB, free: 43.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.264, allocations: 0 / 414.8 MB, free: 43.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.2652, allocations: 1.028 MB / 415.8 MB, free: 42.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.2663, allocations: 373.9 kB / 416.2 MB, free: 41.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/0.2728, allocations: 6.843 MB / 423.1 MB, free: 34.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.2735, allocations: 1.065 MB / 424.1 MB, free: 33.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009031/0.2744, allocations: 431.9 kB / 424.5 MB, free: 33.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006204/0.275, allocations: 0.5254 MB / 425.1 MB, free: 32.85 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.275, allocations: 0 / 425.1 MB, free: 32.85 MB / 330.7 MB Notification: Performance of Templates: time 0.04277/0.3178, allocations: 35.66 MB / 460.7 MB, free: 13.12 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] 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","",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.92013298580423]