Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009637/0.0009637, allocations: 110.6 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009041/0.0009042, allocations: 55.91 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1845, allocations: 50.45 MB / 407.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.02583/0.2104, allocations: 38.42 MB / 445.5 MB, free: 5.266 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01657/0.227, allocations: 8.566 MB / 454 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006113/0.2332, allocations: 159.6 kB / 454.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.2374, allocations: 2.295 MB / 456.5 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.241, allocations: 1.561 MB / 458.1 MB, free: 8.652 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.2422, allocations: 0.5539 MB / 458.6 MB, free: 8.098 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005492/0.2477, allocations: 5.064 MB / 463.7 MB, free: 3.027 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003497/0.2512, allocations: 3.007 MB / 466.7 MB, free: 15.97 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.253, allocations: 1.214 MB / 467.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.2553, allocations: 1.912 MB / 469.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004654/0.2557, allocations: 200 kB / 470 MB, free: 12.64 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.2578, allocations: 1.092 MB / 471.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.2594, allocations: 1.621 MB / 472.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.2612, allocations: 1.883 MB / 474.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006518/0.2677, allocations: 5.954 MB / 480.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.2677, allocations: 4 kB / 480.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2677, allocations: 0 / 480.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000167/0.2679, allocations: 0 / 480.6 MB, free: 2.051 MB / 346.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.007572/0.2755, allocations: 4.226 MB / 484.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2755, allocations: 11.97 kB / 484.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006214/0.2818, allocations: 1.899 MB / 486.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/0.2857, allocations: 1.978 MB / 488.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.2858, allocations: 213.4 kB / 488.9 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007263/0.2866, allocations: 367.6 kB / 489.2 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.2991, allocations: 8.87 MB / 498.1 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-05/0.2992, allocations: 43.59 kB / 498.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003095/0.2996, allocations: 135.9 kB / 498.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00222/0.3018, allocations: 1.641 MB / 499.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.3143, allocations: 7.502 MB / 0.4955 GB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2001/0.5144, allocations: 35.17 MB / 0.5299 GB, free: 67.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007342/0.5217, allocations: 3.44 MB / 0.5332 GB, free: 65.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.5233, allocations: 1.45 MB / 0.5347 GB, free: 64.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008073/0.5314, allocations: 6.794 MB / 0.5413 GB, free: 58.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.5315, allocations: 50.86 kB / 0.5413 GB, free: 58.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 4.318e-06/0.5315, allocations: 4 kB / 0.5413 GB, free: 58.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=139): time 0.02215/0.5537, allocations: 11.1 MB / 0.5522 GB, free: 47.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009231/0.5546, allocations: 1.616 MB / 0.5538 GB, free: 45.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/0.5582, allocations: 3.531 MB / 0.5572 GB, free: 42.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.5585, allocations: 45.7 kB / 0.5573 GB, free: 42.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.5596, allocations: 2.787 MB / 0.56 GB, free: 39.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004102/0.56, allocations: 0.5702 MB / 0.5605 GB, free: 38.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.5611, allocations: 1.103 MB / 0.5616 GB, free: 37.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.951e-05/0.5611, allocations: 301.1 kB / 0.5619 GB, free: 37.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.5632, allocations: 1.924 MB / 0.5638 GB, free: 35.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003112/0.5663, allocations: 5.369 MB / 0.569 GB, free: 28.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005908/0.5723, allocations: 7.829 MB / 0.5767 GB, free: 18.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.795e-05/0.5723, allocations: 32 kB / 0.5767 GB, free: 18.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0169/0.5892, allocations: 8.833 MB / 0.5853 GB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.5893, allocations: 56 kB / 0.5854 GB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009768/0.5991, allocations: 3.511 MB / 0.5888 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.6094, allocations: 2.324 MB / 0.5911 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/0.6128, allocations: 1.253 MB / 0.5923 GB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008723/0.6215, allocations: 6.838 MB / 0.599 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00394/0.6255, allocations: 383.2 kB / 0.5993 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005509/0.6261, allocations: 347.9 kB / 0.5997 GB, free: 11.02 MB / 394.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.002743/0.6288, allocations: 1.859 MB / 0.6015 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004762/0.6293, allocations: 304.1 kB / 0.6018 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005562/0.6349, allocations: 2.766 MB / 0.6045 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00454/0.6394, allocations: 2.351 MB / 0.6068 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6395, allocations: 8 kB / 0.6068 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.6395, allocations: 3.984 kB / 0.6068 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.6532, allocations: 7.833 MB / 0.6144 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.6532, allocations: 2.719 kB / 0.6144 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6543, allocations: 231.6 kB / 0.6147 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003117/0.6574, allocations: 1.053 MB / 0.6157 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.6575, allocations: 31.98 kB / 0.6157 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005097/0.6626, allocations: 4.964 MB / 0.6206 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009456/0.6636, allocations: 1.482 MB / 0.622 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05583/0.7194, allocations: 31.7 MB / 0.653 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/0.72, allocations: 361 kB / 0.6533 GB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.7203, allocations: 27.98 kB / 0.6533 GB, free: 3.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.7217, allocations: 127.8 kB / 0.6535 GB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.7219, allocations: 88.47 kB / 0.6535 GB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.722, allocations: 43.97 kB / 0.6536 GB, free: 2.883 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002953/0.725, allocations: 2.183 MB / 0.6557 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.725, allocations: 0 / 0.6557 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004523/0.7295, allocations: 1.333 MB / 0.657 GB, free: 15.38 MB / 458.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.000385/0.7299, allocations: 172.4 kB / 0.6572 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008065/0.738, allocations: 5.209 MB / 0.6623 GB, free: 9.949 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.738, allocations: 0 / 0.6623 GB, free: 9.949 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003765/0.7418, allocations: 2.013 MB / 0.6642 GB, free: 7.863 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.744, allocations: 377.3 kB / 0.6646 GB, free: 7.496 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1784/0.9225, allocations: 12.36 MB / 0.6767 GB, free: 153.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003301/0.9258, allocations: 2.947 MB / 0.6795 GB, free: 152.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004569/0.9304, allocations: 1.73 MB / 0.6812 GB, free: 152.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/0.9311, allocations: 220.8 kB / 0.6814 GB, free: 152.5 MB / 458.7 MB Notification: Performance of SimCode: time 8.71e-07/0.9311, allocations: 0 / 0.6814 GB, free: 152.5 MB / 458.7 MB Notification: Performance of Templates: time 0.05722/0.9884, allocations: 44.31 MB / 0.7247 GB, free: 117.7 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches