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.0009697/0.0009697, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001027/0.001027, allocations: 169.4 kB / 25.75 MB, free: 8.539 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.8626/0.8626, allocations: 158.6 MB / 187.5 MB, free: 2.941 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.042e-06/1.042e-06, allocations: 3.938 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.255e-05, allocations: 6.25 kB / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007384/0.007396, allocations: 10.15 MB / 261.3 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005141/0.01254, allocations: 3.731 MB / 265 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000501/0.01304, allocations: 75.62 kB / 265.1 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.01534, allocations: 2.48 MB / 267.6 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.01722, allocations: 1.796 MB / 269.4 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.01786, allocations: 0.6704 MB / 270 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002221/0.02008, allocations: 3.828 MB / 273.9 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.02178, allocations: 2.794 MB / 276.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.02313, allocations: 2.089 MB / 278.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.02455, allocations: 1.983 MB / 280.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.0248, allocations: 300 kB / 281 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009701/0.02577, allocations: 1.104 MB / 282.1 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009943/0.02676, allocations: 1.839 MB / 284 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007745/0.02754, allocations: 1.145 MB / 285.1 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.03024, allocations: 4.094 MB / 289.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.03024, allocations: 3.938 kB / 289.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.03024, allocations: 0 / 289.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.69e-05/0.03027, allocations: 0 / 289.2 MB, free: 1.531 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.004149/0.03442, allocations: 4.632 MB / 293.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.03445, allocations: 15.98 kB / 293.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003832/0.03828, allocations: 2.284 MB / 296.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.04009, allocations: 1.851 MB / 298 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.04019, allocations: 215.5 kB / 298.2 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004912/0.04068, allocations: 367.5 kB / 298.6 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005662/0.04634, allocations: 5.547 MB / 304.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.21e-05/0.04641, allocations: 39.7 kB / 304.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.04665, allocations: 135.9 kB / 304.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001408/0.04805, allocations: 1.641 MB / 305.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00519/0.05324, allocations: 3.09 MB / 309 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02238/0.07563, allocations: 38.73 MB / 347.7 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004155/0.07978, allocations: 2.015 MB / 349.7 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.08043, allocations: 0.5137 MB / 350.3 MB, free: 2.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09673/0.1772, allocations: 4.129 MB / 354.4 MB, free: 101.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1772, allocations: 50.91 kB / 354.4 MB, free: 101.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 3.907e-06/0.1772, allocations: 1.281 kB / 354.4 MB, free: 101.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.01192/0.1891, allocations: 8.174 MB / 362.6 MB, free: 99.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005631/0.1897, allocations: 2.043 MB / 364.7 MB, free: 97.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.1919, allocations: 3.17 MB / 367.8 MB, free: 95.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/0.192, allocations: 45.7 kB / 367.9 MB, free: 95.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008397/0.1929, allocations: 3.054 MB / 370.9 MB, free: 93.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.1931, allocations: 0.6183 MB / 371.5 MB, free: 92.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007671/0.1939, allocations: 1.188 MB / 372.7 MB, free: 91.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.978e-05/0.1939, allocations: 484.7 kB / 373.2 MB, free: 90.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008329/0.1948, allocations: 0.6352 MB / 373.8 MB, free: 90.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.1967, allocations: 5.738 MB / 379.6 MB, free: 82.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/0.2004, allocations: 7.06 MB / 386.6 MB, free: 72.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-05/0.2004, allocations: 36 kB / 386.7 MB, free: 72.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.008046/0.2085, allocations: 6.174 MB / 392.8 MB, free: 66.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.2085, allocations: 60.03 kB / 392.9 MB, free: 66.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004278/0.2128, allocations: 2.107 MB / 395 MB, free: 64.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004585/0.2174, allocations: 1.734 MB / 396.7 MB, free: 62.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.2191, allocations: 1.259 MB / 398 MB, free: 61.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/0.2224, allocations: 4.773 MB / 402.8 MB, free: 56.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.2244, allocations: 430 kB / 403.2 MB, free: 55.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.2246, allocations: 348 kB / 403.5 MB, free: 55.6 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.0008818/0.2255, allocations: 0.6069 MB / 404.1 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.2258, allocations: 330 kB / 404.5 MB, free: 54.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.2278, allocations: 1.505 MB / 406 MB, free: 53.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001664/0.2295, allocations: 1.137 MB / 407.1 MB, free: 51.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.2295, allocations: 8 kB / 407.1 MB, free: 51.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-06/0.2295, allocations: 3.984 kB / 407.1 MB, free: 51.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00572/0.2352, allocations: 5.604 MB / 412.7 MB, free: 46.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2352, allocations: 4 kB / 412.7 MB, free: 46.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.2357, allocations: 219.7 kB / 412.9 MB, free: 46.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.2369, allocations: 0.5681 MB / 413.5 MB, free: 45.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.237, allocations: 35.97 kB / 413.5 MB, free: 45.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.2388, allocations: 4.236 MB / 417.8 MB, free: 40.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003553/0.2391, allocations: 1.893 MB / 419.7 MB, free: 38.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.2417, allocations: 2.55 MB / 422.2 MB, free: 36.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.2419, allocations: 289.9 kB / 422.5 MB, free: 36.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.2421, allocations: 31.98 kB / 422.5 MB, free: 36.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000661/0.2428, allocations: 147.8 kB / 422.7 MB, free: 35.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.2429, allocations: 96.41 kB / 422.8 MB, free: 35.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/0.243, allocations: 39.98 kB / 422.8 MB, free: 35.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.244, allocations: 1.355 MB / 424.2 MB, free: 34.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.244, allocations: 0 / 424.2 MB, free: 34.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002131/0.2461, allocations: 1.027 MB / 425.2 MB, free: 33.36 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.0002715/0.2464, allocations: 184.2 kB / 425.4 MB, free: 33.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003297/0.2497, allocations: 3.381 MB / 428.8 MB, free: 29.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2497, allocations: 0 / 428.8 MB, free: 29.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.2511, allocations: 1.32 MB / 430.1 MB, free: 28.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.2522, allocations: 365 kB / 430.4 MB, free: 28.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.2579, allocations: 6.86 MB / 437.3 MB, free: 21.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.2586, allocations: 1.072 MB / 438.4 MB, free: 20 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001811/0.2604, allocations: 1.441 MB / 439.8 MB, free: 18.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.2607, allocations: 208.4 kB / 440 MB, free: 18.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.2607, allocations: 3.938 kB / 440 MB, free: 18.34 MB / 330.7 MB Notification: Performance of Templates: time 0.03593/0.2966, allocations: 32.25 MB / 472.3 MB, free: 2.102 MB / 346.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 -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.8044874409679323]