Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.009/1.009, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.594e-05, allocations: 2.312 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.007767/0.007783, allocations: 10.1 MB / 283.4 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004701/0.01248, allocations: 3.838 MB / 287.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000565/0.01305, allocations: 75.62 kB / 287.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002674/0.01572, allocations: 2.737 MB / 290.1 MB, free: 424 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1235/0.1392, allocations: 1.83 MB / 291.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.141, allocations: 0.7421 MB / 292.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005697/0.1467, allocations: 4.101 MB / 296.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003559/0.1503, allocations: 3.065 MB / 299.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.1532, allocations: 2.263 MB / 302.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/0.1561, allocations: 2.121 MB / 304.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008296/0.1569, allocations: 318.2 kB / 304.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.1587, allocations: 1.104 MB / 305.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.16, allocations: 1.949 MB / 307.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.1614, allocations: 1.225 MB / 308.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003796/0.1652, allocations: 4.343 MB / 313.1 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1652, allocations: 0 / 313.1 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1652, allocations: 0.9375 kB / 313.1 MB, free: 7.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001289/0.1653, allocations: 0 / 313.1 MB, free: 7.352 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.005389/0.1707, allocations: 4.822 MB / 318 MB, free: 2.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1707, allocations: 11.98 kB / 318 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004066/0.1748, allocations: 1.503 MB / 319.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.1769, allocations: 1.688 MB / 321.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.1771, allocations: 243.1 kB / 321.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006463/0.1777, allocations: 391.8 kB / 321.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009881/0.1876, allocations: 5.805 MB / 327.6 MB, free: 8.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-05/0.1877, allocations: 45.52 kB / 327.6 MB, free: 8.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/0.188, allocations: 155.6 kB / 327.8 MB, free: 8.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001934/0.19, allocations: 1.684 MB / 329.5 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00739/0.1974, allocations: 2.77 MB / 332.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03503/0.2324, allocations: 43.44 MB / 375.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005007/0.2374, allocations: 2.451 MB / 378.1 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/0.238, allocations: 0.4947 MB / 378.6 MB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005273/0.2433, allocations: 4.195 MB / 382.8 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.2434, allocations: 58.31 kB / 382.9 MB, free: 1.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 2.905e-06/0.2434, allocations: 4 kB / 382.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01403/0.2574, allocations: 6.114 MB / 389 MB, free: 11.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008971/0.2583, allocations: 2.011 MB / 391 MB, free: 9.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/0.2614, allocations: 3.388 MB / 394.4 MB, free: 6.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.2616, allocations: 49.69 kB / 394.4 MB, free: 6.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.2632, allocations: 3.415 MB / 397.8 MB, free: 2.695 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005421/0.2637, allocations: 0.698 MB / 398.5 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.2649, allocations: 1.379 MB / 399.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.265, allocations: 480.7 kB / 400.4 MB, free: 128 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009191/0.2659, allocations: 0.6328 MB / 401 MB, free: 15.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003356/0.2692, allocations: 6.503 MB / 407.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005564/0.2748, allocations: 7.876 MB / 415.4 MB, free: 11.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.353e-05/0.2749, allocations: 40 kB / 415.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.009387/0.2843, allocations: 5.726 MB / 421.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.2843, allocations: 67.44 kB / 421.2 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003855/0.2882, allocations: 1.448 MB / 422.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004392/0.2926, allocations: 1.112 MB / 423.8 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/0.2949, allocations: 1.329 MB / 425.1 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006284/0.3011, allocations: 7.695 MB / 432.8 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.3042, allocations: 287.8 kB / 433.1 MB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004864/0.3047, allocations: 340 kB / 433.4 MB, free: 9.309 MB / 394.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.001569/0.3063, allocations: 0.6809 MB / 434.1 MB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/0.3075, allocations: 353.9 kB / 434.5 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007108/0.3082, allocations: 341.5 kB / 434.8 MB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002701/0.3109, allocations: 1.132 MB / 435.9 MB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.3109, allocations: 0 / 435.9 MB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3109, allocations: 7.984 kB / 435.9 MB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007803/0.3187, allocations: 4.897 MB / 440.8 MB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.3187, allocations: 4 kB / 440.8 MB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.3191, allocations: 151.8 kB / 441 MB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.3213, allocations: 0.8956 MB / 441.9 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-05/0.3214, allocations: 43.97 kB / 441.9 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1418/0.4632, allocations: 7.414 MB / 449.3 MB, free: 117.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006476/0.4639, allocations: 1.869 MB / 451.2 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/0.4691, allocations: 2.508 MB / 453.7 MB, free: 115.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007028/0.4698, allocations: 283.7 kB / 454 MB, free: 115.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.4701, allocations: 31.03 kB / 454 MB, free: 115.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008714/0.471, allocations: 35.39 kB / 454.1 MB, free: 115.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003809/0.4714, allocations: 115.6 kB / 454.2 MB, free: 115.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.4715, allocations: 36.52 kB / 454.2 MB, free: 115.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002088/0.4736, allocations: 1.319 MB / 455.5 MB, free: 115.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4736, allocations: 1.578 kB / 455.5 MB, free: 115.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005206/0.4788, allocations: 1.152 MB / 456.7 MB, free: 115.1 MB / 394.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.0004396/0.4792, allocations: 187 kB / 456.9 MB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005904/0.4851, allocations: 3.592 MB / 460.4 MB, free: 114.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4851, allocations: 0 / 460.4 MB, free: 114.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.4871, allocations: 1.418 MB / 461.9 MB, free: 113.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.4888, allocations: 365.8 kB / 462.2 MB, free: 113.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.5, allocations: 7.404 MB / 469.6 MB, free: 110.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.5012, allocations: 1.177 MB / 470.8 MB, free: 110.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00147/0.5027, allocations: 461.5 kB / 471.3 MB, free: 110.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000866/0.5035, allocations: 0.5384 MB / 471.8 MB, free: 110.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5035, allocations: 0 / 471.8 MB, free: 110.1 MB / 394.7 MB Notification: Performance of Templates: time 0.04977/0.5533, allocations: 39.97 MB / 0.4998 GB, free: 74.98 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.9873213577084243]