Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.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.00106/0.00106, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.004251/0.004251, allocations: 164.1 kB / 24.99 MB, free: 8.793 MB / 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/1, allocations: 177.1 MB / 205.3 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2479/0.2479, allocations: 32.81 MB / 294.6 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.527e-05, allocations: 9.828 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01472/0.01475, allocations: 15.46 MB / 391.5 MB, free: 5.469 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.02524, allocations: 4.895 MB / 396.4 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/0.02832, allocations: 115.5 kB / 396.5 MB, free: 452 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008363/0.03668, allocations: 5.549 MB / 402 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006542/0.04322, allocations: 2.635 MB / 404.7 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.04643, allocations: 1.318 MB / 406 MB, free: 6.906 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009719/0.05615, allocations: 7.709 MB / 413.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008031/0.06418, allocations: 5.945 MB / 419.6 MB, free: 9.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007191/0.07138, allocations: 4.031 MB / 423.7 MB, free: 5.121 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005613/0.07699, allocations: 4.096 MB / 427.8 MB, free: 1.016 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001449/0.07844, allocations: 0.582 MB / 428.4 MB, free: 444 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.08085, allocations: 1.249 MB / 429.6 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003082/0.08394, allocations: 3.464 MB / 433.1 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003694/0.08763, allocations: 2.201 MB / 435.3 MB, free: 9.504 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008201/0.09583, allocations: 7.212 MB / 442.5 MB, free: 2.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.09584, allocations: 0 / 442.5 MB, free: 2.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.09584, allocations: 4 kB / 442.5 MB, free: 2.262 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002462/0.09608, allocations: 0 / 442.5 MB, free: 2.262 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.1556/0.2517, allocations: 8.315 MB / 450.8 MB, free: 102.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2517, allocations: 8.594 kB / 450.8 MB, free: 102.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006666/0.2584, allocations: 3.502 MB / 454.3 MB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004381/0.2628, allocations: 3.254 MB / 457.6 MB, free: 100.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.263, allocations: 424.6 kB / 458 MB, free: 100.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006724/0.2637, allocations: 0.5467 MB / 458.5 MB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02243/0.2861, allocations: 13.46 MB / 472 MB, free: 94.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002626/0.2864, allocations: 78.36 kB / 472.1 MB, free: 94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006497/0.287, allocations: 267.4 kB / 472.3 MB, free: 93.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003043/0.29, allocations: 3.148 MB / 475.5 MB, free: 93.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/0.3122, allocations: 8.262 MB / 483.7 MB, free: 92.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04903/0.3612, allocations: 70.94 MB / 0.5417 GB, free: 19.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009451/0.3707, allocations: 4.514 MB / 0.5461 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.3721, allocations: 0.9016 MB / 0.547 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007902/0.38, allocations: 5.693 MB / 0.5525 GB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.3801, allocations: 63.39 kB / 0.5526 GB, free: 8.711 MB / 410.7 MB Notification: Performance of pre-optimization done (n=257): time 5.15e-06/0.3801, allocations: 0 / 0.5526 GB, free: 8.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=291): time 0.03471/0.4148, allocations: 18.12 MB / 0.5703 GB, free: 6.582 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.4149, allocations: 162.5 kB / 0.5704 GB, free: 6.395 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005801/0.4207, allocations: 4.896 MB / 0.5752 GB, free: 1.484 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004665/0.4211, allocations: 69.7 kB / 0.5753 GB, free: 1.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003006/0.4241, allocations: 5.23 MB / 0.5804 GB, free: 12.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001265/0.4254, allocations: 1.186 MB / 0.5815 GB, free: 10.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/0.4272, allocations: 1.936 MB / 0.5834 GB, free: 8.977 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4273, allocations: 480.5 kB / 0.5839 GB, free: 8.508 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.4291, allocations: 0.9277 MB / 0.5848 GB, free: 7.574 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005708/0.4348, allocations: 9.13 MB / 0.5937 GB, free: 10.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1817/0.6165, allocations: 11.15 MB / 0.6046 GB, free: 119.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002376/0.6167, allocations: 56.69 kB / 0.6046 GB, free: 119.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01397/0.6307, allocations: 7.642 MB / 0.6121 GB, free: 117.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.6308, allocations: 88.44 kB / 0.6122 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002716/0.631, allocations: 197.8 kB / 0.6124 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.6313, allocations: 263 kB / 0.6126 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005359/0.6366, allocations: 2.208 MB / 0.6148 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002434/0.6369, allocations: 387.1 kB / 0.6152 GB, free: 117.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005341/0.6422, allocations: 0.5485 MB / 0.6157 GB, free: 117.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009257/0.6432, allocations: 0.5439 MB / 0.6162 GB, free: 117.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * 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 (1183): * Single equations (assignments): 1180 * 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.002244/0.6454, allocations: 0.9377 MB / 0.6171 GB, free: 117.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008689/0.6463, allocations: 0.5546 MB / 0.6177 GB, free: 117.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.6488, allocations: 1.726 MB / 0.6194 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/0.6488, allocations: 28.56 kB / 0.6194 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6488, allocations: 3.094 kB / 0.6194 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.6489, allocations: 12.75 kB / 0.6194 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.663, allocations: 9.115 MB / 0.6283 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.147e-05/0.663, allocations: 34.91 kB / 0.6283 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.6642, allocations: 0.5287 MB / 0.6289 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.893e-05/0.6642, allocations: 44.81 kB / 0.6289 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.6643, allocations: 91.7 kB / 0.629 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.412e-05/0.6644, allocations: 66.45 kB / 0.6291 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.253e-05/0.6644, allocations: 56.72 kB / 0.6291 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004421/0.6688, allocations: 4.146 MB / 0.6332 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.67, allocations: 0.4947 MB / 0.6336 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/0.6705, allocations: 91.3 kB / 0.6337 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.6717, allocations: 179.3 kB / 0.6339 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.672, allocations: 279.9 kB / 0.6342 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.6721, allocations: 119.3 kB / 0.6343 GB, free: 110.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003615/0.6758, allocations: 2.059 MB / 0.6363 GB, free: 109.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6758, allocations: 1.188 kB / 0.6363 GB, free: 109.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00819/0.6839, allocations: 1.539 MB / 0.6378 GB, free: 109.8 MB / 458.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.0008924/0.6848, allocations: 276 kB / 0.6381 GB, free: 109.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007737/0.6926, allocations: 4.042 MB / 0.642 GB, free: 108.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.448e-05/0.6926, allocations: 9.625 kB / 0.642 GB, free: 108.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.6939, allocations: 0.8331 MB / 0.6428 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/0.6973, allocations: 0.6729 MB / 0.6435 GB, free: 107.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/0.7137, allocations: 12.74 MB / 0.6559 GB, free: 98.83 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.7153, allocations: 1.949 MB / 0.6578 GB, free: 97.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003423/0.7188, allocations: 2.219 MB / 0.66 GB, free: 96.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.7193, allocations: 367 kB / 0.6603 GB, free: 95.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.414e-06/0.7193, allocations: 0 / 0.6603 GB, free: 95.8 MB / 458.7 MB Notification: Performance of Templates: time 0.05143/0.7707, allocations: 34.91 MB / 0.6944 GB, free: 66.14 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.100878918077797]