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.0009941/0.0009941, allocations: 87.58 kB / 21.19 MB, free: 3.383 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.0009494/0.0009494, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9427/0.9427, allocations: 177.1 MB / 205 MB, free: 5.633 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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.401e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.0079/0.007914, allocations: 10.42 MB / 283.4 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005243/0.01316, allocations: 3.885 MB / 287.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007102/0.01387, allocations: 75.62 kB / 287.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.01665, allocations: 2.772 MB / 290.1 MB, free: 336 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1141/0.1307, allocations: 1.836 MB / 292 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.132, allocations: 0.7426 MB / 292.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004512/0.1365, allocations: 4.104 MB / 296.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003813/0.1403, allocations: 3.06 MB / 299.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.1435, allocations: 2.243 MB / 302.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.1466, allocations: 2.122 MB / 304.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.1477, allocations: 317.3 kB / 304.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.1496, allocations: 1.103 MB / 305.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.1508, allocations: 1.952 MB / 307.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.1526, allocations: 1.233 MB / 308.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.1566, allocations: 4.346 MB / 313.2 MB, free: 7.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1566, allocations: 0 / 313.2 MB, free: 7.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1566, allocations: 0 / 313.2 MB, free: 7.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001721/0.1568, allocations: 0 / 313.2 MB, free: 7.367 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.00498/0.1618, allocations: 4.968 MB / 318.1 MB, free: 2.441 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1618, allocations: 8.031 kB / 318.1 MB, free: 2.434 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003845/0.1656, allocations: 2.457 MB / 320.6 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.168, allocations: 1.856 MB / 322.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.1682, allocations: 245.4 kB / 322.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005307/0.1687, allocations: 392 kB / 323.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008654/0.1773, allocations: 6.49 MB / 329.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.442e-05/0.1774, allocations: 46.08 kB / 329.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000295/0.1777, allocations: 154.5 kB / 329.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001619/0.1793, allocations: 1.861 MB / 331.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007245/0.1866, allocations: 3.564 MB / 335.2 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03132/0.2179, allocations: 43.84 MB / 379 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005656/0.2236, allocations: 2.68 MB / 381.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.2244, allocations: 0.5853 MB / 382.3 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005056/0.2294, allocations: 4.346 MB / 386.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.2295, allocations: 62.31 kB / 386.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 2.835e-06/0.2295, allocations: 0 / 386.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.0173/0.2468, allocations: 9.627 MB / 396.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001036/0.2478, allocations: 2.035 MB / 398.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003708/0.2515, allocations: 3.41 MB / 401.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.2517, allocations: 45.7 kB / 401.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.2534, allocations: 3.395 MB / 405.2 MB, free: 9.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006253/0.254, allocations: 0.6936 MB / 405.9 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/0.2552, allocations: 1.347 MB / 407.3 MB, free: 7.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2553, allocations: 476.8 kB / 407.7 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.2566, allocations: 0.7071 MB / 408.4 MB, free: 6.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004502/0.2611, allocations: 6.531 MB / 415 MB, free: 13.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005994/0.2671, allocations: 7.998 MB / 423 MB, free: 2.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-05/0.2672, allocations: 40 kB / 423 MB, free: 2.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01138/0.2785, allocations: 7.16 MB / 430.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.855e-05/0.2786, allocations: 64 kB / 430.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005628/0.2842, allocations: 2.559 MB / 432.8 MB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00626/0.2905, allocations: 2.441 MB / 435.2 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/0.2932, allocations: 1.376 MB / 436.6 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1389/0.4321, allocations: 8.402 MB / 445 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/0.4359, allocations: 456.7 kB / 445.5 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007535/0.4367, allocations: 386.7 kB / 445.8 MB, free: 115.9 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.001695/0.4384, allocations: 0.6739 MB / 446.5 MB, free: 115.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005215/0.4389, allocations: 358.3 kB / 446.9 MB, free: 115.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.4393, allocations: 346.8 kB / 447.2 MB, free: 115.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003021/0.4423, allocations: 1.497 MB / 448.7 MB, free: 115.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.4423, allocations: 2.719 kB / 448.7 MB, free: 115.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.4424, allocations: 8.734 kB / 448.7 MB, free: 115.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009214/0.4516, allocations: 6.237 MB / 454.9 MB, free: 115 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.4516, allocations: 1.062 kB / 454.9 MB, free: 115 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.4521, allocations: 193.3 kB / 455.1 MB, free: 115 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/0.4548, allocations: 1.169 MB / 456.3 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.4549, allocations: 46.22 kB / 456.3 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005103/0.4601, allocations: 7.832 MB / 464.2 MB, free: 109.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004545/0.4605, allocations: 1.91 MB / 466.1 MB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003898/0.4644, allocations: 2.953 MB / 469 MB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.4649, allocations: 292 kB / 469.3 MB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.4651, allocations: 34.66 kB / 469.4 MB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/0.4658, allocations: 150.1 kB / 469.5 MB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.466, allocations: 122.4 kB / 469.6 MB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.4661, allocations: 47.45 kB / 469.7 MB, free: 106.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001568/0.4677, allocations: 1.411 MB / 471.1 MB, free: 106.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4677, allocations: 0 / 471.1 MB, free: 106.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003497/0.4712, allocations: 1.149 MB / 472.2 MB, free: 106.6 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.0003684/0.4715, allocations: 183.2 kB / 472.4 MB, free: 106.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004873/0.4764, allocations: 3.952 MB / 476.4 MB, free: 105.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4764, allocations: 0 / 476.4 MB, free: 105.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.4782, allocations: 1.691 MB / 478 MB, free: 104.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.4795, allocations: 370.8 kB / 478.4 MB, free: 104.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00874/0.4882, allocations: 7.414 MB / 485.8 MB, free: 98.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000841/0.4891, allocations: 1.183 MB / 487 MB, free: 97.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001954/0.491, allocations: 1.547 MB / 488.6 MB, free: 96.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.4914, allocations: 208.5 kB / 488.8 MB, free: 96.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.824e-06/0.4914, allocations: 0 / 488.8 MB, free: 96.25 MB / 394.7 MB Notification: Performance of Templates: time 0.04731/0.5387, allocations: 38.32 MB / 0.5147 GB, free: 58.52 MB / 394.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] 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","",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.171310768928379]