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.001028/0.001028, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001137/0.001137, allocations: 170.4 kB / 25.6 MB, free: 8.898 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.8485/0.8485, allocations: 158.6 MB / 187.5 MB, free: 2.789 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.824e-06/1.824e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.811e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007881/0.007899, allocations: 9.875 MB / 261.3 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004859/0.01276, allocations: 3.72 MB / 265.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006177/0.01338, allocations: 75.62 kB / 265.1 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.01572, allocations: 2.437 MB / 267.6 MB, free: 7.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.01792, allocations: 1.808 MB / 269.4 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.01871, allocations: 0.6743 MB / 270.1 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002796/0.0215, allocations: 3.825 MB / 273.9 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/0.02348, allocations: 2.794 MB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.02526, allocations: 2.109 MB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.02697, allocations: 1.995 MB / 280.8 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000399/0.02737, allocations: 300 kB / 281.1 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.02887, allocations: 1.1 MB / 282.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.02993, allocations: 1.831 MB / 284 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009163/0.03084, allocations: 1.149 MB / 285.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003078/0.03392, allocations: 4.098 MB / 289.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.03392, allocations: 0 / 289.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.03393, allocations: 0 / 289.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.183e-05/0.03398, allocations: 0 / 289.3 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.004307/0.03829, allocations: 4.477 MB / 293.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.03833, allocations: 19.98 kB / 293.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/0.04119, allocations: 1.348 MB / 295.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.04302, allocations: 1.722 MB / 296.8 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.04312, allocations: 217.6 kB / 297 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005435/0.04366, allocations: 363.7 kB / 297.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007735/0.0514, allocations: 4.991 MB / 302.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.812e-05/0.0515, allocations: 43.62 kB / 302.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000354/0.05185, allocations: 139.8 kB / 302.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00191/0.05376, allocations: 1.466 MB / 304 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006378/0.06014, allocations: 2.407 MB / 306.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03142/0.09156, allocations: 38.28 MB / 344.7 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003684/0.09524, allocations: 1.761 MB / 346.5 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.09573, allocations: 446.1 kB / 346.9 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004394/0.1001, allocations: 3.948 MB / 350.9 MB, free: 1.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.1002, allocations: 57.97 kB / 350.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 4.218e-06/0.1002, allocations: 0 / 350.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.1257/0.2259, allocations: 4.776 MB / 355.7 MB, free: 97.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007035/0.2266, allocations: 2.006 MB / 357.7 MB, free: 95.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.2292, allocations: 3.155 MB / 360.8 MB, free: 94.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.2294, allocations: 41.83 kB / 360.9 MB, free: 94.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.2305, allocations: 3.084 MB / 364 MB, free: 92.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004146/0.2309, allocations: 0.6144 MB / 364.6 MB, free: 92.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009757/0.2319, allocations: 1.212 MB / 365.8 MB, free: 92.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.2319, allocations: 480.6 kB / 366.3 MB, free: 91.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008784/0.2328, allocations: 0.5734 MB / 366.8 MB, free: 91.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.2348, allocations: 5.706 MB / 372.5 MB, free: 85.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/0.2384, allocations: 6.967 MB / 379.5 MB, free: 77.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.906e-05/0.2384, allocations: 36 kB / 379.6 MB, free: 77.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.007666/0.2461, allocations: 4.893 MB / 384.4 MB, free: 73.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/0.2461, allocations: 56 kB / 384.5 MB, free: 73.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003392/0.2495, allocations: 1.092 MB / 385.6 MB, free: 72.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003643/0.2532, allocations: 0.5693 MB / 386.2 MB, free: 71.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.2553, allocations: 1.205 MB / 387.4 MB, free: 70.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.2584, allocations: 4.283 MB / 391.6 MB, free: 66.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003113/0.2615, allocations: 255.6 kB / 391.9 MB, free: 65.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003858/0.2619, allocations: 296 kB / 392.2 MB, free: 65.67 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.001163/0.2631, allocations: 0.6109 MB / 392.8 MB, free: 65.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/0.2635, allocations: 322.1 kB / 393.1 MB, free: 64.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.2653, allocations: 1.208 MB / 394.3 MB, free: 63.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001331/0.2666, allocations: 0.8089 MB / 395.1 MB, free: 62.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.2666, allocations: 4.625 kB / 395.1 MB, free: 62.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.2666, allocations: 7.984 kB / 395.1 MB, free: 62.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005682/0.2723, allocations: 4.389 MB / 399.5 MB, free: 58.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2723, allocations: 5.531 kB / 399.5 MB, free: 58.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.2728, allocations: 182.6 kB / 399.7 MB, free: 57.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.2738, allocations: 365 kB / 400.1 MB, free: 57.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/0.2739, allocations: 35.97 kB / 400.1 MB, free: 57.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.2756, allocations: 3.989 MB / 404.1 MB, free: 53.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003992/0.276, allocations: 1.87 MB / 406 MB, free: 51.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.2784, allocations: 2.169 MB / 408.1 MB, free: 49.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/0.2788, allocations: 273.9 kB / 408.4 MB, free: 48.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.279, allocations: 27.98 kB / 408.4 MB, free: 48.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/0.2796, allocations: 28 kB / 408.5 MB, free: 48.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.2798, allocations: 99.25 kB / 408.6 MB, free: 48.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.2798, allocations: 31.98 kB / 408.6 MB, free: 48.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009743/0.2808, allocations: 1.256 MB / 409.8 MB, free: 47.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2808, allocations: 0 / 409.8 MB, free: 47.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003228/0.284, allocations: 1.027 MB / 410.9 MB, free: 46.43 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.0003586/0.2844, allocations: 191.5 kB / 411.1 MB, free: 46.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005535/0.2899, allocations: 2.989 MB / 414 MB, free: 43.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2899, allocations: 0 / 414 MB, free: 43.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.2919, allocations: 1.028 MB / 415.1 MB, free: 42.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/0.2943, allocations: 370.7 kB / 415.4 MB, free: 41.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.3046, allocations: 6.842 MB / 422.3 MB, free: 34.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.3053, allocations: 1.068 MB / 423.3 MB, free: 33.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001072/0.3064, allocations: 431.3 kB / 423.8 MB, free: 33.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006457/0.3071, allocations: 0.5293 MB / 424.3 MB, free: 32.8 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.3071, allocations: 0 / 424.3 MB, free: 32.8 MB / 330.7 MB Notification: Performance of Templates: time 0.04223/0.3493, allocations: 34.92 MB / 459.2 MB, free: 13.86 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.7924879090860486]