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.0009245/0.0009245, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001115/0.001115, allocations: 161 kB / 25.45 MB, free: 9.348 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.9735/0.9735, allocations: 158.6 MB / 187.2 MB, free: 3.031 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.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_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.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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.448e-05/4.645e-05, allocations: 2.281 kB / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.008142/0.008188, allocations: 9.162 MB / 308.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007751/0.01594, allocations: 3.649 MB / 312.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.01812, allocations: 79.62 kB / 312.6 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.02157, allocations: 2.367 MB / 315 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.02591, allocations: 1.789 MB / 316.8 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.02722, allocations: 0.6665 MB / 317.4 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004467/0.03169, allocations: 3.832 MB / 321.3 MB, free: 1.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/0.03521, allocations: 2.699 MB / 324 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004327/0.03954, allocations: 2.085 MB / 326 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.04241, allocations: 1.933 MB / 328 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008805/0.04329, allocations: 296 kB / 328.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.0453, allocations: 1.096 MB / 329.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.04697, allocations: 1.831 MB / 331.2 MB, free: 7.285 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.04885, allocations: 1.145 MB / 332.3 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006566/0.05542, allocations: 6.285 MB / 338.6 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.05543, allocations: 0 / 338.6 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.05543, allocations: 0 / 338.6 MB, free: 15.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002767/0.05571, allocations: 3.938 kB / 338.6 MB, free: 15.82 MB / 330.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.009811/0.06552, allocations: 4.3 MB / 342.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.06557, allocations: 15.98 kB / 342.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004144/0.06971, allocations: 1.886 MB / 344.8 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.07385, allocations: 2.02 MB / 346.8 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.07401, allocations: 221.5 kB / 347.1 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.07515, allocations: 367.7 kB / 347.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.171/0.2462, allocations: 8.929 MB / 356.3 MB, free: 54.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.511e-05/0.2463, allocations: 34.61 kB / 356.4 MB, free: 54.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.2465, allocations: 137.5 kB / 356.5 MB, free: 54.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001808/0.2483, allocations: 1.642 MB / 358.2 MB, free: 54.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.2599, allocations: 7.518 MB / 365.7 MB, free: 52.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02788/0.2878, allocations: 33.02 MB / 398.7 MB, free: 22.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004395/0.2922, allocations: 3.008 MB / 401.7 MB, free: 19.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.2933, allocations: 1.382 MB / 403.1 MB, free: 17.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00556/0.2988, allocations: 5.479 MB / 408.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2989, allocations: 51.16 kB / 408.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 4.859e-06/0.2989, allocations: 3.984 kB / 408.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.01445/0.3133, allocations: 11.26 MB / 419.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008645/0.3142, allocations: 1.58 MB / 421.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/0.3181, allocations: 3.529 MB / 425 MB, free: 12.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003197/0.3184, allocations: 45.64 kB / 425 MB, free: 12.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.3198, allocations: 2.891 MB / 427.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005774/0.3204, allocations: 0.5927 MB / 428.5 MB, free: 8.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.3215, allocations: 1.099 MB / 429.6 MB, free: 7.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.3215, allocations: 305.1 kB / 429.9 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.3235, allocations: 1.939 MB / 431.9 MB, free: 5.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/0.3272, allocations: 5.381 MB / 437.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006822/0.334, allocations: 7.848 MB / 445.1 MB, free: 4.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.568e-05/0.3341, allocations: 36 kB / 445.1 MB, free: 4.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01357/0.3477, allocations: 8.79 MB / 453.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.3477, allocations: 59.94 kB / 454 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005632/0.3533, allocations: 3.47 MB / 457.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005354/0.3587, allocations: 2.227 MB / 459.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/0.3616, allocations: 1.261 MB / 460.9 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007193/0.3688, allocations: 7.072 MB / 468 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003374/0.3722, allocations: 425.3 kB / 468.4 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006417/0.3729, allocations: 348 kB / 468.8 MB, free: 12.66 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.002782/0.3756, allocations: 1.848 MB / 470.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005349/0.3762, allocations: 290 kB / 470.9 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003295/0.3795, allocations: 2.736 MB / 473.6 MB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002931/0.3824, allocations: 2.347 MB / 476 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.3824, allocations: 8 kB / 476 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.3824, allocations: 3.984 kB / 476 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00983/0.3923, allocations: 6.942 MB / 482.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.3923, allocations: 0 / 482.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/0.3929, allocations: 231.6 kB / 483.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.3945, allocations: 1.057 MB / 484.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.3947, allocations: 35.97 kB / 484.2 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003967/0.3986, allocations: 5.01 MB / 489.2 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000686/0.3993, allocations: 1.434 MB / 490.7 MB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005104/0.4044, allocations: 4.935 MB / 495.6 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/0.4053, allocations: 297.9 kB / 495.9 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.4055, allocations: 31.92 kB / 495.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007779/0.4063, allocations: 161.3 kB / 496.1 MB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.4064, allocations: 84.48 kB / 496.2 MB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/0.4065, allocations: 47.97 kB / 496.2 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00234/0.4088, allocations: 2.038 MB / 498.3 MB, free: 14.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4088, allocations: 0 / 498.3 MB, free: 14.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00344/0.4123, allocations: 1.016 MB / 499.3 MB, free: 13.61 MB / 426.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.0004398/0.4127, allocations: 194.9 kB / 499.5 MB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006489/0.4192, allocations: 4.911 MB / 0.4926 GB, free: 8.488 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4192, allocations: 0.8438 kB / 0.4926 GB, free: 8.488 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.4214, allocations: 1.784 MB / 0.4943 GB, free: 6.668 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.4232, allocations: 356.5 kB / 0.4946 GB, free: 6.324 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1571/0.5803, allocations: 8.761 MB / 0.5032 GB, free: 137.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003888/0.5842, allocations: 2.363 MB / 0.5055 GB, free: 137.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.5853, allocations: 246.8 kB / 0.5057 GB, free: 137.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.715e-06/0.5853, allocations: 0 / 0.5057 GB, free: 137.2 MB / 426.7 MB Notification: Performance of Templates: time 0.09199/0.6773, allocations: 119.6 MB / 0.6225 GB, free: 30.75 MB / 426.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.470001871697605]