Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009477/0.0009477, allocations: 71.77 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.0009275/0.0009275, allocations: 166.2 kB / 25 MB, free: 8.348 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2421/0.2421, allocations: 34.27 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.445e-05, allocations: 2.312 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01241/0.01243, allocations: 15.45 MB / 393.5 MB, free: 3.426 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.02245, allocations: 4.888 MB / 398.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.02506, allocations: 115.5 kB / 398.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006857/0.03191, allocations: 5.553 MB / 404 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006175/0.03809, allocations: 2.627 MB / 406.7 MB, free: 6.195 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.04046, allocations: 1.318 MB / 408 MB, free: 4.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008494/0.04895, allocations: 7.724 MB / 415.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007323/0.05627, allocations: 5.953 MB / 421.7 MB, free: 7.109 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006546/0.06282, allocations: 4.027 MB / 425.7 MB, free: 3.074 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004901/0.06772, allocations: 4.1 MB / 429.8 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001411/0.06913, allocations: 0.582 MB / 430.4 MB, free: 14.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.07142, allocations: 1.245 MB / 431.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002935/0.07436, allocations: 3.464 MB / 435.1 MB, free: 9.664 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003689/0.07805, allocations: 2.201 MB / 437.3 MB, free: 7.457 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008419/0.08647, allocations: 7.22 MB / 444.5 MB, free: 216 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.08647, allocations: 0 / 444.5 MB, free: 216 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.08648, allocations: 0 / 444.5 MB, free: 216 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002758/0.08675, allocations: 0 / 444.5 MB, free: 216 kB / 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.1676/0.2543, allocations: 8.31 MB / 452.8 MB, free: 100.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2544, allocations: 8.5 kB / 452.8 MB, free: 100.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006167/0.2605, allocations: 3.501 MB / 456.3 MB, free: 99.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.2644, allocations: 3.256 MB / 459.6 MB, free: 98.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.2646, allocations: 421.7 kB / 460 MB, free: 98.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005881/0.2652, allocations: 0.549 MB / 460.5 MB, free: 97.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02078/0.286, allocations: 13.46 MB / 474 MB, free: 91.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002022/0.2862, allocations: 73.31 kB / 474.1 MB, free: 91.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005521/0.2867, allocations: 271.6 kB / 474.3 MB, free: 91.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003005/0.2897, allocations: 3.154 MB / 477.5 MB, free: 90.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02189/0.3116, allocations: 8.255 MB / 485.7 MB, free: 89.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04619/0.3578, allocations: 70.94 MB / 0.5436 GB, free: 17.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00935/0.3672, allocations: 4.521 MB / 0.548 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.3686, allocations: 0.8944 MB / 0.5489 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007872/0.3765, allocations: 5.681 MB / 0.5545 GB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.3765, allocations: 63.39 kB / 0.5545 GB, free: 5.789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=257): time 5.851e-06/0.3765, allocations: 0 / 0.5545 GB, free: 5.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=291): time 0.03401/0.4105, allocations: 18.14 MB / 0.5722 GB, free: 3.637 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.4106, allocations: 162.4 kB / 0.5724 GB, free: 3.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/0.4159, allocations: 4.892 MB / 0.5772 GB, free: 14.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004044/0.4163, allocations: 69.7 kB / 0.5772 GB, free: 14.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002898/0.4192, allocations: 5.226 MB / 0.5823 GB, free: 9.195 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001127/0.4203, allocations: 1.182 MB / 0.5835 GB, free: 8.004 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/0.4221, allocations: 1.936 MB / 0.5854 GB, free: 6.051 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.4222, allocations: 480.7 kB / 0.5859 GB, free: 5.578 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.4238, allocations: 0.9355 MB / 0.5868 GB, free: 4.637 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005939/0.4297, allocations: 9.13 MB / 0.5957 GB, free: 7.727 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3013/0.7311, allocations: 11.15 MB / 0.6066 GB, free: 114.2 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001862/0.7313, allocations: 53.59 kB / 0.6066 GB, free: 114.2 MB / 458.8 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01541/0.7467, allocations: 7.643 MB / 0.6141 GB, free: 112.8 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.7468, allocations: 89.03 kB / 0.6142 GB, free: 112.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002331/0.747, allocations: 194.6 kB / 0.6144 GB, free: 112.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.7472, allocations: 260.6 kB / 0.6146 GB, free: 112.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00567/0.7529, allocations: 2.221 MB / 0.6168 GB, free: 112.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003608/0.7533, allocations: 384.3 kB / 0.6171 GB, free: 112.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00566/0.7589, allocations: 0.5439 MB / 0.6177 GB, free: 112.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009597/0.7599, allocations: 0.538 MB / 0.6182 GB, free: 112.5 MB / 458.8 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.002493/0.7624, allocations: 0.9385 MB / 0.6191 GB, free: 112.1 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009973/0.7634, allocations: 0.5622 MB / 0.6197 GB, free: 112.1 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/0.766, allocations: 1.715 MB / 0.6213 GB, free: 112 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/0.7661, allocations: 31.34 kB / 0.6214 GB, free: 112 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.7661, allocations: 0 / 0.6214 GB, free: 112 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.7661, allocations: 12.52 kB / 0.6214 GB, free: 112 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.7812, allocations: 9.11 MB / 0.6303 GB, free: 108.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-05/0.7813, allocations: 31.84 kB / 0.6303 GB, free: 108.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.7827, allocations: 0.5409 MB / 0.6308 GB, free: 108.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.767e-05/0.7827, allocations: 47.62 kB / 0.6309 GB, free: 108.9 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.7829, allocations: 91.55 kB / 0.631 GB, free: 108.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.74e-05/0.783, allocations: 71.52 kB / 0.631 GB, free: 108.8 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.154e-05/0.783, allocations: 46.38 kB / 0.6311 GB, free: 108.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/0.787, allocations: 4.157 MB / 0.6351 GB, free: 105.8 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.7882, allocations: 0.4927 MB / 0.6356 GB, free: 105.7 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004955/0.7887, allocations: 88.59 kB / 0.6357 GB, free: 105.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.7899, allocations: 185.7 kB / 0.6359 GB, free: 105.6 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/0.7902, allocations: 277.6 kB / 0.6361 GB, free: 105.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.7904, allocations: 117.6 kB / 0.6363 GB, free: 105.5 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003699/0.7941, allocations: 2.054 MB / 0.6383 GB, free: 104.9 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7941, allocations: 0 / 0.6383 GB, free: 104.9 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007222/0.8013, allocations: 1.545 MB / 0.6398 GB, free: 104.7 MB / 458.8 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.0007477/0.802, allocations: 273.8 kB / 0.64 GB, free: 104.5 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006631/0.8087, allocations: 4.043 MB / 0.644 GB, free: 103.2 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.085e-05/0.8087, allocations: 5.344 kB / 0.644 GB, free: 103.2 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.8101, allocations: 0.8391 MB / 0.6448 GB, free: 102.9 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/0.8133, allocations: 0.663 MB / 0.6455 GB, free: 102.7 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/0.8302, allocations: 12.74 MB / 0.6579 GB, free: 92.58 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/0.8325, allocations: 1.949 MB / 0.6598 GB, free: 91.19 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003716/0.8362, allocations: 2.213 MB / 0.662 GB, free: 89.9 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007875/0.837, allocations: 358.1 kB / 0.6623 GB, free: 89.57 MB / 458.8 MB Notification: Performance of SimCode: time 2.274e-06/0.837, allocations: 0 / 0.6623 GB, free: 89.57 MB / 458.8 MB Notification: Performance of Templates: time 0.05569/0.8927, allocations: 34.91 MB / 0.6964 GB, free: 59.84 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.248167238896713]