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.001441/0.001441, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.001505/0.001505, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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.482/1.482, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.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_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.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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.903e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01257/0.0126, allocations: 9.384 MB / 281.6 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008431/0.02103, allocations: 3.764 MB / 285.4 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.0225, allocations: 71.62 kB / 285.4 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005618/0.02812, allocations: 2.686 MB / 288.1 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.12/0.1481, allocations: 1.832 MB / 289.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.15, allocations: 0.736 MB / 290.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005489/0.1555, allocations: 4.092 MB / 294.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004376/0.1598, allocations: 3.062 MB / 297.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/0.1635, allocations: 2.229 MB / 300.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.1663, allocations: 2.059 MB / 302.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006909/0.167, allocations: 318.6 kB / 302.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.1688, allocations: 1.111 MB / 303.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.17, allocations: 1.929 MB / 305.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.1712, allocations: 1.22 MB / 306.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00567/0.1769, allocations: 6.676 MB / 313.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1769, allocations: 0 / 313.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1769, allocations: 0 / 313.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001663/0.1771, allocations: 0 / 313.4 MB, free: 6.504 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.007628/0.1847, allocations: 4.597 MB / 318 MB, free: 1.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1847, allocations: 15.98 kB / 318 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007239/0.192, allocations: 2.547 MB / 320.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00455/0.1965, allocations: 1.963 MB / 322.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.1968, allocations: 249.4 kB / 322.7 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009859/0.1977, allocations: 397.4 kB / 323.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02217/0.2199, allocations: 10.19 MB / 333.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.22, allocations: 40.34 kB / 333.3 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005132/0.2205, allocations: 157.7 kB / 333.5 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003181/0.2237, allocations: 1.859 MB / 335.4 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01977/0.2435, allocations: 8.353 MB / 343.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05688/0.3004, allocations: 37.1 MB / 380.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.3118, allocations: 3.608 MB / 384.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/0.3143, allocations: 1.333 MB / 385.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01201/0.3263, allocations: 5.643 MB / 391.4 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/0.3263, allocations: 59.02 kB / 391.5 MB, free: 7.848 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 4.588e-06/0.3263, allocations: 0 / 391.5 MB, free: 7.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.03655/0.3629, allocations: 12.67 MB / 404.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001562/0.3645, allocations: 1.55 MB / 405.7 MB, free: 9.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005651/0.3701, allocations: 3.729 MB / 409.4 MB, free: 5.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.3704, allocations: 45.7 kB / 409.5 MB, free: 5.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002939/0.3733, allocations: 3.236 MB / 412.7 MB, free: 2.461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009702/0.3743, allocations: 0.6686 MB / 413.4 MB, free: 1.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/0.3762, allocations: 1.253 MB / 414.6 MB, free: 0.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3763, allocations: 301.1 kB / 414.9 MB, free: 252 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/0.38, allocations: 2.086 MB / 417 MB, free: 14.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007693/0.3877, allocations: 6.017 MB / 423 MB, free: 6.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1548/0.5425, allocations: 8.676 MB / 431.7 MB, free: 112.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000142/0.5426, allocations: 39.22 kB / 431.7 MB, free: 112.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02443/0.5671, allocations: 10.22 MB / 441.9 MB, free: 109.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.916e-05/0.5671, allocations: 61.84 kB / 442 MB, free: 109.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01123/0.5784, allocations: 3.895 MB / 445.9 MB, free: 108.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01229/0.5907, allocations: 2.986 MB / 448.9 MB, free: 108.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003993/0.5946, allocations: 1.376 MB / 450.3 MB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/0.6094, allocations: 11.11 MB / 461.4 MB, free: 99.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006051/0.6155, allocations: 482.9 kB / 461.8 MB, free: 98.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/0.6167, allocations: 391.6 kB / 462.2 MB, free: 98.54 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.004043/0.6208, allocations: 2.01 MB / 464.2 MB, free: 96.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/0.6218, allocations: 355 kB / 464.6 MB, free: 96.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009369/0.6228, allocations: 401.5 kB / 465 MB, free: 96.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007696/0.6305, allocations: 2.715 MB / 467.7 MB, free: 93.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.623e-05/0.6305, allocations: 5.5 kB / 467.7 MB, free: 93.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.905e-05/0.6305, allocations: 3.984 kB / 467.7 MB, free: 93.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02128/0.6518, allocations: 7.579 MB / 475.3 MB, free: 85.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/0.6518, allocations: 0 / 475.3 MB, free: 85.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.6532, allocations: 195.3 kB / 475.5 MB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007731/0.6609, allocations: 1.716 MB / 477.2 MB, free: 83.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003148/0.6612, allocations: 39.91 kB / 477.2 MB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/0.6771, allocations: 9.392 MB / 486.6 MB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000973/0.6781, allocations: 1.428 MB / 488 MB, free: 72.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.6885, allocations: 5.358 MB / 493.4 MB, free: 67.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008917/0.6894, allocations: 304.1 kB / 493.7 MB, free: 67.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007236/0.6901, allocations: 32 kB / 493.7 MB, free: 67.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.6921, allocations: 162.8 kB / 493.9 MB, free: 66.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/0.6925, allocations: 120.7 kB / 494 MB, free: 66.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.6926, allocations: 47.66 kB / 494.1 MB, free: 66.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003566/0.6962, allocations: 2.117 MB / 496.2 MB, free: 64.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6962, allocations: 0 / 496.2 MB, free: 64.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006389/0.7026, allocations: 1.146 MB / 497.3 MB, free: 63.53 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.0007332/0.7033, allocations: 177.2 kB / 497.5 MB, free: 63.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009377/0.7127, allocations: 5.445 MB / 0.4911 GB, free: 57.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.7127, allocations: 0 / 0.4911 GB, free: 57.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003939/0.7166, allocations: 2.086 MB / 0.4932 GB, free: 55.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/0.7198, allocations: 377.5 kB / 0.4935 GB, free: 55.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/0.7374, allocations: 9.09 MB / 0.5024 GB, free: 46.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004319/0.7417, allocations: 2.581 MB / 0.5049 GB, free: 43.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003483/0.7452, allocations: 1.778 MB / 0.5067 GB, free: 41.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005335/0.7458, allocations: 208.4 kB / 0.5069 GB, free: 41.69 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.7458, allocations: 4 kB / 0.5069 GB, free: 41.69 MB / 378.7 MB Notification: Performance of Templates: time 0.05864/0.8044, allocations: 36.63 MB / 0.5427 GB, free: 5.59 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.716094603994861]