Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.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.001159/0.001159, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.00123/0.00123, allocations: 167.4 kB / 25.61 MB, free: 8.578 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 1.062/1.062, allocations: 177 MB / 205.9 MB, free: 4.414 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.1649/0.1649, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.932e-05, allocations: 2.312 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01019/0.01022, allocations: 15.17 MB / 395.2 MB, free: 7.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00969/0.01991, allocations: 4.917 MB / 400.1 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.02302, allocations: 115.5 kB / 400.2 MB, free: 2.441 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006095/0.02911, allocations: 5.471 MB / 405.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006812/0.03592, allocations: 2.651 MB / 408.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.03855, allocations: 1.337 MB / 409.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009776/0.04832, allocations: 7.741 MB / 417.4 MB, free: 1.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008137/0.05646, allocations: 5.977 MB / 423.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008635/0.06509, allocations: 4.136 MB / 427.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006501/0.07159, allocations: 4.002 MB / 431.5 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002609/0.0742, allocations: 0.5742 MB / 432.1 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.07771, allocations: 1.237 MB / 433.3 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00453/0.08224, allocations: 3.452 MB / 436.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005323/0.08756, allocations: 2.2 MB / 439 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.09979, allocations: 7.169 MB / 446.2 MB, free: 4.297 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.0998, allocations: 0 / 446.2 MB, free: 4.297 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.0998, allocations: 4 kB / 446.2 MB, free: 4.293 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004409/0.1002, allocations: 3.984 kB / 446.2 MB, free: 4.289 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2522 * Number of variables: 2522 Notification: Performance of Generate backend data structure: time 0.01546/0.1157, allocations: 7.977 MB / 454.1 MB, free: 12.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.1158, allocations: 12.03 kB / 454.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008069/0.1238, allocations: 2.4 MB / 456.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006961/0.1308, allocations: 2.927 MB / 459.5 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004829/0.1313, allocations: 427.3 kB / 459.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00238/0.1336, allocations: 0.5586 MB / 460.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02386/0.1575, allocations: 9.955 MB / 470.4 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002393/0.1577, allocations: 75.36 kB / 470.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009858/0.1587, allocations: 267.8 kB / 470.8 MB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00292/0.1616, allocations: 2.787 MB / 473.5 MB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/0.1783, allocations: 4.637 MB / 478.2 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4171/0.5954, allocations: 69.85 MB / 0.5352 GB, free: 50.1 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008607/0.604, allocations: 3.646 MB / 0.5387 GB, free: 49.93 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.6054, allocations: 0.7917 MB / 0.5395 GB, free: 49.87 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009107/0.6145, allocations: 5.429 MB / 0.5448 GB, free: 48.26 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006815/0.6213, allocations: 3.129 MB / 0.5479 GB, free: 46.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=260): time 7.133e-06/0.6213, allocations: 2.531 kB / 0.5479 GB, free: 46.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=294): time 0.02918/0.6505, allocations: 11.74 MB / 0.5593 GB, free: 35.57 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.6506, allocations: 166.3 kB / 0.5595 GB, free: 35.39 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004703/0.6553, allocations: 4.939 MB / 0.5643 GB, free: 30.96 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005893/0.6559, allocations: 69.7 kB / 0.5644 GB, free: 30.88 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003495/0.6594, allocations: 5.309 MB / 0.5696 GB, free: 25.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001324/0.6607, allocations: 1.194 MB / 0.5707 GB, free: 24.57 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001795/0.6625, allocations: 2.018 MB / 0.5727 GB, free: 22.54 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.599e-05/0.6626, allocations: 480.8 kB / 0.5732 GB, free: 22.06 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.664, allocations: 0.8711 MB / 0.574 GB, free: 21.18 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/0.6676, allocations: 9.288 MB / 0.5831 GB, free: 8.133 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008363/0.676, allocations: 11.13 MB / 0.594 GB, free: 9.508 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002536/0.6763, allocations: 56 kB / 0.594 GB, free: 9.453 MB / 426.8 MB Notification: Performance of matching and sorting (n=1230) (initialization): time 0.01514/0.6914, allocations: 7.318 MB / 0.6012 GB, free: 2.121 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.6916, allocations: 121.7 kB / 0.6013 GB, free: 1.996 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002326/0.6918, allocations: 203.9 kB / 0.6015 GB, free: 1.801 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/0.6921, allocations: 264 kB / 0.6017 GB, free: 1.543 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006071/0.6981, allocations: 2.207 MB / 0.6039 GB, free: 15.33 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003415/0.6985, allocations: 394.5 kB / 0.6043 GB, free: 14.95 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006291/0.7048, allocations: 428.4 kB / 0.6047 GB, free: 14.53 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/0.706, allocations: 488 kB / 0.6051 GB, free: 14.05 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 913 * Number of states: 0 () * Number of discrete variables: 83 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1205): * Single equations (assignments): 1201 * Array equations: 3 * Algorithm blocks: 1 * 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.003049/0.7091, allocations: 0.9559 MB / 0.6061 GB, free: 13.08 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001313/0.7104, allocations: 0.5632 MB / 0.6066 GB, free: 12.52 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.7126, allocations: 1.584 MB / 0.6082 GB, free: 10.92 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-05/0.7127, allocations: 36 kB / 0.6082 GB, free: 10.88 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.7127, allocations: 0 / 0.6082 GB, free: 10.88 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/0.7127, allocations: 19.45 kB / 0.6082 GB, free: 10.87 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.73, allocations: 8.958 MB / 0.617 GB, free: 1.266 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.802e-05/0.73, allocations: 32 kB / 0.617 GB, free: 1.234 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.7315, allocations: 0.546 MB / 0.6175 GB, free: 0.6875 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-05/0.7315, allocations: 47.94 kB / 0.6176 GB, free: 0.6406 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.7316, allocations: 91.98 kB / 0.6177 GB, free: 0.5508 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.719e-05/0.7317, allocations: 63.78 kB / 0.6177 GB, free: 500 kB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.664e-05/0.7317, allocations: 47.81 kB / 0.6178 GB, free: 452 kB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/0.7366, allocations: 3.688 MB / 0.6214 GB, free: 12.05 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/0.7379, allocations: 0.4926 MB / 0.6219 GB, free: 11.55 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004361/0.7383, allocations: 87.92 kB / 0.6219 GB, free: 11.46 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.7394, allocations: 108 kB / 0.622 GB, free: 11.36 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/0.7397, allocations: 291.8 kB / 0.6223 GB, free: 11.07 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.7398, allocations: 104 kB / 0.6224 GB, free: 10.97 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002851/0.7427, allocations: 1.934 MB / 0.6243 GB, free: 9.051 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7427, allocations: 4 kB / 0.6243 GB, free: 9.047 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006858/0.7496, allocations: 1.558 MB / 0.6258 GB, free: 7.488 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000647/0.7502, allocations: 273.9 kB / 0.6261 GB, free: 7.211 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006804/0.757, allocations: 3.957 MB / 0.63 GB, free: 3.254 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.034e-05/0.757, allocations: 4 kB / 0.63 GB, free: 3.25 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.7582, allocations: 0.781 MB / 0.6307 GB, free: 2.469 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004088/0.7623, allocations: 0.6774 MB / 0.6314 GB, free: 1.828 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/0.7835, allocations: 12.74 MB / 0.6438 GB, free: 4.41 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003703/0.7872, allocations: 1.951 MB / 0.6457 GB, free: 2.438 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002785/0.79, allocations: 0.7656 MB / 0.6465 GB, free: 1.668 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.7913, allocations: 0.8925 MB / 0.6473 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of SimCode: time 3.116e-06/0.7913, allocations: 0 / 0.6473 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of Templates: time 0.26/1.051, allocations: 41.38 MB / 0.6878 GB, free: 159.6 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.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.88857268774882]