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.001441/0.001441, allocations: 92.28 kB / 21.44 MB, free: 3.129 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.006123/0.006123, allocations: 158.5 kB / 24.7 MB, free: 8.906 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.8636/0.8636, allocations: 177 MB / 204.9 MB, free: 5.746 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.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=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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.156e-05, allocations: 7.062 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.006593/0.006625, allocations: 9.15 MB / 334.9 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005462/0.01209, allocations: 3.668 MB / 338.6 MB, free: 2.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.01319, allocations: 71.62 kB / 338.7 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.01566, allocations: 2.359 MB / 341 MB, free: 56 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.01889, allocations: 1.765 MB / 342.8 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.01995, allocations: 0.6586 MB / 343.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003582/0.02353, allocations: 3.886 MB / 347.3 MB, free: 9.727 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.02622, allocations: 2.687 MB / 350 MB, free: 6.992 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.02873, allocations: 2.074 MB / 352.1 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002289/0.03102, allocations: 1.917 MB / 354 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006366/0.03165, allocations: 296 kB / 354.3 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.03307, allocations: 1.092 MB / 355.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.03418, allocations: 1.796 MB / 357.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.03554, allocations: 1.125 MB / 358.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005459/0.041, allocations: 6.242 MB / 364.6 MB, free: 8.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.04101, allocations: 0 / 364.6 MB, free: 8.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04101, allocations: 3.938 kB / 364.6 MB, free: 8.414 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002066/0.04121, allocations: 0 / 364.6 MB, free: 8.414 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.007228/0.04844, allocations: 4.265 MB / 368.8 MB, free: 4.094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.04849, allocations: 11.98 kB / 368.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/0.05248, allocations: 1.948 MB / 370.8 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003632/0.05611, allocations: 1.973 MB / 372.8 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.05626, allocations: 217.7 kB / 373 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006759/0.05693, allocations: 367.8 kB / 373.3 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.06938, allocations: 8.959 MB / 382.3 MB, free: 5.926 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.0695, allocations: 31.75 kB / 382.3 MB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000324/0.06982, allocations: 143.8 kB / 382.5 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001624/0.07145, allocations: 1.637 MB / 384.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.08317, allocations: 7.548 MB / 391.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03588/0.119, allocations: 32.99 MB / 424.6 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005227/0.1243, allocations: 3.024 MB / 427.7 MB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.1257, allocations: 1.39 MB / 429.1 MB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006955/0.1327, allocations: 5.48 MB / 434.5 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.1327, allocations: 51.16 kB / 434.6 MB, free: 0.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=132): time 5.66e-06/0.1327, allocations: 0 / 434.6 MB, free: 0.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=139): time 0.01728/0.15, allocations: 11.3 MB / 445.9 MB, free: 5.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001012/0.151, allocations: 1.576 MB / 447.5 MB, free: 3.449 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.173/0.3241, allocations: 3.466 MB / 450.9 MB, free: 113.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003941/0.3245, allocations: 44.14 kB / 451 MB, free: 113.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001796/0.3263, allocations: 2.901 MB / 453.9 MB, free: 112.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006606/0.3269, allocations: 0.5909 MB / 454.5 MB, free: 111.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001497/0.3284, allocations: 1.1 MB / 455.6 MB, free: 111.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.388e-05/0.3284, allocations: 303.4 kB / 455.9 MB, free: 111.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.3304, allocations: 1.949 MB / 457.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.3329, allocations: 5.397 MB / 463.2 MB, free: 105.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004607/0.3375, allocations: 7.864 MB / 471.1 MB, free: 98.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-05/0.3376, allocations: 34.88 kB / 471.1 MB, free: 98.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01123/0.3488, allocations: 8.871 MB / 480 MB, free: 92.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.3488, allocations: 60 kB / 480 MB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005026/0.3539, allocations: 3.559 MB / 483.6 MB, free: 88.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004953/0.3588, allocations: 2.32 MB / 485.9 MB, free: 86.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/0.3612, allocations: 1.267 MB / 487.2 MB, free: 85.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004996/0.3662, allocations: 7.094 MB / 494.3 MB, free: 77.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/0.3691, allocations: 425.8 kB / 494.7 MB, free: 77.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005335/0.3696, allocations: 346.4 kB / 495 MB, free: 77.02 MB / 410.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.002207/0.3719, allocations: 1.852 MB / 496.9 MB, free: 75.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000421/0.3723, allocations: 290 kB / 497.2 MB, free: 74.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.3726, allocations: 379.4 kB / 497.5 MB, free: 74.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00244/0.3751, allocations: 2.371 MB / 499.9 MB, free: 72.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.3751, allocations: 0 / 499.9 MB, free: 72.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.3751, allocations: 11.97 kB / 499.9 MB, free: 72.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007605/0.3827, allocations: 6.947 MB / 0.495 GB, free: 65.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3827, allocations: 0 / 0.495 GB, free: 65.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005592/0.3833, allocations: 227.7 kB / 0.4952 GB, free: 64.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/0.3847, allocations: 1.057 MB / 0.4962 GB, free: 63.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.08e-05/0.3848, allocations: 39.03 kB / 0.4963 GB, free: 63.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/0.3877, allocations: 5.012 MB / 0.5012 GB, free: 58.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004374/0.3881, allocations: 1.444 MB / 0.5026 GB, free: 57.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/0.3925, allocations: 4.956 MB / 0.5074 GB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/0.3935, allocations: 291.3 kB / 0.5077 GB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/0.3938, allocations: 27.98 kB / 0.5077 GB, free: 51.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008257/0.3946, allocations: 151.8 kB / 0.5079 GB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.3948, allocations: 100.3 kB / 0.508 GB, free: 51.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-05/0.3949, allocations: 39.98 kB / 0.508 GB, free: 51.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002705/0.3976, allocations: 1.998 MB / 0.51 GB, free: 49.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3976, allocations: 0 / 0.51 GB, free: 49.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004211/0.4018, allocations: 0.994 MB / 0.5109 GB, free: 48.51 MB / 410.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.000553/0.4024, allocations: 176.4 kB / 0.5111 GB, free: 48.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007222/0.4096, allocations: 4.923 MB / 0.5159 GB, free: 43.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.4096, allocations: 0 / 0.5159 GB, free: 43.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002107/0.4117, allocations: 1.805 MB / 0.5177 GB, free: 41.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.4138, allocations: 351.5 kB / 0.518 GB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009791/0.4236, allocations: 8.769 MB / 0.5266 GB, free: 32.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.4255, allocations: 2.352 MB / 0.5289 GB, free: 30.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/0.4262, allocations: 248.4 kB / 0.5291 GB, free: 29.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.615e-06/0.4262, allocations: 0 / 0.5291 GB, free: 29.8 MB / 410.7 MB Notification: Performance of Templates: time 0.2363/0.6625, allocations: 119.1 MB / 0.6454 GB, free: 143.7 MB / 474.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.370236672461033]