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.001328/0.001328, allocations: 117.1 kB / 20.43 MB, free: 1.297 MB / 14.72 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.001539/0.001539, allocations: 210.3 kB / 23.74 MB, free: 4.516 MB / 14.72 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 1.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] 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.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.",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.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.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 51.91 kB / 378.3 MB, free: 2.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.276, allocations: 53.35 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01357/0.2895, allocations: 10.79 MB / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009798/0.2993, allocations: 4.005 MB / 446.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.3011, allocations: 75.62 kB / 446.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005027/0.3061, allocations: 2.608 MB / 449.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004474/0.3106, allocations: 1.782 MB / 450.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.3121, allocations: 0.6824 MB / 451.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00502/0.3171, allocations: 3.712 MB / 455.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003115/0.3202, allocations: 2.731 MB / 458 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.3221, allocations: 1.499 MB / 459.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.3248, allocations: 2.114 MB / 461.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005312/0.3254, allocations: 316 kB / 461.9 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.3274, allocations: 1.178 MB / 463.1 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.3292, allocations: 1.85 MB / 465 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002088/0.3312, allocations: 2.128 MB / 467.1 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007711/0.339, allocations: 6.672 MB / 473.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.339, allocations: 0 / 473.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.339, allocations: 0 / 473.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001324/0.3391, allocations: 0 / 473.8 MB, free: 12.61 MB / 382.1 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.008695/0.3478, allocations: 4.58 MB / 478.3 MB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3478, allocations: 12.03 kB / 478.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006946/0.3548, allocations: 1.96 MB / 480.3 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004929/0.3597, allocations: 1.945 MB / 482.3 MB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002399/0.36, allocations: 246.2 kB / 482.5 MB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009565/0.3609, allocations: 391.7 kB / 482.9 MB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/0.3817, allocations: 10.11 MB / 493 MB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.3819, allocations: 43.67 kB / 493 MB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008433/0.3827, allocations: 155.9 kB / 493.2 MB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003073/0.3858, allocations: 1.86 MB / 495 MB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/0.4046, allocations: 8.362 MB / 0.4916 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05487/0.4595, allocations: 39.2 MB / 0.5299 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.4702, allocations: 3.457 MB / 0.5333 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.4723, allocations: 1.338 MB / 0.5346 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2025/0.6748, allocations: 5.849 MB / 0.5403 GB, free: 99.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.6749, allocations: 48.06 kB / 0.5403 GB, free: 99.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.897e-06/0.6749, allocations: 0 / 0.5403 GB, free: 99.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02734/0.7022, allocations: 12.32 MB / 0.5524 GB, free: 94.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008599/0.7031, allocations: 1.572 MB / 0.5539 GB, free: 93.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003724/0.7068, allocations: 3.816 MB / 0.5576 GB, free: 91.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.707, allocations: 49.69 kB / 0.5577 GB, free: 91.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.7082, allocations: 3.238 MB / 0.5608 GB, free: 88.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004492/0.7086, allocations: 0.6738 MB / 0.5615 GB, free: 87.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/0.7097, allocations: 1.266 MB / 0.5627 GB, free: 86.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.555e-05/0.7097, allocations: 309.1 kB / 0.563 GB, free: 85.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.7119, allocations: 2.05 MB / 0.565 GB, free: 83.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003259/0.7152, allocations: 5.989 MB / 0.5709 GB, free: 75.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006206/0.7214, allocations: 8.651 MB / 0.5793 GB, free: 65.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.148e-05/0.7215, allocations: 40 kB / 0.5794 GB, free: 65.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0185/0.74, allocations: 9.84 MB / 0.589 GB, free: 55.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/0.74, allocations: 64 kB / 0.589 GB, free: 55.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01012/0.7501, allocations: 3.849 MB / 0.5928 GB, free: 51.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.7607, allocations: 2.716 MB / 0.5954 GB, free: 48.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/0.7644, allocations: 1.372 MB / 0.5968 GB, free: 47.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.7778, allocations: 11.29 MB / 0.6078 GB, free: 35.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004649/0.7825, allocations: 407.5 kB / 0.6082 GB, free: 35.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008962/0.7834, allocations: 395.5 kB / 0.6086 GB, free: 34.95 MB / 446.1 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.003059/0.7864, allocations: 2.005 MB / 0.6105 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005752/0.787, allocations: 341.7 kB / 0.6109 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008699/0.7879, allocations: 432.4 kB / 0.6113 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005342/0.7932, allocations: 2.71 MB / 0.6139 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.7932, allocations: 4.75 kB / 0.6139 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.7932, allocations: 3.984 kB / 0.6139 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/0.8076, allocations: 8.434 MB / 0.6222 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.8076, allocations: 0 / 0.6222 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/0.8084, allocations: 195.7 kB / 0.6223 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004232/0.8127, allocations: 1.463 MB / 0.6238 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.8128, allocations: 35.98 kB / 0.6238 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.8232, allocations: 9.512 MB / 0.6331 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007002/0.8239, allocations: 1.444 MB / 0.6345 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008183/0.8321, allocations: 5.353 MB / 0.6397 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008584/0.8329, allocations: 313.7 kB / 0.64 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005927/0.8335, allocations: 31.98 kB / 0.6401 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.8349, allocations: 127.8 kB / 0.6402 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.8352, allocations: 124.6 kB / 0.6403 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.8353, allocations: 44.45 kB / 0.6404 GB, free: 1.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002984/0.8383, allocations: 2.337 MB / 0.6426 GB, free: 15.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8383, allocations: 0 / 0.6426 GB, free: 15.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005105/0.8434, allocations: 1.07 MB / 0.6437 GB, free: 14.38 MB / 462.1 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.0004195/0.8438, allocations: 166.9 kB / 0.6438 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01048/0.8543, allocations: 5.411 MB / 0.6491 GB, free: 8.777 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.8543, allocations: 0 / 0.6491 GB, free: 8.777 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004532/0.8588, allocations: 2.094 MB / 0.6512 GB, free: 6.641 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.8611, allocations: 396.9 kB / 0.6515 GB, free: 6.258 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/0.8774, allocations: 9.189 MB / 0.6605 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003554/0.8809, allocations: 3.127 MB / 0.6636 GB, free: 9.859 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004108/0.885, allocations: 1.807 MB / 0.6653 GB, free: 8.043 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/0.8856, allocations: 219.4 kB / 0.6655 GB, free: 7.828 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.8856, allocations: 0 / 0.6655 GB, free: 7.828 MB / 478.1 MB Notification: Performance of Templates: time 0.08839/0.974, allocations: 44.09 MB / 0.7086 GB, free: 12 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.966846058843657]