Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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.0008302/0.0008302, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.0008854/0.0008854, allocations: 156.5 kB / 24.55 MB, free: 12 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.9963/0.9963, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2617/0.2617, allocations: 34.86 MB / 296.3 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.106e-05, allocations: 11.09 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02057/0.0206, allocations: 15.49 MB / 394.3 MB, free: 2.477 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.03347, allocations: 4.923 MB / 399.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003863/0.03733, allocations: 119.4 kB / 399.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009732/0.04706, allocations: 5.553 MB / 404.9 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008811/0.05587, allocations: 2.639 MB / 407.5 MB, free: 5.199 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.05873, allocations: 1.322 MB / 408.8 MB, free: 3.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00764/0.06637, allocations: 7.723 MB / 416.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005901/0.07227, allocations: 5.938 MB / 422.5 MB, free: 6.125 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005644/0.07791, allocations: 4.132 MB / 426.6 MB, free: 1.984 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005695/0.08361, allocations: 3.987 MB / 430.6 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001978/0.08559, allocations: 0.5703 MB / 431.2 MB, free: 13.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.08797, allocations: 1.233 MB / 432.4 MB, free: 12.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00266/0.09063, allocations: 3.448 MB / 435.9 MB, free: 8.727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004179/0.09481, allocations: 2.185 MB / 438.1 MB, free: 6.535 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1854/0.2802, allocations: 7.15 MB / 445.2 MB, free: 67.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.2803, allocations: 2.844 kB / 445.2 MB, free: 67.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2803, allocations: 0 / 445.2 MB, free: 67.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005107/0.2808, allocations: 0 / 445.2 MB, free: 67.79 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01569/0.2965, allocations: 8.215 MB / 453.4 MB, free: 64.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2965, allocations: 8.562 kB / 453.4 MB, free: 64.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007498/0.304, allocations: 3.507 MB / 456.9 MB, free: 64.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006016/0.31, allocations: 3.212 MB / 460.1 MB, free: 63.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/0.3103, allocations: 425.8 kB / 460.6 MB, free: 63.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.3117, allocations: 0.5532 MB / 461.1 MB, free: 63.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02215/0.3339, allocations: 13.46 MB / 474.6 MB, free: 58.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003152/0.3342, allocations: 68.25 kB / 474.6 MB, free: 58.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/0.3352, allocations: 271 kB / 474.9 MB, free: 58.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003731/0.339, allocations: 3.153 MB / 478.1 MB, free: 58.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02275/0.3617, allocations: 8.255 MB / 486.3 MB, free: 57.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05311/0.4148, allocations: 70.92 MB / 0.5442 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01517/0.43, allocations: 4.519 MB / 0.5486 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.4322, allocations: 0.8976 MB / 0.5495 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01142/0.4436, allocations: 5.693 MB / 0.555 GB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.668e-05/0.4437, allocations: 70.77 kB / 0.5551 GB, free: 4.117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=257): time 6.552e-06/0.4437, allocations: 0 / 0.5551 GB, free: 4.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=291): time 0.03497/0.4787, allocations: 18.14 MB / 0.5728 GB, free: 2.023 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.4787, allocations: 162.1 kB / 0.573 GB, free: 1.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005968/0.4847, allocations: 4.946 MB / 0.5778 GB, free: 12.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004087/0.4851, allocations: 69.7 kB / 0.5779 GB, free: 12.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003101/0.4882, allocations: 5.274 MB / 0.583 GB, free: 7.598 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001139/0.4894, allocations: 1.181 MB / 0.5842 GB, free: 6.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/0.4912, allocations: 1.963 MB / 0.5861 GB, free: 4.453 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4913, allocations: 484.7 kB / 0.5865 GB, free: 3.977 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.4932, allocations: 0.9428 MB / 0.5875 GB, free: 3.031 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005615/0.4988, allocations: 9.296 MB / 0.5965 GB, free: 5.977 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008916/0.5077, allocations: 11.34 MB / 0.6076 GB, free: 6.891 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001891/0.5079, allocations: 56 kB / 0.6077 GB, free: 6.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.1996/0.7075, allocations: 7.77 MB / 0.6153 GB, free: 142.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.7076, allocations: 90.78 kB / 0.6153 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000216/0.7078, allocations: 199.9 kB / 0.6155 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.708, allocations: 264.8 kB / 0.6158 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/0.7123, allocations: 2.241 MB / 0.618 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002381/0.7125, allocations: 395.6 kB / 0.6184 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/0.7165, allocations: 0.5547 MB / 0.6189 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006444/0.7172, allocations: 0.561 MB / 0.6194 GB, free: 142.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 913 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1201): * Single equations (assignments): 1198 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002037/0.7192, allocations: 0.9476 MB / 0.6204 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000666/0.7199, allocations: 0.5629 MB / 0.6209 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.7219, allocations: 1.715 MB / 0.6226 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/0.7219, allocations: 30.41 kB / 0.6226 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.7219, allocations: 9.594 kB / 0.6226 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.722, allocations: 12.7 kB / 0.6226 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/0.7333, allocations: 9.089 MB / 0.6315 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/0.7333, allocations: 30.22 kB / 0.6315 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.7344, allocations: 0.5298 MB / 0.6321 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.309e-05/0.7344, allocations: 43.56 kB / 0.6321 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.7346, allocations: 87.77 kB / 0.6322 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.895e-05/0.7346, allocations: 71.86 kB / 0.6323 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.747e-05/0.7346, allocations: 54.75 kB / 0.6323 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/0.7379, allocations: 4.16 MB / 0.6364 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008721/0.7388, allocations: 0.493 MB / 0.6369 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/0.7392, allocations: 93.41 kB / 0.6369 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.7403, allocations: 178 kB / 0.6371 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.7405, allocations: 285.1 kB / 0.6374 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.7407, allocations: 121.3 kB / 0.6375 GB, free: 137.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002856/0.7435, allocations: 2.075 MB / 0.6395 GB, free: 137 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7435, allocations: 0 / 0.6395 GB, free: 137 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005892/0.7494, allocations: 1.554 MB / 0.641 GB, free: 137 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.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 (275): * Single equations (assignments): 272 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005758/0.75, allocations: 278.2 kB / 0.6413 GB, free: 136.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006772/0.7568, allocations: 4.093 MB / 0.6453 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.674e-05/0.7568, allocations: 5.5 kB / 0.6453 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.7579, allocations: 0.8374 MB / 0.6461 GB, free: 135.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/0.7611, allocations: 0.6655 MB / 0.6468 GB, free: 135.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.7774, allocations: 12.74 MB / 0.6592 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002722/0.7801, allocations: 1.951 MB / 0.6611 GB, free: 127.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004076/0.7842, allocations: 2.225 MB / 0.6633 GB, free: 127.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000856/0.7851, allocations: 372.5 kB / 0.6637 GB, free: 127.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.723e-06/0.7851, allocations: 0 / 0.6637 GB, free: 127.6 MB / 490.7 MB Notification: Performance of Templates: time 0.05537/0.8405, allocations: 36.57 MB / 0.6994 GB, free: 100.8 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Damper/Damper.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: 5.065323188435286]