Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001222/0.001222, allocations: 84.98 kB / 23 MB, free: 1.504 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.001426/0.001426, allocations: 171.5 kB / 26.39 MB, free: 8.148 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 1.006/1.006, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.441e-05, allocations: 2.312 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.00811/0.008134, allocations: 10.12 MB / 262.4 MB, free: 13.06 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006106/0.01424, allocations: 3.819 MB / 266.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009292/0.01517, allocations: 75.62 kB / 266.3 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002843/0.01801, allocations: 2.737 MB / 269 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.02072, allocations: 1.878 MB / 270.9 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.02177, allocations: 0.7445 MB / 271.6 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.025, allocations: 4.051 MB / 275.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.02738, allocations: 3.089 MB / 278.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.02946, allocations: 2.276 MB / 281.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.03138, allocations: 2.135 MB / 283.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004734/0.03185, allocations: 320 kB / 283.5 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.03317, allocations: 1.112 MB / 284.6 MB, free: 6.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.03422, allocations: 1.979 MB / 286.6 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.03545, allocations: 1.246 MB / 287.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.03867, allocations: 4.398 MB / 292.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.03868, allocations: 0 / 292.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03868, allocations: 0 / 292.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.723e-05/0.03874, allocations: 0 / 292.2 MB, free: 15.06 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.005072/0.04381, allocations: 4.856 MB / 297.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.04384, allocations: 11.98 kB / 297.1 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/0.04696, allocations: 1.457 MB / 298.6 MB, free: 8.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.04863, allocations: 1.705 MB / 300.3 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.04875, allocations: 250.4 kB / 300.5 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000494/0.04925, allocations: 383.7 kB / 300.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006136/0.05538, allocations: 5.774 MB / 306.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.26e-05/0.05546, allocations: 39.64 kB / 306.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/0.05571, allocations: 163.7 kB / 306.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001663/0.05737, allocations: 1.681 MB / 308.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004746/0.06212, allocations: 2.747 MB / 311.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.156/0.2181, allocations: 43.44 MB / 354.7 MB, free: 88.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004761/0.2229, allocations: 2.425 MB / 357.2 MB, free: 88.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006058/0.2235, allocations: 0.4931 MB / 357.6 MB, free: 88.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004854/0.2283, allocations: 4.193 MB / 361.8 MB, free: 87.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.2283, allocations: 53.8 kB / 361.9 MB, free: 87.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 2.966e-06/0.2283, allocations: 0 / 361.9 MB, free: 87.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01301/0.2413, allocations: 6.107 MB / 368 MB, free: 86.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000643/0.242, allocations: 2.002 MB / 370 MB, free: 84.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002747/0.2447, allocations: 3.415 MB / 373.4 MB, free: 83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.2449, allocations: 54.19 kB / 373.5 MB, free: 82.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.2461, allocations: 3.425 MB / 376.9 MB, free: 80.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/0.2466, allocations: 0.7017 MB / 377.6 MB, free: 79.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.2476, allocations: 1.374 MB / 379 MB, free: 78.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.2476, allocations: 476.8 kB / 379.4 MB, free: 78.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.2487, allocations: 0.632 MB / 380.1 MB, free: 77.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/0.2512, allocations: 6.497 MB / 386.6 MB, free: 69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004115/0.2554, allocations: 7.87 MB / 394.4 MB, free: 58.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.862e-05/0.2554, allocations: 40 kB / 394.5 MB, free: 58.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.009221/0.2647, allocations: 5.743 MB / 400.2 MB, free: 53.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/0.2647, allocations: 68.22 kB / 400.3 MB, free: 53.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00411/0.2688, allocations: 1.43 MB / 401.7 MB, free: 51.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004649/0.2735, allocations: 1.115 MB / 402.8 MB, free: 50.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/0.2758, allocations: 1.326 MB / 404.2 MB, free: 49.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.279, allocations: 5.271 MB / 409.4 MB, free: 43.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.2823, allocations: 287.7 kB / 409.7 MB, free: 43.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000514/0.2828, allocations: 336 kB / 410 MB, free: 42.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.001389/0.2842, allocations: 0.6806 MB / 410.7 MB, free: 42.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004899/0.2847, allocations: 353.9 kB / 411.1 MB, free: 41.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.2869, allocations: 1.551 MB / 412.6 MB, free: 40.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001725/0.2887, allocations: 1.134 MB / 413.7 MB, free: 39.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.2887, allocations: 8 kB / 413.8 MB, free: 39.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.2887, allocations: 7.969 kB / 413.8 MB, free: 39.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00664/0.2953, allocations: 4.906 MB / 418.7 MB, free: 34.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2953, allocations: 0 / 418.7 MB, free: 34.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.2958, allocations: 159 kB / 418.8 MB, free: 34.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/0.298, allocations: 0.8801 MB / 419.7 MB, free: 33.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.411e-05/0.2981, allocations: 35.97 kB / 419.7 MB, free: 33.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.3003, allocations: 5.007 MB / 424.7 MB, free: 27.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004272/0.3007, allocations: 1.865 MB / 426.6 MB, free: 25.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00325/0.304, allocations: 2.511 MB / 429.1 MB, free: 23.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/0.3045, allocations: 297.7 kB / 429.4 MB, free: 22.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.3048, allocations: 35.27 kB / 429.4 MB, free: 22.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.3054, allocations: 27.98 kB / 429.5 MB, free: 22.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.3055, allocations: 100.7 kB / 429.6 MB, free: 22.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-05/0.3056, allocations: 39.97 kB / 429.6 MB, free: 22.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.3068, allocations: 1.328 MB / 430.9 MB, free: 21.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3068, allocations: 0 / 430.9 MB, free: 21.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003182/0.3099, allocations: 1.113 MB / 432.1 MB, free: 20.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003133/0.3103, allocations: 190.6 kB / 432.2 MB, free: 20.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003656/0.3139, allocations: 3.276 MB / 435.5 MB, free: 16.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3139, allocations: 0 / 435.5 MB, free: 16.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.3152, allocations: 1.096 MB / 436.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.3164, allocations: 374.5 kB / 437 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008273/0.3246, allocations: 7.376 MB / 444.3 MB, free: 7.879 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/0.3254, allocations: 1.155 MB / 445.5 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001111/0.3266, allocations: 471 kB / 446 MB, free: 6.238 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/0.3272, allocations: 0.5371 MB / 446.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3272, allocations: 0 / 446.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of Templates: time 0.0479/0.3751, allocations: 36.75 MB / 483.3 MB, free: 0.8789 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.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: 4.308168274816126]