Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.0007643/0.0007643, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001789, allocations: 445.7 kB / 10.37 MB, free: 328 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.00107/0.00107, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002439, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9967/0.9967, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1825/1.179, allocations: 49.49 MB / 220.6 MB, free: 1.449 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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.334e-05, allocations: 2.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.006801/0.006834, allocations: 7.163 MB / 229 MB, free: 8.961 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.01208, allocations: 3.265 MB / 232.3 MB, free: 5.684 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005506/0.01263, allocations: 39.81 kB / 232.3 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.0139, allocations: 1.062 MB / 233.4 MB, free: 4.578 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.01583, allocations: 1.423 MB / 234.8 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.01641, allocations: 450.9 kB / 235.2 MB, free: 2.707 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00222/0.01863, allocations: 2.869 MB / 238.1 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.01983, allocations: 1.422 MB / 239.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.02101, allocations: 1.389 MB / 240.9 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.02237, allocations: 1.356 MB / 242.3 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.02269, allocations: 172 kB / 242.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.02393, allocations: 1.006 MB / 243.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006855/0.02462, allocations: 1.068 MB / 244.5 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005758/0.02519, allocations: 0.6035 MB / 245.1 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.0276, allocations: 2.771 MB / 247.9 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-05/0.02761, allocations: 0 / 247.9 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.02762, allocations: 0 / 247.9 MB, free: 5.996 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.615e-05/0.02768, allocations: 4 kB / 247.9 MB, free: 5.992 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.003291/0.03097, allocations: 3.368 MB / 251.3 MB, free: 2.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.03101, allocations: 8.031 kB / 251.3 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.03366, allocations: 0.8864 MB / 252.2 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.03553, allocations: 1.055 MB / 253.2 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-05/0.03563, allocations: 135.4 kB / 253.3 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005514/0.03618, allocations: 247.7 kB / 253.6 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004933/0.04111, allocations: 3.259 MB / 256.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.441e-05/0.04118, allocations: 35.64 kB / 256.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.04137, allocations: 87.89 kB / 257 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001189/0.04256, allocations: 1.199 MB / 258.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003857/0.04642, allocations: 1.848 MB / 260 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02085/0.06727, allocations: 20.12 MB / 280.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.06947, allocations: 1.062 MB / 281.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.06982, allocations: 256.9 kB / 281.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002893/0.07271, allocations: 2.219 MB / 283.7 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.07291, allocations: 47.05 kB / 283.7 MB, free: 0.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=112): time 2.234e-06/0.07291, allocations: 0 / 283.7 MB, free: 0.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=125): time 0.1301/0.203, allocations: 3.978 MB / 287.7 MB, free: 48.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006958/0.2037, allocations: 1.467 MB / 289.2 MB, free: 46.74 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.2061, allocations: 2.184 MB / 291.3 MB, free: 46.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.2062, allocations: 43.77 kB / 291.4 MB, free: 46.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.2072, allocations: 2.078 MB / 293.5 MB, free: 44.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004567/0.2077, allocations: 0.5199 MB / 294 MB, free: 44.56 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008981/0.2086, allocations: 0.8526 MB / 294.8 MB, free: 44.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.2087, allocations: 355 kB / 295.2 MB, free: 44.15 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.2098, allocations: 0.6285 MB / 295.8 MB, free: 44.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.2116, allocations: 3.318 MB / 299.1 MB, free: 40.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.2147, allocations: 4.401 MB / 303.5 MB, free: 36.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.725e-05/0.2148, allocations: 29.31 kB / 303.6 MB, free: 36.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.007256/0.222, allocations: 3.763 MB / 307.3 MB, free: 35.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.2221, allocations: 51.09 kB / 307.4 MB, free: 35.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003478/0.2256, allocations: 1.084 MB / 308.4 MB, free: 35.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003803/0.2294, allocations: 0.8528 MB / 309.3 MB, free: 35.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/0.2316, allocations: 1.087 MB / 310.4 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/0.2357, allocations: 4.044 MB / 314.4 MB, free: 31.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/0.2392, allocations: 207 kB / 314.6 MB, free: 31.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003622/0.2395, allocations: 249.9 kB / 314.9 MB, free: 31.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008944/0.2404, allocations: 487 kB / 315.4 MB, free: 31.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.2407, allocations: 150.4 kB / 315.5 MB, free: 30.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.2427, allocations: 1.164 MB / 316.7 MB, free: 29.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001606/0.2443, allocations: 0.8406 MB / 317.5 MB, free: 28.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.832e-05/0.2443, allocations: 11.61 kB / 317.5 MB, free: 28.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.2444, allocations: 3.984 kB / 317.5 MB, free: 28.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004908/0.2493, allocations: 3.201 MB / 320.7 MB, free: 25.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.2493, allocations: 4 kB / 320.7 MB, free: 25.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.2497, allocations: 155.8 kB / 320.9 MB, free: 25.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005321/0.2503, allocations: 218.3 kB / 321.1 MB, free: 25.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/0.2521, allocations: 0.77 MB / 321.9 MB, free: 24.67 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.553e-05/0.2522, allocations: 27.97 kB / 321.9 MB, free: 24.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.2552, allocations: 3.774 MB / 325.7 MB, free: 20.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004467/0.2556, allocations: 1.331 MB / 327 MB, free: 19.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.2582, allocations: 1.936 MB / 328.9 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005757/0.2588, allocations: 31.98 kB / 329 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.2594, allocations: 19.94 kB / 329 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.2596, allocations: 84.92 kB / 329.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.2597, allocations: 31.98 kB / 329.1 MB, free: 17.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008293/0.2605, allocations: 0.7492 MB / 329.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2605, allocations: 0 / 329.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00316/0.2637, allocations: 0.8749 MB / 330.7 MB, free: 15.46 MB / 282.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.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003706/0.264, allocations: 168.8 kB / 330.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003093/0.2671, allocations: 2.327 MB / 333.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000105/0.2672, allocations: 71.88 kB / 333.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009669/0.2682, allocations: 0.783 MB / 334.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.2696, allocations: 0.5498 MB / 334.6 MB, free: 11.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007711/0.2773, allocations: 5.069 MB / 339.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.2779, allocations: 0.7949 MB / 340.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008204/0.2787, allocations: 339.7 kB / 340.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.2792, allocations: 377.2 kB / 341.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of SimCode: time 1.963e-06/0.2792, allocations: 0 / 341.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of Templates: time 0.04019/0.3194, allocations: 31.37 MB / 372.5 MB, free: 5.441 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.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.679867194034159]