Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001028/0.001028, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001131/0.001131, allocations: 170 kB / 25.61 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.98/0.98, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.643e-05, allocations: 2.312 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.00803/0.008047, allocations: 10.09 MB / 284.3 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006433/0.01448, allocations: 3.847 MB / 288.1 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.01584, allocations: 67.69 kB / 288.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.01863, allocations: 2.737 MB / 290.9 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.02164, allocations: 1.843 MB / 292.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.02293, allocations: 0.7328 MB / 293.5 MB, free: 1.031 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.02613, allocations: 4.106 MB / 297.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/0.02872, allocations: 3.065 MB / 300.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.03071, allocations: 2.261 MB / 303 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.03264, allocations: 2.124 MB / 305.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003573/0.03299, allocations: 316 kB / 305.4 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.03435, allocations: 1.108 MB / 306.5 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.03577, allocations: 1.944 MB / 308.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009805/0.03675, allocations: 1.231 MB / 309.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.04031, allocations: 4.343 MB / 314 MB, free: 12.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.04031, allocations: 0 / 314 MB, free: 12.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.04031, allocations: 0 / 314 MB, free: 12.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.095e-05/0.04038, allocations: 4 kB / 314 MB, free: 12.42 MB / 298.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.005501/0.04588, allocations: 4.81 MB / 318.8 MB, free: 7.547 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.04593, allocations: 8.031 kB / 318.8 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/0.04949, allocations: 1.496 MB / 320.3 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.05272, allocations: 1.694 MB / 322 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.05291, allocations: 250.4 kB / 322.3 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009329/0.05384, allocations: 379.7 kB / 322.6 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009799/0.06364, allocations: 5.813 MB / 328.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.34e-05/0.06373, allocations: 35.67 kB / 328.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003976/0.06413, allocations: 163.8 kB / 328.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001601/0.06573, allocations: 1.685 MB / 330.3 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00636/0.07209, allocations: 2.766 MB / 333.1 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1604/0.2325, allocations: 43.43 MB / 376.5 MB, free: 32.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004882/0.2374, allocations: 2.46 MB / 379 MB, free: 32.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.2379, allocations: 494.5 kB / 379.5 MB, free: 32.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004119/0.242, allocations: 4.196 MB / 383.7 MB, free: 31.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.242, allocations: 52.61 kB / 383.7 MB, free: 31.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 2.946e-06/0.242, allocations: 0 / 383.7 MB, free: 31.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01254/0.2546, allocations: 6.115 MB / 389.8 MB, free: 30.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005976/0.2552, allocations: 2.01 MB / 391.8 MB, free: 28.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.2573, allocations: 3.389 MB / 395.2 MB, free: 27.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.974e-05/0.2574, allocations: 45.61 kB / 395.3 MB, free: 27.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.2584, allocations: 3.421 MB / 398.7 MB, free: 25.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.2587, allocations: 0.6985 MB / 399.4 MB, free: 25.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009785/0.2597, allocations: 1.374 MB / 400.8 MB, free: 25.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.034e-05/0.2597, allocations: 480.7 kB / 401.2 MB, free: 24.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/0.2606, allocations: 0.6379 MB / 401.9 MB, free: 24.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.2628, allocations: 6.498 MB / 408.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/0.2668, allocations: 7.88 MB / 416.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.306e-05/0.2668, allocations: 40 kB / 416.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.007834/0.2746, allocations: 5.721 MB / 422 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.2747, allocations: 68 kB / 422.1 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003989/0.2787, allocations: 1.431 MB / 423.5 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004631/0.2833, allocations: 1.122 MB / 424.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.2853, allocations: 1.326 MB / 426 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00628/0.2916, allocations: 7.704 MB / 433.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/0.2937, allocations: 295.1 kB / 433.9 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/0.294, allocations: 337.3 kB / 434.3 MB, free: 3.973 MB / 346.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.0008885/0.2949, allocations: 0.6789 MB / 435 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.2952, allocations: 353.9 kB / 435.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.2956, allocations: 345.5 kB / 435.6 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002018/0.2976, allocations: 1.123 MB / 436.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2976, allocations: 7.984 kB / 436.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.2976, allocations: 7.984 kB / 436.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006458/0.304, allocations: 4.897 MB / 441.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.304, allocations: 0 / 441.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.3045, allocations: 159.7 kB / 441.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002375/0.3068, allocations: 0.8877 MB / 442.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.259e-05/0.3069, allocations: 31.98 kB / 442.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005187/0.3121, allocations: 7.433 MB / 450.2 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006885/0.3128, allocations: 1.872 MB / 452.1 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/0.3163, allocations: 2.51 MB / 454.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.3167, allocations: 289.7 kB / 454.8 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.317, allocations: 35.92 kB / 454.9 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006108/0.3176, allocations: 28 kB / 454.9 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.3178, allocations: 112.8 kB / 455 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.95e-05/0.3179, allocations: 39.27 kB / 455.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.3192, allocations: 1.319 MB / 456.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3192, allocations: 0 / 456.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004073/0.3232, allocations: 1.148 MB / 457.5 MB, free: 12.65 MB / 378.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.0004108/0.3237, allocations: 182.9 kB / 457.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004463/0.3281, allocations: 3.591 MB / 461.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3281, allocations: 0 / 461.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.3297, allocations: 1.421 MB / 462.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.3308, allocations: 362 kB / 463.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/0.3388, allocations: 7.383 MB / 470.5 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009718/0.3398, allocations: 1.177 MB / 471.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009768/0.3407, allocations: 466.8 kB / 472.1 MB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/0.3414, allocations: 0.543 MB / 472.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3414, allocations: 0 / 472.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of Templates: time 0.05247/0.3939, allocations: 40.84 MB / 0.5014 GB, free: 5.156 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.421118244063109]