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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00095/0.00095, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000978/0.000978, allocations: 169.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9327/0.9327, allocations: 177 MB / 205.2 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 273 MB, free: 1.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.361e-05, allocations: 5.406 kB / 273 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01148/0.01151, allocations: 10.12 MB / 283.1 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007822/0.01933, allocations: 3.75 MB / 286.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.02114, allocations: 79.62 kB / 287 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003617/0.02475, allocations: 2.476 MB / 289.4 MB, free: 1.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1119/0.1366, allocations: 1.759 MB / 291.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.138, allocations: 0.6651 MB / 291.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004478/0.1425, allocations: 3.876 MB / 295.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003395/0.1459, allocations: 2.776 MB / 298.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.1487, allocations: 2.075 MB / 300.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002463/0.1512, allocations: 1.988 MB / 302.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006427/0.1518, allocations: 296.8 kB / 302.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.1533, allocations: 1.09 MB / 303.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009839/0.1542, allocations: 1.816 MB / 305.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.1553, allocations: 1.13 MB / 306.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.1585, allocations: 4.038 MB / 310.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1585, allocations: 0 / 310.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1585, allocations: 0 / 310.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.885e-05/0.1586, allocations: 0 / 310.9 MB, free: 9.348 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.004217/0.1628, allocations: 4.604 MB / 315.5 MB, free: 5.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1628, allocations: 19.98 kB / 315.6 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.1668, allocations: 2.335 MB / 317.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.1688, allocations: 1.839 MB / 319.7 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.566e-05/0.1689, allocations: 215.4 kB / 319.9 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004522/0.1693, allocations: 372.8 kB / 320.3 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006868/0.1762, allocations: 5.568 MB / 325.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.826e-05/0.1763, allocations: 40.62 kB / 325.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/0.1765, allocations: 141.5 kB / 326 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001587/0.1781, allocations: 1.643 MB / 327.7 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006315/0.1844, allocations: 3.085 MB / 330.8 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02811/0.2125, allocations: 38.74 MB / 369.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/0.2171, allocations: 2.024 MB / 371.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008108/0.2179, allocations: 0.5136 MB / 372.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005219/0.2232, allocations: 4.128 MB / 376.2 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.2232, allocations: 49.52 kB / 376.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 4.438e-06/0.2232, allocations: 7.984 kB / 376.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.01381/0.237, allocations: 8.167 MB / 384.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009385/0.238, allocations: 2.032 MB / 386.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/0.2407, allocations: 3.153 MB / 389.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.2408, allocations: 45.64 kB / 389.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.2423, allocations: 3.053 MB / 392.7 MB, free: 6.648 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004309/0.2427, allocations: 0.6132 MB / 393.3 MB, free: 6.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009757/0.2437, allocations: 1.186 MB / 394.5 MB, free: 4.848 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.2438, allocations: 476.8 kB / 394.9 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009401/0.2447, allocations: 0.6391 MB / 395.6 MB, free: 3.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00308/0.2478, allocations: 5.744 MB / 401.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005314/0.2531, allocations: 7.059 MB / 408.4 MB, free: 2.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.396e-05/0.2532, allocations: 36 kB / 408.4 MB, free: 2.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01052/0.2638, allocations: 6.254 MB / 414.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.2638, allocations: 59.94 kB / 414.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005013/0.2688, allocations: 2.169 MB / 416.9 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005151/0.274, allocations: 1.831 MB / 418.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.2766, allocations: 1.259 MB / 420 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.2814, allocations: 4.793 MB / 424.8 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/0.2843, allocations: 419.4 kB / 425.2 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004436/0.2847, allocations: 344 kB / 425.5 MB, free: 0.875 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.001146/0.2859, allocations: 0.6158 MB / 426.2 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/0.2863, allocations: 329.3 kB / 426.5 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.2866, allocations: 323.4 kB / 426.8 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001983/0.2886, allocations: 1.133 MB / 427.9 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2886, allocations: 4 kB / 427.9 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.2886, allocations: 11.92 kB / 427.9 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007644/0.2963, allocations: 5.588 MB / 433.5 MB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.2963, allocations: 4 kB / 433.5 MB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/0.2969, allocations: 231.6 kB / 433.8 MB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.2982, allocations: 0.5642 MB / 434.3 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-05/0.2983, allocations: 35.34 kB / 434.4 MB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.3012, allocations: 4.231 MB / 438.6 MB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007081/0.3019, allocations: 1.902 MB / 440.5 MB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1208/0.4227, allocations: 2.542 MB / 443 MB, free: 128.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00073/0.4234, allocations: 286.5 kB / 443.3 MB, free: 128.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/0.4238, allocations: 27.97 kB / 443.3 MB, free: 128.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.4249, allocations: 152.5 kB / 443.5 MB, free: 128.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/0.4252, allocations: 91.81 kB / 443.6 MB, free: 128.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.706e-05/0.4253, allocations: 41 kB / 443.6 MB, free: 128.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002191/0.4275, allocations: 1.338 MB / 445 MB, free: 128.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4275, allocations: 0.6562 kB / 445 MB, free: 128.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003926/0.4314, allocations: 0.9987 MB / 446 MB, free: 128.4 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.0004379/0.4318, allocations: 177.5 kB / 446.1 MB, free: 128.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006045/0.4379, allocations: 3.373 MB / 449.5 MB, free: 127.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4379, allocations: 3.906 kB / 449.5 MB, free: 127.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.4402, allocations: 1.313 MB / 450.8 MB, free: 127.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.4422, allocations: 374.4 kB / 451.2 MB, free: 127.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008367/0.4505, allocations: 6.851 MB / 458 MB, free: 124.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008744/0.4514, allocations: 1.066 MB / 459.1 MB, free: 124.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002036/0.4534, allocations: 1.446 MB / 460.5 MB, free: 124 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.4538, allocations: 205.2 kB / 460.7 MB, free: 124 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4538, allocations: 0 / 460.7 MB, free: 124 MB / 394.7 MB Notification: Performance of Templates: time 0.03823/0.492, allocations: 31.89 MB / 492.6 MB, free: 97.55 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8493857868015766]