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.0009633/0.0009633, allocations: 91.61 kB / 21.19 MB, free: 3.395 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.001063/0.001063, allocations: 164.5 kB / 24.56 MB, free: 36 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.9629/0.9629, allocations: 177 MB / 204.8 MB, free: 5.59 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.2656/0.2656, allocations: 34.87 MB / 296.3 MB, free: 0.5352 MB / 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.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.783e-06/1.783e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.546e-05, allocations: 2.312 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01261/0.01264, allocations: 15.56 MB / 394.3 MB, free: 2.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009117/0.02176, allocations: 4.962 MB / 399.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.02383, allocations: 115.5 kB / 399.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005441/0.02927, allocations: 5.549 MB / 405 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004594/0.03387, allocations: 2.651 MB / 407.6 MB, free: 5.109 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.03566, allocations: 1.329 MB / 408.9 MB, free: 3.777 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006519/0.04218, allocations: 7.78 MB / 416.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005421/0.0476, allocations: 5.969 MB / 422.7 MB, free: 5.938 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004638/0.05223, allocations: 4.14 MB / 426.8 MB, free: 1.789 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003875/0.05611, allocations: 4.006 MB / 430.8 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008303/0.05694, allocations: 0.5742 MB / 431.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.05863, allocations: 1.248 MB / 432.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002113/0.06074, allocations: 3.448 MB / 436.1 MB, free: 8.492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002967/0.06371, allocations: 2.197 MB / 438.3 MB, free: 6.289 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1842/0.2479, allocations: 7.175 MB / 445.5 MB, free: 67.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2479, allocations: 0 / 445.5 MB, free: 67.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2479, allocations: 0 / 445.5 MB, free: 67.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003709/0.2482, allocations: 0 / 445.5 MB, free: 67.99 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: 2522 * Number of variables: 2522 Notification: Performance of Generate backend data structure: time 0.01089/0.2591, allocations: 8.297 MB / 453.8 MB, free: 65.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2592, allocations: 9.094 kB / 453.8 MB, free: 65.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006632/0.2658, allocations: 3.503 MB / 457.3 MB, free: 64.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005036/0.2708, allocations: 3.225 MB / 460.5 MB, free: 63.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.2711, allocations: 423.9 kB / 460.9 MB, free: 63.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.2721, allocations: 0.5512 MB / 461.5 MB, free: 63.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02138/0.2935, allocations: 13.49 MB / 475 MB, free: 59.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/0.2937, allocations: 70.75 kB / 475 MB, free: 59.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007476/0.2944, allocations: 269.1 kB / 475.3 MB, free: 58.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002952/0.2974, allocations: 3.152 MB / 478.5 MB, free: 58.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02599/0.3234, allocations: 8.257 MB / 486.7 MB, free: 57.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0537/0.3771, allocations: 70.96 MB / 0.5446 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009108/0.3862, allocations: 4.535 MB / 0.549 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.3878, allocations: 0.9084 MB / 0.5499 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008718/0.3965, allocations: 5.711 MB / 0.5555 GB, free: 3.914 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007617/0.4041, allocations: 3.827 MB / 0.5592 GB, free: 16 kB / 426.7 MB Notification: Performance of pre-optimization done (n=260): time 7.013e-06/0.4041, allocations: 0 / 0.5592 GB, free: 16 kB / 426.7 MB Notification: Performance of matching and sorting (n=294): time 0.03725/0.4414, allocations: 18.21 MB / 0.577 GB, free: 13.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.015e-05/0.4414, allocations: 162 kB / 0.5772 GB, free: 13.67 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005897/0.4473, allocations: 4.955 MB / 0.582 GB, free: 8.723 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004342/0.4478, allocations: 71.97 kB / 0.5821 GB, free: 8.648 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003655/0.4514, allocations: 5.277 MB / 0.5872 GB, free: 3.414 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001257/0.4527, allocations: 1.187 MB / 0.5884 GB, free: 2.242 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001926/0.4546, allocations: 1.968 MB / 0.5903 GB, free: 264 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.4547, allocations: 484.7 kB / 0.5908 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.4565, allocations: 0.9765 MB / 0.5917 GB, free: 14.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005228/0.4617, allocations: 9.338 MB / 0.6008 GB, free: 1.695 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008415/0.4701, allocations: 11.37 MB / 0.6119 GB, free: 2.578 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000183/0.4703, allocations: 60 kB / 0.612 GB, free: 2.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=1230) (initialization): time 0.1745/0.6448, allocations: 7.855 MB / 0.6197 GB, free: 145.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.6449, allocations: 120.5 kB / 0.6198 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002888/0.6452, allocations: 198.9 kB / 0.62 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/0.6455, allocations: 265.6 kB / 0.6202 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00547/0.6509, allocations: 2.253 MB / 0.6224 GB, free: 145.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00029/0.6512, allocations: 395.2 kB / 0.6228 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/0.6559, allocations: 0.5698 MB / 0.6234 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006268/0.6565, allocations: 0.5546 MB / 0.6239 GB, free: 145.2 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: 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.0021/0.6586, allocations: 0.9513 MB / 0.6248 GB, free: 144.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006709/0.6593, allocations: 0.561 MB / 0.6254 GB, free: 144.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.6616, allocations: 1.746 MB / 0.6271 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/0.6617, allocations: 34.19 kB / 0.6271 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.6617, allocations: 0 / 0.6271 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.6617, allocations: 11.77 kB / 0.6271 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.6728, allocations: 9.075 MB / 0.636 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/0.6728, allocations: 36.38 kB / 0.636 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.6744, allocations: 0.5548 MB / 0.6366 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.741e-05/0.6744, allocations: 48.86 kB / 0.6366 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.6746, allocations: 98.77 kB / 0.6367 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.496e-05/0.6746, allocations: 66.14 kB / 0.6368 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.059e-05/0.6746, allocations: 50.53 kB / 0.6368 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/0.6786, allocations: 3.87 MB / 0.6406 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007294/0.6793, allocations: 0.498 MB / 0.6411 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004569/0.6797, allocations: 94.78 kB / 0.6412 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.6812, allocations: 192.6 kB / 0.6414 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.6815, allocations: 288 kB / 0.6416 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.6816, allocations: 121.1 kB / 0.6418 GB, free: 139.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002889/0.6845, allocations: 2.085 MB / 0.6438 GB, free: 139.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6845, allocations: 0 / 0.6438 GB, free: 139.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006078/0.6906, allocations: 1.558 MB / 0.6453 GB, free: 139.5 MB / 490.7 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.0004702/0.6911, allocations: 278 kB / 0.6456 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005897/0.697, allocations: 4.204 MB / 0.6497 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.07e-05/0.697, allocations: 3.812 kB / 0.6497 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.698, allocations: 0.8415 MB / 0.6505 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.7009, allocations: 0.6875 MB / 0.6512 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.7165, allocations: 12.77 MB / 0.6636 GB, free: 130 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/0.7182, allocations: 1.953 MB / 0.6656 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003405/0.7216, allocations: 2.224 MB / 0.6677 GB, free: 127.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006385/0.7223, allocations: 375 kB / 0.6681 GB, free: 127.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/0.7223, allocations: 0 / 0.6681 GB, free: 127.5 MB / 490.7 MB Notification: Performance of Templates: time 0.05321/0.7755, allocations: 37.6 MB / 0.7048 GB, free: 96.35 MB / 490.7 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: 4.963106418028474]