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.002501/0.002501, allocations: 99.53 kB / 21.73 MB, free: 2.684 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.002674/0.002674, allocations: 159.8 kB / 25.03 MB, free: 8.938 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 1.338/1.338, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.523e-06/1.523e-06, allocations: 0 / 250.4 MB, free: 7.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.959e-05, allocations: 6.312 kB / 250.4 MB, free: 7.688 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01465/0.01468, allocations: 10.12 MB / 260.5 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008701/0.02338, allocations: 3.739 MB / 264.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.02491, allocations: 71.62 kB / 264.3 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005569/0.03048, allocations: 2.48 MB / 266.8 MB, free: 7.207 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005025/0.03551, allocations: 1.796 MB / 268.6 MB, free: 5.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.0372, allocations: 0.6743 MB / 269.3 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006044/0.04325, allocations: 3.821 MB / 273.1 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004167/0.04741, allocations: 2.797 MB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004137/0.05155, allocations: 2.097 MB / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003871/0.05542, allocations: 1.983 MB / 280 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008217/0.05624, allocations: 296 kB / 280.2 MB, free: 9.664 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.05867, allocations: 1.1 MB / 281.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002279/0.06094, allocations: 1.839 MB / 283.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002099/0.06304, allocations: 1.149 MB / 284.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008832/0.07188, allocations: 6.312 MB / 290.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.07188, allocations: 4 kB / 290.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07188, allocations: 0 / 290.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001467/0.07203, allocations: 0 / 290.6 MB, free: 15.23 MB / 282.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.01142/0.08345, allocations: 5.036 MB / 295.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.0835, allocations: 11.98 kB / 295.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007907/0.0914, allocations: 2.276 MB / 298 MB, free: 7.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/0.09628, allocations: 1.867 MB / 299.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.09649, allocations: 217.6 kB / 300.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008913/0.09739, allocations: 363.6 kB / 300.4 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.1109, allocations: 5.953 MB / 306.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.111, allocations: 43.64 kB / 306.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003971/0.1114, allocations: 139.8 kB / 306.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003064/0.1144, allocations: 1.641 MB / 308.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.1253, allocations: 3.39 MB / 311.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1548/0.2801, allocations: 42.25 MB / 353.8 MB, free: 90.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006647/0.2867, allocations: 2.001 MB / 355.8 MB, free: 90.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009462/0.2877, allocations: 0.5364 MB / 356.4 MB, free: 90.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00733/0.295, allocations: 4.205 MB / 360.6 MB, free: 89.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.295, allocations: 55.98 kB / 360.6 MB, free: 89.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 3.357e-06/0.295, allocations: 3.281 kB / 360.6 MB, free: 89.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.0212/0.3162, allocations: 8.272 MB / 368.9 MB, free: 86.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009584/0.3172, allocations: 2.071 MB / 371 MB, free: 84.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004149/0.3213, allocations: 3.976 MB / 374.9 MB, free: 82.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002119/0.3215, allocations: 41.7 kB / 375 MB, free: 82.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.3229, allocations: 3.244 MB / 378.2 MB, free: 78.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/0.3234, allocations: 0.6461 MB / 378.9 MB, free: 78.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/0.3247, allocations: 1.391 MB / 380.3 MB, free: 76.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.3248, allocations: 480.8 kB / 380.7 MB, free: 76.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.326, allocations: 0.6821 MB / 381.4 MB, free: 75.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.3286, allocations: 5.968 MB / 387.4 MB, free: 67.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004878/0.3334, allocations: 7.365 MB / 394.7 MB, free: 57.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.082e-05/0.3335, allocations: 32 kB / 394.8 MB, free: 57.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01568/0.3492, allocations: 6.278 MB / 401.1 MB, free: 51.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.535e-05/0.3493, allocations: 60.22 kB / 401.1 MB, free: 51.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009043/0.3583, allocations: 2.131 MB / 403.2 MB, free: 49.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009579/0.3679, allocations: 1.753 MB / 405 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003597/0.3715, allocations: 1.255 MB / 406.3 MB, free: 46.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/0.3776, allocations: 4.814 MB / 411.1 MB, free: 41.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/0.3819, allocations: 423.3 kB / 411.5 MB, free: 40.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005011/0.3824, allocations: 351.5 kB / 411.8 MB, free: 40.52 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.001331/0.3837, allocations: 0.6968 MB / 412.5 MB, free: 39.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005006/0.3842, allocations: 318.1 kB / 412.8 MB, free: 39.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003819/0.388, allocations: 1.54 MB / 414.4 MB, free: 37.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002997/0.391, allocations: 1.168 MB / 415.5 MB, free: 36.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.391, allocations: 4 kB / 415.5 MB, free: 36.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.391, allocations: 7.922 kB / 415.6 MB, free: 36.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.403, allocations: 6.427 MB / 422 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.403, allocations: 0 / 422 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009811/0.404, allocations: 232.5 kB / 422.2 MB, free: 29.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/0.4065, allocations: 0.5716 MB / 422.8 MB, free: 29.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.4066, allocations: 31.97 kB / 422.8 MB, free: 29.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003338/0.4099, allocations: 4.279 MB / 427.1 MB, free: 24.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006869/0.4106, allocations: 1.914 MB / 429 MB, free: 22.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/0.4155, allocations: 2.677 MB / 431.7 MB, free: 20.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008038/0.4163, allocations: 285.9 kB / 432 MB, free: 19.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/0.4166, allocations: 31.92 kB / 432 MB, free: 19.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.4179, allocations: 151.8 kB / 432.1 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.4181, allocations: 92.47 kB / 432.2 MB, free: 19.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.4183, allocations: 46.52 kB / 432.3 MB, free: 19.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002137/0.4204, allocations: 1.62 MB / 433.9 MB, free: 17.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4204, allocations: 0 / 433.9 MB, free: 17.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003948/0.4243, allocations: 1.027 MB / 434.9 MB, free: 16.84 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.0004161/0.4248, allocations: 186.6 kB / 435.1 MB, free: 16.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006275/0.431, allocations: 3.632 MB / 438.7 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.431, allocations: 0 / 438.7 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/0.4339, allocations: 1.367 MB / 440.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.4363, allocations: 371.6 kB / 440.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009891/0.4462, allocations: 6.939 MB / 447.4 MB, free: 4.184 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/0.4482, allocations: 2.145 MB / 449.5 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002892/0.4511, allocations: 1.452 MB / 451 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.4515, allocations: 204.4 kB / 451.2 MB, free: 352 kB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.4515, allocations: 0 / 451.2 MB, free: 352 kB / 330.7 MB Notification: Performance of Templates: time 0.06773/0.5193, allocations: 32.22 MB / 483.4 MB, free: 128 kB / 362.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=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","/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: 6.206353151006624]