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.0009748/0.0009748, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009959/0.0009959, allocations: 154.9 kB / 24.98 MB, free: 8.223 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.9179/0.9179, allocations: 177 MB / 205.2 MB, free: 5.617 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.443e-06/1.443e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.066e-05, allocations: 2.312 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.008392/0.008412, allocations: 10.39 MB / 283.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006135/0.01455, allocations: 3.861 MB / 287.2 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.01562, allocations: 67.69 kB / 287.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002953/0.01858, allocations: 2.78 MB / 290.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.12/0.1385, allocations: 1.831 MB / 291.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1399, allocations: 0.7344 MB / 292.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004707/0.1446, allocations: 4.107 MB / 296.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003865/0.1484, allocations: 3.061 MB / 299.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.1513, allocations: 2.244 MB / 302.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.1537, allocations: 2.12 MB / 304.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007114/0.1544, allocations: 319.2 kB / 304.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.1562, allocations: 1.105 MB / 305.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.1574, allocations: 1.952 MB / 307.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.1588, allocations: 1.234 MB / 308.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.1622, allocations: 4.337 MB / 313.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1622, allocations: 4 kB / 313.1 MB, free: 7.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1622, allocations: 0 / 313.1 MB, free: 7.613 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000145/0.1624, allocations: 1.688 kB / 313.1 MB, free: 7.613 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.004624/0.167, allocations: 4.967 MB / 318.1 MB, free: 2.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.167, allocations: 11.98 kB / 318.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003892/0.1709, allocations: 2.462 MB / 320.6 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.173, allocations: 1.821 MB / 322.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.1731, allocations: 243.2 kB / 322.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005186/0.1736, allocations: 398.3 kB / 323 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00813/0.1818, allocations: 6.496 MB / 329.5 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.254e-05/0.1819, allocations: 38.69 kB / 329.6 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/0.1821, allocations: 157.3 kB / 329.7 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001696/0.1838, allocations: 1.861 MB / 331.6 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007302/0.1911, allocations: 3.561 MB / 335.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02918/0.2203, allocations: 43.86 MB / 379 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00605/0.2264, allocations: 2.668 MB / 381.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008743/0.2272, allocations: 0.5715 MB / 382.2 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005587/0.2328, allocations: 4.366 MB / 386.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.2329, allocations: 54.39 kB / 386.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 4.248e-06/0.2329, allocations: 3.984 kB / 386.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.01809/0.251, allocations: 9.627 MB / 396.3 MB, free: 3.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009883/0.252, allocations: 2.035 MB / 398.3 MB, free: 1.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/0.2555, allocations: 3.413 MB / 401.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.2557, allocations: 45.7 kB / 401.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.2573, allocations: 3.39 MB / 405.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/0.2578, allocations: 0.695 MB / 405.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/0.259, allocations: 1.345 MB / 407.2 MB, free: 8.121 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.2591, allocations: 480.9 kB / 407.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.2603, allocations: 0.707 MB / 408.4 MB, free: 6.938 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/0.2645, allocations: 6.535 MB / 414.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005947/0.2704, allocations: 7.985 MB / 422.9 MB, free: 3.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/0.2705, allocations: 40 kB / 422.9 MB, free: 3.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01196/0.2825, allocations: 7.156 MB / 430.1 MB, free: 11.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.746e-05/0.2825, allocations: 67.44 kB / 430.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005872/0.2884, allocations: 2.557 MB / 432.7 MB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006422/0.2948, allocations: 2.452 MB / 435.2 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/0.2974, allocations: 1.38 MB / 436.5 MB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1272/0.4246, allocations: 8.379 MB / 444.9 MB, free: 120.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/0.4275, allocations: 461.9 kB / 445.4 MB, free: 120.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005516/0.4281, allocations: 393.2 kB / 445.8 MB, free: 120.5 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.001208/0.4293, allocations: 0.6745 MB / 446.4 MB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/0.4297, allocations: 354.8 kB / 446.8 MB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.43, allocations: 345.8 kB / 447.1 MB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002848/0.4329, allocations: 1.499 MB / 448.6 MB, free: 120.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.4329, allocations: 3.031 kB / 448.6 MB, free: 120.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.4329, allocations: 15.19 kB / 448.6 MB, free: 120.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008655/0.4416, allocations: 6.24 MB / 454.9 MB, free: 119.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.4416, allocations: 0 / 454.9 MB, free: 119.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/0.4421, allocations: 185.5 kB / 455.1 MB, free: 119.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002687/0.4448, allocations: 1.176 MB / 456.2 MB, free: 119.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.363e-05/0.4449, allocations: 35.08 kB / 456.3 MB, free: 119.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004882/0.4497, allocations: 7.84 MB / 464.1 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004158/0.4502, allocations: 1.898 MB / 466 MB, free: 112 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/0.4538, allocations: 2.959 MB / 469 MB, free: 111 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.4541, allocations: 295.8 kB / 469.3 MB, free: 111 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.4543, allocations: 23.44 kB / 469.3 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007024/0.455, allocations: 155.3 kB / 469.4 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.4552, allocations: 118.5 kB / 469.5 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.4553, allocations: 49.22 kB / 469.6 MB, free: 110.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001333/0.4566, allocations: 1.417 MB / 471 MB, free: 110.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4566, allocations: 0 / 471 MB, free: 110.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003001/0.4596, allocations: 1.146 MB / 472.2 MB, free: 110.3 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.0003098/0.4599, allocations: 185.9 kB / 472.3 MB, free: 110.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004293/0.4642, allocations: 3.944 MB / 476.3 MB, free: 108.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4642, allocations: 0 / 476.3 MB, free: 108.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.4659, allocations: 1.694 MB / 478 MB, free: 108 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.4671, allocations: 363.3 kB / 478.3 MB, free: 107.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.4748, allocations: 7.431 MB / 485.8 MB, free: 101.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008023/0.4756, allocations: 1.178 MB / 486.9 MB, free: 100.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001909/0.4775, allocations: 1.551 MB / 488.5 MB, free: 99.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.4778, allocations: 212.4 kB / 488.7 MB, free: 98.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/0.4778, allocations: 0 / 488.7 MB, free: 98.83 MB / 394.7 MB Notification: Performance of Templates: time 0.04129/0.5191, allocations: 37.16 MB / 0.5135 GB, free: 62.22 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.035623880801722]