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.001803/0.001803, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002223/0.002223, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.419/1.419, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.001528/0.001528, allocations: 43.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2093, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01164/0.2209, allocations: 9.376 MB / 441.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006575/0.2275, allocations: 3.767 MB / 445.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005506/0.228, allocations: 71.62 kB / 445.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004631/0.2327, allocations: 2.507 MB / 448.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.2359, allocations: 1.786 MB / 449.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.2372, allocations: 0.6902 MB / 450.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004049/0.2412, allocations: 3.712 MB / 454.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003003/0.2442, allocations: 2.722 MB / 457 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.2458, allocations: 1.499 MB / 458.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.2483, allocations: 2.11 MB / 460.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004946/0.2488, allocations: 316 kB / 460.9 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.2506, allocations: 1.057 MB / 461.9 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.2522, allocations: 1.854 MB / 463.8 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.2538, allocations: 1.573 MB / 465.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0066/0.2604, allocations: 6.706 MB / 472.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2604, allocations: 0 / 472.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2604, allocations: 0 / 472.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.605e-05/0.2605, allocations: 0 / 472.1 MB, free: 14.76 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.007474/0.2679, allocations: 4.579 MB / 476.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.268, allocations: 8.031 kB / 476.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006915/0.2749, allocations: 1.964 MB / 478.6 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.279, allocations: 1.953 MB / 480.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.2792, allocations: 254.2 kB / 480.8 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000867/0.2801, allocations: 387.8 kB / 481.2 MB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01799/0.2981, allocations: 10.19 MB / 491.4 MB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.2982, allocations: 35.69 kB / 491.4 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.2986, allocations: 155.9 kB / 491.6 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002887/0.3015, allocations: 1.868 MB / 493.5 MB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/0.3183, allocations: 8.343 MB / 0.49 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0455/0.3638, allocations: 36.9 MB / 0.5261 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.3744, allocations: 3.439 MB / 0.5294 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.3764, allocations: 1.338 MB / 0.5307 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1837/0.5601, allocations: 5.53 MB / 0.5361 GB, free: 101.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.5601, allocations: 47.2 kB / 0.5362 GB, free: 101 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.679e-06/0.5601, allocations: 0 / 0.5362 GB, free: 101 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02877/0.5889, allocations: 12.31 MB / 0.5482 GB, free: 97.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007896/0.5897, allocations: 1.548 MB / 0.5497 GB, free: 95.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003205/0.5929, allocations: 3.665 MB / 0.5533 GB, free: 94.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.593, allocations: 45.7 kB / 0.5533 GB, free: 94.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.594, allocations: 3.266 MB / 0.5565 GB, free: 91.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.5944, allocations: 0.6671 MB / 0.5572 GB, free: 91.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.5955, allocations: 1.274 MB / 0.5584 GB, free: 90.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.693e-05/0.5955, allocations: 305.1 kB / 0.5587 GB, free: 89.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/0.5978, allocations: 2.049 MB / 0.5607 GB, free: 87.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003246/0.6011, allocations: 5.985 MB / 0.5666 GB, free: 80.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005963/0.607, allocations: 8.641 MB / 0.575 GB, free: 69.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-05/0.6071, allocations: 40.69 kB / 0.575 GB, free: 69.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01769/0.6248, allocations: 9.816 MB / 0.5846 GB, free: 59.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.078e-05/0.6248, allocations: 64 kB / 0.5847 GB, free: 59.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0105/0.6353, allocations: 3.849 MB / 0.5885 GB, free: 55.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/0.6464, allocations: 2.713 MB / 0.5911 GB, free: 52.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/0.6497, allocations: 1.372 MB / 0.5924 GB, free: 51.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.6627, allocations: 11.06 MB / 0.6032 GB, free: 40.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003734/0.6664, allocations: 411.5 kB / 0.6036 GB, free: 39.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003448/0.6667, allocations: 391.7 kB / 0.604 GB, free: 39.43 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.001948/0.6687, allocations: 2.006 MB / 0.606 GB, free: 37.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/0.669, allocations: 317.9 kB / 0.6063 GB, free: 37.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005467/0.6696, allocations: 405.5 kB / 0.6067 GB, free: 36.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005253/0.6748, allocations: 2.707 MB / 0.6093 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.6748, allocations: 7.938 kB / 0.6093 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.6749, allocations: 3.984 kB / 0.6093 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.6872, allocations: 7.468 MB / 0.6166 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.6872, allocations: 0 / 0.6166 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/0.688, allocations: 199.7 kB / 0.6168 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004316/0.6923, allocations: 1.455 MB / 0.6182 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.885e-05/0.6924, allocations: 31.98 kB / 0.6182 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009716/0.7022, allocations: 9.347 MB / 0.6274 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006127/0.7028, allocations: 1.42 MB / 0.6288 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007384/0.7102, allocations: 5.332 MB / 0.634 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/0.7106, allocations: 277.8 kB / 0.6342 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/0.7109, allocations: 35.94 kB / 0.6343 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.7121, allocations: 123.9 kB / 0.6344 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.7123, allocations: 116.7 kB / 0.6345 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.7124, allocations: 47.75 kB / 0.6345 GB, free: 7.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00204/0.7145, allocations: 2.062 MB / 0.6366 GB, free: 5.535 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7145, allocations: 0 / 0.6366 GB, free: 5.535 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004119/0.7186, allocations: 1.066 MB / 0.6376 GB, free: 4.469 MB / 446.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.000308/0.7189, allocations: 163 kB / 0.6378 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007858/0.7268, allocations: 5.415 MB / 0.643 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7268, allocations: 4 kB / 0.643 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004361/0.7311, allocations: 2.087 MB / 0.6451 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.7329, allocations: 340.5 kB / 0.6454 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.7471, allocations: 9.16 MB / 0.6544 GB, free: 3.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003455/0.7506, allocations: 2.58 MB / 0.6569 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003804/0.7544, allocations: 1.774 MB / 0.6586 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/0.7549, allocations: 203.3 kB / 0.6588 GB, free: 14.61 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7549, allocations: 4 kB / 0.6588 GB, free: 14.61 MB / 478.1 MB Notification: Performance of Templates: time 0.07723/0.8321, allocations: 41.79 MB / 0.6996 GB, free: 5.324 MB / 0.4981 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/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.835704273995361]