Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 92.62 kB / 20.96 MB, free: 3.48 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 153.4 kB / 24.25 MB, free: 192 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.539e-05, allocations: 2.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.02001/0.02005, allocations: 9.413 MB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.03291, allocations: 3.76 MB / 280.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.03529, allocations: 75.62 kB / 280.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009038/0.04433, allocations: 2.686 MB / 283.3 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007583/0.05191, allocations: 1.87 MB / 285.1 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.05432, allocations: 0.7406 MB / 285.9 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007267/0.06159, allocations: 4.046 MB / 289.9 MB, free: 40 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1426/0.2042, allocations: 3.055 MB / 293 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007435/0.2116, allocations: 2.244 MB / 295.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.2168, allocations: 2.065 MB / 297.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001795/0.2186, allocations: 319.6 kB / 297.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.2218, allocations: 1.124 MB / 298.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002864/0.2247, allocations: 1.952 MB / 300.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002381/0.2271, allocations: 1.243 MB / 301.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006729/0.2338, allocations: 6.73 MB / 308.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2338, allocations: 0.5 kB / 308.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2338, allocations: 2.469 kB / 308.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001993/0.234, allocations: 0 / 308.6 MB, free: 11.53 MB / 266.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.008279/0.2423, allocations: 4.636 MB / 313.3 MB, free: 8.379 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2423, allocations: 9.953 kB / 313.3 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007197/0.2495, allocations: 2.477 MB / 315.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003637/0.2532, allocations: 1.955 MB / 317.7 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.2533, allocations: 244.2 kB / 318 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.2544, allocations: 397.3 kB / 318.4 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/0.2735, allocations: 10.15 MB / 328.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.2737, allocations: 41.23 kB / 328.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00107/0.2748, allocations: 161.4 kB / 328.7 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003499/0.2783, allocations: 1.859 MB / 330.6 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/0.2983, allocations: 8.311 MB / 338.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05882/0.3572, allocations: 37.11 MB / 376 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.3685, allocations: 3.563 MB / 379.5 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/0.371, allocations: 1.336 MB / 380.9 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/0.3835, allocations: 5.624 MB / 386.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.3836, allocations: 51.03 kB / 386.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 4.077e-06/0.3836, allocations: 0 / 386.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.03683/0.4204, allocations: 12.56 MB / 399.1 MB, free: 3.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001611/0.422, allocations: 1.561 MB / 400.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00675/0.4288, allocations: 3.743 MB / 404.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.429, allocations: 52.75 kB / 404.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003071/0.432, allocations: 3.223 MB / 407.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009446/0.433, allocations: 0.6725 MB / 408.4 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002536/0.4355, allocations: 1.249 MB / 409.6 MB, free: 8.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4357, allocations: 301.1 kB / 409.9 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003933/0.4396, allocations: 2.066 MB / 412 MB, free: 6.094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008464/0.4481, allocations: 6.008 MB / 418 MB, free: 14.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/0.4616, allocations: 8.657 MB / 426.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001905/0.4618, allocations: 44 kB / 426.7 MB, free: 3.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.1412/0.6029, allocations: 10.08 MB / 436.8 MB, free: 118 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.743e-05/0.603, allocations: 64.81 kB / 436.8 MB, free: 118 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01101/0.614, allocations: 3.767 MB / 440.6 MB, free: 117.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/0.6264, allocations: 2.849 MB / 443.4 MB, free: 117.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004161/0.6306, allocations: 1.389 MB / 444.8 MB, free: 117.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008842/0.6394, allocations: 7.429 MB / 452.3 MB, free: 113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00501/0.6444, allocations: 469.5 kB / 452.7 MB, free: 112.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009826/0.6454, allocations: 391.8 kB / 453.1 MB, free: 112.8 MB / 378.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.003643/0.6491, allocations: 2.004 MB / 455.1 MB, free: 111.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008615/0.6499, allocations: 359.5 kB / 455.5 MB, free: 111.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006398/0.6563, allocations: 3.08 MB / 458.5 MB, free: 110.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005297/0.6616, allocations: 2.663 MB / 461.2 MB, free: 108 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.6616, allocations: 4 kB / 461.2 MB, free: 108 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/0.6617, allocations: 3.984 kB / 461.2 MB, free: 108 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.6764, allocations: 7.526 MB / 468.7 MB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.6764, allocations: 11.98 kB / 468.7 MB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.6773, allocations: 187.7 kB / 468.9 MB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005294/0.6826, allocations: 1.674 MB / 470.6 MB, free: 98.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/0.6828, allocations: 39.97 kB / 470.6 MB, free: 98.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005124/0.6879, allocations: 5.76 MB / 476.4 MB, free: 92.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006967/0.6886, allocations: 1.424 MB / 477.8 MB, free: 91.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007863/0.6965, allocations: 5.313 MB / 483.1 MB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009697/0.6974, allocations: 313 kB / 483.4 MB, free: 85.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007158/0.6981, allocations: 24 kB / 483.5 MB, free: 85.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/0.7001, allocations: 159.7 kB / 483.6 MB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/0.7004, allocations: 96.8 kB / 483.7 MB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.7005, allocations: 43.98 kB / 483.8 MB, free: 85.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00412/0.7046, allocations: 2.121 MB / 485.9 MB, free: 83.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7046, allocations: 0 / 485.9 MB, free: 83.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006622/0.7112, allocations: 1.116 MB / 487 MB, free: 82.2 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.0005516/0.7118, allocations: 190.2 kB / 487.2 MB, free: 82.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00809/0.7199, allocations: 5.16 MB / 492.3 MB, free: 76.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.7199, allocations: 4 kB / 492.3 MB, free: 76.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003293/0.7232, allocations: 1.794 MB / 494.1 MB, free: 75.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/0.7261, allocations: 364.4 kB / 494.5 MB, free: 74.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.7401, allocations: 9.081 MB / 0.4918 GB, free: 65.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003586/0.7437, allocations: 2.56 MB / 0.4943 GB, free: 62.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003518/0.7473, allocations: 1.77 MB / 0.496 GB, free: 61.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/0.7478, allocations: 216.4 kB / 0.4962 GB, free: 60.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.7478, allocations: 0 / 0.4962 GB, free: 60.95 MB / 378.7 MB Notification: Performance of Templates: time 0.05191/0.7997, allocations: 32.69 MB / 0.5281 GB, free: 28.77 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.59070434095338]