Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001929/0.001929, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002049/0.002049, allocations: 161.3 kB / 24.28 MB, free: 152 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 1.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|p2.s|p2.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|p2.s|p2.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.636e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01663/0.01665, allocations: 11.57 MB / 283.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009585/0.02624, allocations: 4.118 MB / 288 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.02806, allocations: 83.56 kB / 288.1 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1174/0.1454, allocations: 2.943 MB / 291 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005484/0.1509, allocations: 2.067 MB / 293.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.1529, allocations: 0.8908 MB / 294 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007101/0.16, allocations: 5.386 MB / 299.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004541/0.1646, allocations: 3.542 MB / 302.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005146/0.1697, allocations: 2.607 MB / 305.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003264/0.173, allocations: 2.663 MB / 308.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007992/0.1738, allocations: 360.7 kB / 308.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.176, allocations: 1.223 MB / 309.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.1773, allocations: 2.249 MB / 312 MB, free: 7.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.1787, allocations: 1.419 MB / 313.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006362/0.1851, allocations: 7.58 MB / 321 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1851, allocations: 0 / 321 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1851, allocations: 4 kB / 321 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000154/0.1852, allocations: 0 / 321 MB, free: 15.29 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.0134/0.1986, allocations: 6.213 MB / 327.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1987, allocations: 12.03 kB / 327.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009946/0.2086, allocations: 2.789 MB / 330 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005735/0.2144, allocations: 2.247 MB / 332.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.2146, allocations: 268.6 kB / 332.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.2156, allocations: 432.8 kB / 333 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02055/0.2362, allocations: 8.554 MB / 341.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.2363, allocations: 51.95 kB / 341.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000484/0.2368, allocations: 167.4 kB / 341.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003753/0.2406, allocations: 2.173 MB / 343.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.2587, allocations: 5.221 MB / 349.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07049/0.3292, allocations: 53.36 MB / 402.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.3401, allocations: 2.884 MB / 405.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.3418, allocations: 0.7108 MB / 406.1 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01221/0.354, allocations: 5.05 MB / 411.1 MB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/0.354, allocations: 58.7 kB / 411.2 MB, free: 3.512 MB / 362.7 MB Notification: Performance of pre-optimization done (n=183): time 4.398e-06/0.354, allocations: 0 / 411.2 MB, free: 3.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.04063/0.3947, allocations: 12.58 MB / 423.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00181/0.3965, allocations: 2.062 MB / 425.8 MB, free: 4.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007333/0.4038, allocations: 4.585 MB / 430.4 MB, free: 52 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.1301/0.5339, allocations: 52.61 kB / 430.5 MB, free: 117.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002569/0.5364, allocations: 3.907 MB / 434.4 MB, free: 116.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009687/0.5374, allocations: 0.9153 MB / 435.3 MB, free: 116.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00208/0.5395, allocations: 1.693 MB / 437 MB, free: 116 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.5395, allocations: 485.3 kB / 437.5 MB, free: 115.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/0.5417, allocations: 0.8734 MB / 438.3 MB, free: 115.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005091/0.5468, allocations: 7.188 MB / 445.5 MB, free: 107.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008456/0.5552, allocations: 8.895 MB / 454.4 MB, free: 98.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002349/0.5555, allocations: 41.72 kB / 454.5 MB, free: 98.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02162/0.5771, allocations: 7.491 MB / 461.9 MB, free: 96.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.5772, allocations: 67.09 kB / 462 MB, free: 96.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009976/0.5872, allocations: 2.525 MB / 464.5 MB, free: 96.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/0.5973, allocations: 1.851 MB / 466.4 MB, free: 96.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005048/0.6024, allocations: 1.599 MB / 468 MB, free: 95.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005979/0.6084, allocations: 4.76 MB / 472.7 MB, free: 90.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005305/0.6137, allocations: 0.5072 MB / 473.3 MB, free: 89.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007006/0.6144, allocations: 420.7 kB / 473.7 MB, free: 89.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00189/0.6163, allocations: 0.8188 MB / 474.5 MB, free: 88.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/0.6169, allocations: 409.6 kB / 474.9 MB, free: 88.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004743/0.6216, allocations: 1.95 MB / 476.8 MB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003611/0.6252, allocations: 1.472 MB / 478.3 MB, free: 84.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.6252, allocations: 4 kB / 478.3 MB, free: 84.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/0.6253, allocations: 7.969 kB / 478.3 MB, free: 84.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.6419, allocations: 8.811 MB / 487.1 MB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.642, allocations: 12 kB / 487.1 MB, free: 75.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.6434, allocations: 379.5 kB / 487.5 MB, free: 75.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.6458, allocations: 0.5767 MB / 488.1 MB, free: 74.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/0.6461, allocations: 59.97 kB / 488.1 MB, free: 74.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/0.6493, allocations: 4.212 MB / 492.4 MB, free: 70.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007714/0.6501, allocations: 1.932 MB / 494.3 MB, free: 68.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006492/0.6566, allocations: 3.749 MB / 498 MB, free: 64.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.6578, allocations: 371.4 kB / 498.4 MB, free: 63.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004566/0.6582, allocations: 59.98 kB / 498.5 MB, free: 63.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/0.6601, allocations: 195.7 kB / 498.6 MB, free: 63.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/0.6604, allocations: 177.9 kB / 498.8 MB, free: 63.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.6605, allocations: 75.97 kB / 498.9 MB, free: 63.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002788/0.6633, allocations: 1.875 MB / 0.489 GB, free: 61.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6633, allocations: 0 / 0.489 GB, free: 61.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005992/0.6693, allocations: 1.265 MB / 0.4903 GB, free: 60.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005328/0.6698, allocations: 227.1 kB / 0.4905 GB, free: 60 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008432/0.6783, allocations: 4.328 MB / 0.4947 GB, free: 55.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/0.6783, allocations: 5.641 kB / 0.4947 GB, free: 55.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003092/0.6814, allocations: 1.557 MB / 0.4962 GB, free: 54.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.6841, allocations: 479.1 kB / 0.4967 GB, free: 53.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.6961, allocations: 9.13 MB / 0.5056 GB, free: 44.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/0.6985, allocations: 2.662 MB / 0.5082 GB, free: 41.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003443/0.7019, allocations: 1.727 MB / 0.5099 GB, free: 39.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/0.7025, allocations: 264.4 kB / 0.5101 GB, free: 39.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/0.7025, allocations: 4 kB / 0.5102 GB, free: 39.45 MB / 378.7 MB Notification: Performance of Templates: time 0.06156/0.7641, allocations: 36.36 MB / 0.5457 GB, free: 3.668 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.891226626001298]