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.0008924/0.0008924, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005083/0.005083, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8711/0.8711, allocations: 177.1 MB / 205 MB, free: 5.73 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.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 1.723e-06/1.723e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.239e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.009907/0.009939, allocations: 9.388 MB / 335.2 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008362/0.0183, allocations: 3.768 MB / 339 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.0207, allocations: 71.69 kB / 339.1 MB, free: 2.137 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004905/0.02561, allocations: 2.647 MB / 341.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004173/0.02978, allocations: 1.834 MB / 343.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.0311, allocations: 0.7251 MB / 344.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004247/0.03535, allocations: 4.104 MB / 348.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002994/0.03834, allocations: 2.975 MB / 351.4 MB, free: 5.758 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/0.04106, allocations: 2.229 MB / 353.6 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.04349, allocations: 2.057 MB / 355.6 MB, free: 1.461 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005359/0.04403, allocations: 320 kB / 356 MB, free: 1.148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.04553, allocations: 1.108 MB / 357.1 MB, free: 40 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.04679, allocations: 1.932 MB / 359 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.04798, allocations: 1.223 MB / 360.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005457/0.05344, allocations: 6.67 MB / 366.9 MB, free: 6.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.05344, allocations: 0 / 366.9 MB, free: 6.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.05344, allocations: 0 / 366.9 MB, free: 6.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001772/0.05362, allocations: 4 kB / 366.9 MB, free: 6.18 MB / 330.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.006628/0.06025, allocations: 4.603 MB / 371.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.06029, allocations: 8.031 kB / 371.5 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00377/0.06406, allocations: 1.995 MB / 373.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.0669, allocations: 1.937 MB / 375.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.06704, allocations: 250.4 kB / 375.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005957/0.06763, allocations: 391.8 kB / 376.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01374/0.08137, allocations: 10.2 MB / 386.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.665e-05/0.08147, allocations: 39.64 kB / 386.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003687/0.08183, allocations: 159.8 kB / 386.5 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00178/0.08361, allocations: 1.864 MB / 388.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/0.09579, allocations: 8.386 MB / 396.7 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0348/0.1306, allocations: 37.04 MB / 433.7 MB, free: 1.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006703/0.1373, allocations: 3.604 MB / 437.3 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.1388, allocations: 1.33 MB / 438.7 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007069/0.1459, allocations: 5.643 MB / 444.3 MB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1459, allocations: 51.56 kB / 444.4 MB, free: 6.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 4.568e-06/0.1459, allocations: 0 / 444.4 MB, free: 6.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.1755/0.3214, allocations: 12.61 MB / 457 MB, free: 112.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007467/0.3222, allocations: 1.549 MB / 458.5 MB, free: 111.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.3259, allocations: 3.736 MB / 462.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.3262, allocations: 51.42 kB / 462.3 MB, free: 109.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.3273, allocations: 3.222 MB / 465.5 MB, free: 107.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005574/0.3279, allocations: 0.6767 MB / 466.2 MB, free: 106.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009938/0.3289, allocations: 1.244 MB / 467.5 MB, free: 106.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.065e-05/0.3289, allocations: 305.1 kB / 467.8 MB, free: 106 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.3306, allocations: 2.076 MB / 469.8 MB, free: 105.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/0.3332, allocations: 6.009 MB / 475.8 MB, free: 98.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006174/0.3394, allocations: 8.674 MB / 484.5 MB, free: 88.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/0.3395, allocations: 40 kB / 484.6 MB, free: 87.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01394/0.3535, allocations: 9.851 MB / 494.4 MB, free: 78.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/0.3535, allocations: 71.12 kB / 494.5 MB, free: 78.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005731/0.3593, allocations: 3.889 MB / 498.4 MB, free: 74.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005632/0.3649, allocations: 2.716 MB / 0.4893 GB, free: 71.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/0.3676, allocations: 1.376 MB / 0.4907 GB, free: 70.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008724/0.3763, allocations: 11.07 MB / 0.5015 GB, free: 58.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/0.3801, allocations: 451.4 kB / 0.5019 GB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007/0.3808, allocations: 388 kB / 0.5023 GB, free: 57.87 MB / 410.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.002451/0.3832, allocations: 2.017 MB / 0.5043 GB, free: 55.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/0.3838, allocations: 313.9 kB / 0.5046 GB, free: 55.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.3841, allocations: 405.5 kB / 0.5049 GB, free: 55.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003208/0.3873, allocations: 2.711 MB / 0.5076 GB, free: 52.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/0.3873, allocations: 4 kB / 0.5076 GB, free: 52.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.3873, allocations: 3.984 kB / 0.5076 GB, free: 52.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00919/0.3965, allocations: 7.526 MB / 0.5149 GB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3965, allocations: 4 kB / 0.515 GB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/0.3971, allocations: 187.7 kB / 0.5151 GB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/0.3993, allocations: 1.455 MB / 0.5166 GB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.3994, allocations: 35.98 kB / 0.5166 GB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006632/0.4061, allocations: 9.356 MB / 0.5257 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004493/0.4065, allocations: 1.42 MB / 0.5271 GB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005331/0.4118, allocations: 5.328 MB / 0.5323 GB, free: 26.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009166/0.4127, allocations: 294.8 kB / 0.5326 GB, free: 26.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.413, allocations: 31.94 kB / 0.5326 GB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.4137, allocations: 155.8 kB / 0.5328 GB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/0.414, allocations: 120.8 kB / 0.5329 GB, free: 25.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-05/0.414, allocations: 47.98 kB / 0.5329 GB, free: 25.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002009/0.416, allocations: 2.12 MB / 0.535 GB, free: 23.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.416, allocations: 0 / 0.535 GB, free: 23.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004342/0.4204, allocations: 1.141 MB / 0.5361 GB, free: 22.67 MB / 410.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.0004743/0.4209, allocations: 186.2 kB / 0.5363 GB, free: 22.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006245/0.4271, allocations: 5.438 MB / 0.5416 GB, free: 17.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4271, allocations: 304 / 0.5416 GB, free: 17.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.4293, allocations: 2.086 MB / 0.5436 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.4309, allocations: 340 kB / 0.544 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.441, allocations: 9.39 MB / 0.5531 GB, free: 5.129 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/0.4428, allocations: 2.584 MB / 0.5557 GB, free: 2.516 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.4434, allocations: 260.5 kB / 0.5559 GB, free: 2.262 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4434, allocations: 3.938 kB / 0.5559 GB, free: 2.258 MB / 410.7 MB Notification: Performance of Templates: time 0.2466/0.69, allocations: 145.9 MB / 0.6984 GB, free: 90.02 MB / 474.7 MB " [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: 8.54667861200869]