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.0009104/0.0009104, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.00179/0.00179, allocations: 167.3 kB / 25.61 MB, free: 8.473 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 0.9532/0.9532, allocations: 177 MB / 205.9 MB, free: 4.402 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.182e-06/1.182e-06, allocations: 0 / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.559e-05, allocations: 2.312 kB / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01084/0.01085, allocations: 10.1 MB / 284.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007872/0.01873, allocations: 3.842 MB / 288.1 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.01977, allocations: 71.62 kB / 288.1 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003662/0.02343, allocations: 2.733 MB / 290.9 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.02651, allocations: 1.843 MB / 292.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008962/0.0274, allocations: 0.7328 MB / 293.4 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003478/0.03088, allocations: 4.114 MB / 297.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/0.03342, allocations: 3.073 MB / 300.6 MB, free: 9.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.03569, allocations: 2.253 MB / 302.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.03744, allocations: 2.12 MB / 305 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.03775, allocations: 320 kB / 305.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.03893, allocations: 1.108 MB / 306.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.04002, allocations: 1.944 MB / 308.4 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.04118, allocations: 1.23 MB / 309.6 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.04424, allocations: 4.347 MB / 313.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.04425, allocations: 0 / 313.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.04425, allocations: 0 / 313.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.595e-05/0.04432, allocations: 0 / 313.9 MB, free: 12.26 MB / 298.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.004749/0.04907, allocations: 4.81 MB / 318.8 MB, free: 7.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.0491, allocations: 8.031 kB / 318.8 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.05232, allocations: 1.496 MB / 320.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.05402, allocations: 1.694 MB / 322 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.05414, allocations: 250.4 kB / 322.2 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004899/0.05463, allocations: 379.7 kB / 322.6 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00598/0.06061, allocations: 5.805 MB / 328.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.844e-05/0.06068, allocations: 43.66 kB / 328.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.06094, allocations: 159.8 kB / 328.6 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001705/0.06265, allocations: 1.689 MB / 330.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004445/0.06709, allocations: 2.762 MB / 333 MB, free: 8.066 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1507/0.2178, allocations: 43.44 MB / 376.5 MB, free: 43.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004906/0.2227, allocations: 2.452 MB / 378.9 MB, free: 43.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.2232, allocations: 0.4925 MB / 379.4 MB, free: 43.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00427/0.2274, allocations: 4.186 MB / 383.6 MB, free: 41.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.2275, allocations: 58.61 kB / 383.6 MB, free: 41.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 2.926e-06/0.2275, allocations: 1.469 kB / 383.6 MB, free: 41.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01274/0.2402, allocations: 6.104 MB / 389.8 MB, free: 41.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005647/0.2408, allocations: 2.004 MB / 391.8 MB, free: 39.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.2433, allocations: 3.388 MB / 395.1 MB, free: 37.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.2434, allocations: 45.7 kB / 395.2 MB, free: 37.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.2444, allocations: 3.426 MB / 398.6 MB, free: 34.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.2448, allocations: 0.698 MB / 399.3 MB, free: 33.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009155/0.2457, allocations: 1.375 MB / 400.7 MB, free: 32.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.913e-05/0.2457, allocations: 488.7 kB / 401.2 MB, free: 31.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008756/0.2466, allocations: 0.6298 MB / 401.8 MB, free: 31.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.2487, allocations: 6.497 MB / 408.3 MB, free: 22.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/0.2523, allocations: 7.87 MB / 416.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-05/0.2524, allocations: 40 kB / 416.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.007683/0.2601, allocations: 5.727 MB / 421.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.2601, allocations: 68.06 kB / 422 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003839/0.2639, allocations: 1.437 MB / 423.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004476/0.2684, allocations: 1.115 MB / 424.5 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.2702, allocations: 1.336 MB / 425.9 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/0.2764, allocations: 7.701 MB / 433.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.2787, allocations: 287.7 kB / 433.9 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/0.279, allocations: 340 kB / 434.2 MB, free: 9.512 MB / 346.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.0009509/0.2799, allocations: 0.6763 MB / 434.9 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.2803, allocations: 353.9 kB / 435.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.2806, allocations: 347.5 kB / 435.6 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001998/0.2826, allocations: 1.136 MB / 436.7 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2826, allocations: 4 kB / 436.7 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.2826, allocations: 7.969 kB / 436.7 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007149/0.2898, allocations: 4.899 MB / 441.6 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.2898, allocations: 0 / 441.6 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005691/0.2904, allocations: 159.8 kB / 441.8 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/0.2933, allocations: 0.8956 MB / 442.7 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.836e-05/0.2934, allocations: 27.98 kB / 442.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006419/0.2998, allocations: 7.435 MB / 450.1 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007437/0.3006, allocations: 1.868 MB / 452 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/0.3047, allocations: 2.51 MB / 454.5 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.3051, allocations: 289.7 kB / 454.8 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.3053, allocations: 28 kB / 454.8 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008287/0.3062, allocations: 31.98 kB / 454.8 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/0.3064, allocations: 120.7 kB / 455 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.765e-05/0.3065, allocations: 39.98 kB / 455 MB, free: 4.047 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001364/0.3079, allocations: 1.312 MB / 456.3 MB, free: 2.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3079, allocations: 0 / 456.3 MB, free: 2.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00383/0.3117, allocations: 1.152 MB / 457.5 MB, free: 1.59 MB / 362.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.0003265/0.312, allocations: 175 kB / 457.6 MB, free: 1.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004992/0.317, allocations: 3.58 MB / 461.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.317, allocations: 0 / 461.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.319, allocations: 1.429 MB / 462.6 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.3205, allocations: 368.2 kB / 463 MB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009767/0.3302, allocations: 7.37 MB / 470.4 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.3315, allocations: 1.184 MB / 471.6 MB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001278/0.3328, allocations: 463 kB / 472 MB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/0.3336, allocations: 0.5449 MB / 472.6 MB, free: 2.27 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.3336, allocations: 0 / 472.6 MB, free: 2.27 MB / 378.7 MB Notification: Performance of Templates: time 0.1528/0.4864, allocations: 40.83 MB / 0.5014 GB, free: 140.1 MB / 410.7 MB " [Timeout remaining time 660] 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: 4.371791199315339]