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.001363/0.001363, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.0009081/0.0009081, allocations: 177.7 kB / 25.34 MB, free: 9.441 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.7543/0.7543, allocations: 158.6 MB / 187.2 MB, free: 2.5 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.403e-06/1.403e-06, allocations: 0 / 251 MB, free: 3.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.98e-05, allocations: 2.312 kB / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01091/0.01093, allocations: 10.19 MB / 261.2 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005771/0.01671, allocations: 3.762 MB / 265 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.01791, allocations: 71.62 kB / 265.1 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.02059, allocations: 2.484 MB / 267.6 MB, free: 3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.02373, allocations: 1.804 MB / 269.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/0.0247, allocations: 0.6704 MB / 270 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003672/0.02837, allocations: 3.83 MB / 273.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.03104, allocations: 2.786 MB / 276.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/0.03361, allocations: 2.097 MB / 278.7 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.03572, allocations: 1.991 MB / 280.7 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005737/0.0363, allocations: 296 kB / 281 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.03766, allocations: 1.108 MB / 282.1 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.03877, allocations: 1.835 MB / 284 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009092/0.03968, allocations: 1.145 MB / 285.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003399/0.04308, allocations: 4.094 MB / 289.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.04309, allocations: 0 / 289.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.04309, allocations: 3.938 kB / 289.2 MB, free: 13.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.581e-05/0.04314, allocations: 0 / 289.2 MB, free: 13.24 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.004943/0.04809, allocations: 4.634 MB / 293.8 MB, free: 8.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.04812, allocations: 19.91 kB / 293.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.05182, allocations: 2.276 MB / 296.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.05389, allocations: 1.882 MB / 298 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.05403, allocations: 217.6 kB / 298.2 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006304/0.05466, allocations: 363.6 kB / 298.6 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1128/0.1675, allocations: 5.543 MB / 304.1 MB, free: 47.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.1676, allocations: 37.73 kB / 304.2 MB, free: 47.2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/0.1678, allocations: 139.2 kB / 304.3 MB, free: 47.2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001695/0.1695, allocations: 1.644 MB / 305.9 MB, free: 47.19 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007149/0.1767, allocations: 3.084 MB / 309 MB, free: 47.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02374/0.2004, allocations: 38.74 MB / 347.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/0.2043, allocations: 2.006 MB / 349.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006748/0.205, allocations: 0.5098 MB / 350.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004307/0.2093, allocations: 4.126 MB / 354.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2093, allocations: 60.17 kB / 354.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=132): time 3.316e-06/0.2093, allocations: 0 / 354.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=139): time 0.01286/0.2222, allocations: 8.171 MB / 362.6 MB, free: 428 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001038/0.2232, allocations: 2.043 MB / 364.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.2266, allocations: 3.165 MB / 367.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003029/0.2269, allocations: 52.12 kB / 367.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001808/0.2287, allocations: 3.053 MB / 371 MB, free: 8.078 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005965/0.2293, allocations: 0.6044 MB / 371.6 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.2304, allocations: 1.188 MB / 372.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2305, allocations: 484.7 kB / 373.2 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.2316, allocations: 0.6352 MB / 373.9 MB, free: 5.168 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00336/0.2349, allocations: 5.747 MB / 379.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005223/0.2401, allocations: 7.073 MB / 386.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.012e-05/0.2402, allocations: 36 kB / 386.7 MB, free: 3.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01045/0.2507, allocations: 6.175 MB / 392.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.2507, allocations: 56 kB / 392.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005086/0.2558, allocations: 2.115 MB / 395.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005238/0.261, allocations: 1.734 MB / 396.8 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/0.2636, allocations: 1.252 MB / 398 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004714/0.2683, allocations: 4.776 MB / 402.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.271, allocations: 419.4 kB / 403.2 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004058/0.2714, allocations: 347.4 kB / 403.6 MB, free: 2.48 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.001018/0.2724, allocations: 0.6149 MB / 404.2 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/0.2728, allocations: 334 kB / 404.5 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.2751, allocations: 1.504 MB / 406 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001922/0.277, allocations: 1.137 MB / 407.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.277, allocations: 4 kB / 407.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.277, allocations: 11.47 kB / 407.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007707/0.2847, allocations: 5.603 MB / 412.8 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.2847, allocations: 4 kB / 412.8 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.2853, allocations: 219.7 kB / 413 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.2867, allocations: 0.5603 MB / 413.5 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.821e-05/0.2868, allocations: 43.91 kB / 413.6 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.2896, allocations: 4.222 MB / 417.8 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006791/0.2903, allocations: 1.921 MB / 419.7 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003428/0.2937, allocations: 2.543 MB / 422.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007196/0.2944, allocations: 293.9 kB / 422.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.2946, allocations: 24 kB / 422.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008677/0.2955, allocations: 151.7 kB / 422.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.2957, allocations: 92.42 kB / 422.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.2958, allocations: 50.02 kB / 422.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001622/0.2974, allocations: 1.355 MB / 424.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2974, allocations: 0 / 424.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002892/0.3003, allocations: 1.019 MB / 425.2 MB, free: 12.21 MB / 362.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.0003528/0.3007, allocations: 186.1 kB / 425.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004413/0.3051, allocations: 3.374 MB / 428.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3051, allocations: 0 / 428.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.307, allocations: 1.317 MB / 430.1 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.3083, allocations: 365.3 kB / 430.5 MB, free: 6.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1061/0.4143, allocations: 6.854 MB / 437.3 MB, free: 113.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/0.4161, allocations: 1.07 MB / 438.4 MB, free: 113.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003419/0.4196, allocations: 1.44 MB / 439.8 MB, free: 113.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.4201, allocations: 206.8 kB / 440 MB, free: 113.5 MB / 362.7 MB Notification: Performance of SimCode: time 2.215e-06/0.4201, allocations: 0 / 440 MB, free: 113.5 MB / 362.7 MB Notification: Performance of Templates: time 0.04838/0.4684, allocations: 33.28 MB / 473.3 MB, free: 93.41 MB / 362.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.7590422560460865]