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.0014/0.0014, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001725/0.001725, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.951/0.951, allocations: 177 MB / 204.8 MB, free: 5.223 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.733e-06/1.733e-06, allocations: 0 / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.97e-05, allocations: 2.312 kB / 272.9 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.008149/0.008168, allocations: 10.42 MB / 283.3 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007117/0.01529, allocations: 3.873 MB / 287.2 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.01637, allocations: 75.69 kB / 287.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003644/0.02001, allocations: 2.776 MB / 290.1 MB, free: 72 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1263/0.1463, allocations: 1.841 MB / 291.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1475, allocations: 0.7343 MB / 292.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004338/0.1519, allocations: 4.101 MB / 296.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003473/0.1553, allocations: 3.067 MB / 299.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002558/0.1579, allocations: 2.244 MB / 302.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002445/0.1603, allocations: 2.118 MB / 304.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006824/0.161, allocations: 319.6 kB / 304.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.1625, allocations: 1.102 MB / 305.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009938/0.1635, allocations: 1.94 MB / 307.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.1646, allocations: 1.238 MB / 308.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.1677, allocations: 4.35 MB / 313.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1677, allocations: 0 / 313.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1677, allocations: 0 / 313.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.062e-05/0.1678, allocations: 0 / 313.1 MB, free: 7.27 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.004179/0.1719, allocations: 4.966 MB / 318.1 MB, free: 2.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.172, allocations: 11.98 kB / 318.1 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/0.1758, allocations: 2.456 MB / 320.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.1778, allocations: 1.823 MB / 322.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.178, allocations: 247.9 kB / 322.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005013/0.1785, allocations: 396.6 kB / 323 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007418/0.1859, allocations: 6.488 MB / 329.5 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.587e-05/0.186, allocations: 38.5 kB / 329.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.1862, allocations: 159.2 kB / 329.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001772/0.188, allocations: 1.862 MB / 331.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006343/0.1943, allocations: 3.566 MB / 335.1 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.2212, allocations: 43.85 MB / 379 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005139/0.2264, allocations: 2.68 MB / 381.6 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007206/0.2271, allocations: 0.565 MB / 382.2 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005346/0.2324, allocations: 4.373 MB / 386.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.2325, allocations: 46.39 kB / 386.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 3.547e-06/0.2325, allocations: 0 / 386.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.01584/0.2483, allocations: 9.62 MB / 396.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001135/0.2494, allocations: 2.045 MB / 398.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/0.2526, allocations: 3.406 MB / 401.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.2528, allocations: 49.7 kB / 401.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.2544, allocations: 3.384 MB / 405.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000785/0.2552, allocations: 0.7024 MB / 405.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.2563, allocations: 1.344 MB / 407.2 MB, free: 7.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.2564, allocations: 476.8 kB / 407.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.2575, allocations: 0.7109 MB / 408.4 MB, free: 6.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003519/0.261, allocations: 6.527 MB / 414.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00558/0.2666, allocations: 7.998 MB / 422.9 MB, free: 2.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.344e-05/0.2666, allocations: 40 kB / 422.9 MB, free: 2.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01081/0.2775, allocations: 7.159 MB / 430.1 MB, free: 11.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.017e-05/0.2775, allocations: 64 kB / 430.1 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005361/0.2829, allocations: 2.556 MB / 432.7 MB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006324/0.2892, allocations: 2.458 MB / 435.2 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.292, allocations: 1.38 MB / 436.5 MB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1467/0.4387, allocations: 8.378 MB / 444.9 MB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004055/0.4428, allocations: 460.5 kB / 445.4 MB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005543/0.4433, allocations: 389.5 kB / 445.7 MB, free: 116.1 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.001376/0.4447, allocations: 0.6743 MB / 446.4 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004631/0.4452, allocations: 353.2 kB / 446.8 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.4456, allocations: 347.1 kB / 447.1 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003585/0.4492, allocations: 1.499 MB / 448.6 MB, free: 115.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.4492, allocations: 2.938 kB / 448.6 MB, free: 115.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.4492, allocations: 9.688 kB / 448.6 MB, free: 115.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.4595, allocations: 6.247 MB / 454.9 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4595, allocations: 1.312 kB / 454.9 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.46, allocations: 188.4 kB / 455 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.4626, allocations: 1.175 MB / 456.2 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/0.4627, allocations: 37.64 kB / 456.3 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004907/0.4676, allocations: 7.829 MB / 464.1 MB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004483/0.4681, allocations: 1.907 MB / 466 MB, free: 107.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.4715, allocations: 2.945 MB / 468.9 MB, free: 107 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.4718, allocations: 300.6 kB / 469.2 MB, free: 107 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.472, allocations: 37.67 kB / 469.3 MB, free: 107 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.4727, allocations: 144.8 kB / 469.4 MB, free: 107 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.4728, allocations: 125.9 kB / 469.5 MB, free: 107 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/0.4729, allocations: 48.73 kB / 469.6 MB, free: 107 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001387/0.4743, allocations: 1.412 MB / 471 MB, free: 106.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4743, allocations: 0 / 471 MB, free: 106.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003286/0.4776, allocations: 1.152 MB / 472.1 MB, free: 106.7 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.0002868/0.4779, allocations: 179.8 kB / 472.3 MB, free: 106.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004419/0.4823, allocations: 3.945 MB / 476.3 MB, free: 105.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4823, allocations: 0 / 476.3 MB, free: 105.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.484, allocations: 1.695 MB / 478 MB, free: 104.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.4851, allocations: 372.8 kB / 478.3 MB, free: 104.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007815/0.4929, allocations: 7.409 MB / 485.7 MB, free: 98.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008286/0.4938, allocations: 1.178 MB / 486.9 MB, free: 97.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001909/0.4957, allocations: 1.551 MB / 488.5 MB, free: 96.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.496, allocations: 212.4 kB / 488.7 MB, free: 96.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/0.496, allocations: 0 / 488.7 MB, free: 96.24 MB / 394.7 MB Notification: Performance of Templates: time 0.04182/0.5378, allocations: 37.15 MB / 0.5135 GB, free: 59.67 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: 4.362658973783255]