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.0009734/0.0009734, allocations: 81.05 kB / 10.02 MB, free: 0.668 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002147, allocations: 453.8 kB / 10.46 MB, free: 232 kB / 10.45 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.0006926/0.0006926, allocations: 165.1 kB / 11.36 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008825/0.001575, allocations: 483.5 kB / 11.83 MB, free: 2.332 MB / 13.93 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.8721/0.8721, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1618/1.034, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.462e-06/1.462e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.867e-05, allocations: 2.312 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.008067/0.008086, allocations: 9.989 MB / 232 MB, free: 6.012 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006888/0.01497, allocations: 3.878 MB / 235.9 MB, free: 2.121 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.0165, allocations: 71.62 kB / 235.9 MB, free: 2.051 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0031/0.0196, allocations: 2.355 MB / 238.3 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.02338, allocations: 1.769 MB / 240.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.02459, allocations: 0.6197 MB / 240.7 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004324/0.02891, allocations: 3.702 MB / 244.4 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003291/0.0322, allocations: 2.568 MB / 246.9 MB, free: 6.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003452/0.03566, allocations: 2.193 MB / 249.1 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.03806, allocations: 1.902 MB / 251 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009133/0.03897, allocations: 296 kB / 251.3 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.04077, allocations: 1.123 MB / 252.5 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001281/0.04205, allocations: 1.656 MB / 254.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.04324, allocations: 0.9426 MB / 255.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004078/0.04732, allocations: 3.794 MB / 258.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.04734, allocations: 4 kB / 258.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.04734, allocations: 0 / 258.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.252e-05/0.04743, allocations: 0 / 258.9 MB, free: 11.01 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.004902/0.05233, allocations: 4.795 MB / 263.6 MB, free: 6.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.05237, allocations: 8.031 kB / 263.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.05501, allocations: 0.9957 MB / 264.7 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.05733, allocations: 1.574 MB / 266.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.05743, allocations: 217.6 kB / 266.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005084/0.05794, allocations: 363.6 kB / 266.8 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005457/0.0634, allocations: 4.462 MB / 271.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-05/0.06348, allocations: 39.69 kB / 271.3 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.06373, allocations: 143.8 kB / 271.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001589/0.06532, allocations: 1.384 MB / 272.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00432/0.06964, allocations: 2.351 MB / 275.2 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1444/0.214, allocations: 27.48 MB / 302.7 MB, free: 25.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/0.2177, allocations: 1.62 MB / 304.3 MB, free: 25.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006187/0.2183, allocations: 354 kB / 304.6 MB, free: 25.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005319/0.2236, allocations: 3.574 MB / 308.2 MB, free: 24.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.2236, allocations: 45.94 kB / 308.2 MB, free: 24.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=132): time 3.878e-06/0.2236, allocations: 1.125 kB / 308.2 MB, free: 24.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=139): time 0.008869/0.2325, allocations: 4.042 MB / 312.3 MB, free: 24.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006924/0.2332, allocations: 1.48 MB / 313.8 MB, free: 22.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.2354, allocations: 2.828 MB / 316.6 MB, free: 22.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/0.2355, allocations: 44.08 kB / 316.6 MB, free: 22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008472/0.2363, allocations: 2.74 MB / 319.4 MB, free: 20.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.2366, allocations: 0.5889 MB / 320 MB, free: 19.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006913/0.2373, allocations: 1.037 MB / 321 MB, free: 19.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.602e-05/0.2374, allocations: 305.1 kB / 321.3 MB, free: 19.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008988/0.2383, allocations: 0.7243 MB / 322 MB, free: 18.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.24, allocations: 4.046 MB / 326.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004886/0.2449, allocations: 5.693 MB / 331.8 MB, free: 8.246 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001635/0.245, allocations: 40 kB / 331.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.008289/0.2533, allocations: 4.19 MB / 336 MB, free: 3.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.2534, allocations: 60 kB / 336 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/0.2535, allocations: 130.7 kB / 336.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/0.2566, allocations: 0.5737 MB / 336.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.2587, allocations: 1.341 MB / 338.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.2617, allocations: 3.154 MB / 341.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.264, allocations: 248.6 kB / 341.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/0.2643, allocations: 296 kB / 341.8 MB, free: 14 MB / 298.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.001021/0.2654, allocations: 0.5718 MB / 342.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.2657, allocations: 187.8 kB / 342.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.2675, allocations: 1.074 MB / 343.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001229/0.2687, allocations: 0.6781 MB / 344.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2687, allocations: 0 / 344.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.2687, allocations: 11.81 kB / 344.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006026/0.2748, allocations: 3.716 MB / 348 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.2748, allocations: 11.98 kB / 348 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/0.2753, allocations: 207.8 kB / 348.2 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.2757, allocations: 276.9 kB / 348.5 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001213/0.2769, allocations: 0.4991 MB / 349 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.782e-05/0.277, allocations: 35.97 kB / 349 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.2791, allocations: 2.847 MB / 351.9 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006016/0.2797, allocations: 1.341 MB / 353.2 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.2821, allocations: 1.867 MB / 355.1 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/0.2823, allocations: 31.98 kB / 355.1 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/0.283, allocations: 27.98 kB / 355.1 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.2832, allocations: 88.41 kB / 355.2 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.2833, allocations: 32.06 kB / 355.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.2843, allocations: 1.025 MB / 356.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.2843, allocations: 0 / 356.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003627/0.2879, allocations: 1.019 MB / 357.3 MB, free: 13.93 MB / 314.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.0003802/0.2883, allocations: 183 kB / 357.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003921/0.2922, allocations: 2.783 MB / 360.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001646/0.2924, allocations: 106.7 kB / 360.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.2943, allocations: 1.288 MB / 361.7 MB, free: 9.598 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.2963, allocations: 2.677 MB / 364.3 MB, free: 6.523 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008883/0.3052, allocations: 6.805 MB / 371.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009439/0.3061, allocations: 1.072 MB / 372.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009848/0.3071, allocations: 437.7 kB / 372.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00074/0.3079, allocations: 497.1 kB / 373.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.733e-06/0.3079, allocations: 0 / 373.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of Templates: time 0.0516/0.3595, allocations: 34.01 MB / 407.1 MB, free: 11.44 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.410189598798752]