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.001023/0.001023, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001093/0.001093, allocations: 165.8 kB / 25.7 MB, free: 8.438 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.9766/0.9766, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.477e-05, allocations: 6.25 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.008654/0.008678, allocations: 9.926 MB / 261.5 MB, free: 13.24 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007751/0.01643, allocations: 3.859 MB / 265.4 MB, free: 9.367 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.01842, allocations: 71.62 kB / 265.4 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.02144, allocations: 2.441 MB / 267.9 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003716/0.02516, allocations: 1.773 MB / 269.6 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.02645, allocations: 0.6627 MB / 270.3 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004788/0.03123, allocations: 3.84 MB / 274.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003179/0.03441, allocations: 2.747 MB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.03762, allocations: 2.062 MB / 279 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002912/0.04053, allocations: 1.913 MB / 280.9 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009384/0.04147, allocations: 296 kB / 281.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.04353, allocations: 1.131 MB / 282.3 MB, free: 8.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001647/0.04518, allocations: 1.831 MB / 284.1 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.04697, allocations: 1.149 MB / 285.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005247/0.05222, allocations: 4.098 MB / 289.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.05222, allocations: 4 kB / 289.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.05223, allocations: 0 / 289.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000194/0.05242, allocations: 4 kB / 289.4 MB, free: 1.23 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.006354/0.05877, allocations: 3.951 MB / 293.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.05882, allocations: 11.98 kB / 293.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/0.06147, allocations: 0.9957 MB / 294.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.0636, allocations: 1.582 MB / 295.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.06371, allocations: 217.6 kB / 296.1 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004955/0.06421, allocations: 363.6 kB / 296.5 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005625/0.06983, allocations: 4.466 MB / 301 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-05/0.06991, allocations: 43.69 kB / 301 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/0.07015, allocations: 139.8 kB / 301.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001292/0.07144, allocations: 1.466 MB / 302.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004796/0.07623, allocations: 2.363 MB / 305 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/0.1022, allocations: 27.51 MB / 332.5 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/0.1067, allocations: 1.646 MB / 334.1 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006365/0.1073, allocations: 358.8 kB / 334.5 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006261/0.1136, allocations: 3.589 MB / 338.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.1137, allocations: 51.16 kB / 338.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 4.669e-06/0.1137, allocations: 4 kB / 338.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.01282/0.1265, allocations: 4.038 MB / 342.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009662/0.1274, allocations: 1.491 MB / 343.6 MB, free: 8.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.1305, allocations: 2.822 MB / 346.5 MB, free: 6.059 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.1306, allocations: 41.7 kB / 346.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.1322, allocations: 2.74 MB / 349.2 MB, free: 3.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005478/0.1327, allocations: 0.5894 MB / 349.8 MB, free: 2.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.1338, allocations: 1.041 MB / 350.9 MB, free: 1.598 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.1339, allocations: 305.1 kB / 351.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.1353, allocations: 0.729 MB / 351.9 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1413/0.2766, allocations: 4.043 MB / 355.9 MB, free: 80.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005134/0.2817, allocations: 5.352 MB / 361.3 MB, free: 75.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/0.2818, allocations: 34.97 kB / 361.3 MB, free: 75.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.009337/0.2912, allocations: 4.214 MB / 365.5 MB, free: 75.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.2913, allocations: 57.09 kB / 365.6 MB, free: 75.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003518/0.2948, allocations: 0.9703 MB / 366.6 MB, free: 75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003325/0.2981, allocations: 0.5542 MB / 367.1 MB, free: 74.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.3009, allocations: 1.25 MB / 368.4 MB, free: 74.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.3041, allocations: 3.157 MB / 371.5 MB, free: 72.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/0.3071, allocations: 249.6 kB / 371.8 MB, free: 72.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003802/0.3074, allocations: 305.1 kB / 372.1 MB, free: 72.37 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.001267/0.3087, allocations: 0.5717 MB / 372.6 MB, free: 72.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/0.3091, allocations: 184.7 kB / 372.8 MB, free: 72.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.3108, allocations: 1.074 MB / 373.9 MB, free: 71.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001227/0.312, allocations: 0.6817 MB / 374.6 MB, free: 71.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.312, allocations: 6.562 kB / 374.6 MB, free: 71.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.312, allocations: 7.328 kB / 374.6 MB, free: 71.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/0.3175, allocations: 3.729 MB / 378.3 MB, free: 70.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3175, allocations: 8.031 kB / 378.3 MB, free: 70.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.318, allocations: 191 kB / 378.5 MB, free: 70.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/0.3192, allocations: 0.496 MB / 379 MB, free: 70.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.192e-05/0.3192, allocations: 38.75 kB / 379 MB, free: 70.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.3209, allocations: 2.852 MB / 381.9 MB, free: 67.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003659/0.3213, allocations: 1.343 MB / 383.2 MB, free: 65.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.3234, allocations: 1.867 MB / 385.1 MB, free: 64.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.3238, allocations: 274.7 kB / 385.4 MB, free: 64.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.324, allocations: 31.5 kB / 385.4 MB, free: 64.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/0.3246, allocations: 25.98 kB / 385.4 MB, free: 64.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.3247, allocations: 86.42 kB / 385.5 MB, free: 64.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/0.3248, allocations: 41.2 kB / 385.6 MB, free: 64.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007624/0.3256, allocations: 1.011 MB / 386.6 MB, free: 63.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3256, allocations: 0 / 386.6 MB, free: 63.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003035/0.3286, allocations: 1.03 MB / 387.6 MB, free: 62.44 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.0003378/0.3289, allocations: 165.7 kB / 387.8 MB, free: 62.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003451/0.3324, allocations: 2.68 MB / 390.4 MB, free: 59.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001245/0.3325, allocations: 88.34 kB / 390.5 MB, free: 59.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.3336, allocations: 0.8502 MB / 391.4 MB, free: 58.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.3352, allocations: 0.5506 MB / 391.9 MB, free: 58.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/0.3424, allocations: 6.587 MB / 398.5 MB, free: 51.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/0.3431, allocations: 1.053 MB / 399.6 MB, free: 50.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001061/0.3442, allocations: 435.9 kB / 400 MB, free: 50.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/0.3448, allocations: 0.4933 MB / 400.5 MB, free: 49.67 MB / 330.7 MB Notification: Performance of SimCode: time 2.194e-06/0.3448, allocations: 0 / 400.5 MB, free: 49.67 MB / 330.7 MB Notification: Performance of Templates: time 0.04202/0.3868, allocations: 34.79 MB / 435.3 MB, free: 14.94 MB / 330.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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","",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.766254019923508]