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.001544/0.001544, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.001659/0.001659, allocations: 156.9 kB / 24.27 MB, free: 168 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 1.51/1.51, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.352/0.352, allocations: 34.26 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.903e-06/1.903e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.067e-05, allocations: 2.312 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.02078/0.02081, allocations: 14.02 MB / 391.3 MB, free: 4.801 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.03377, allocations: 4.837 MB / 396.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/0.03721, allocations: 115.5 kB / 396.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01176/0.04897, allocations: 5.377 MB / 401.6 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008003/0.05698, allocations: 2.639 MB / 404.2 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.0607, allocations: 1.326 MB / 405.5 MB, free: 6.461 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01222/0.07292, allocations: 7.757 MB / 413.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01077/0.08369, allocations: 5.984 MB / 419.3 MB, free: 8.629 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008954/0.09264, allocations: 4.023 MB / 423.3 MB, free: 4.598 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007814/0.1005, allocations: 4.049 MB / 427.4 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002065/0.1025, allocations: 0.586 MB / 427.9 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003521/0.106, allocations: 1.252 MB / 429.2 MB, free: 14.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00477/0.1108, allocations: 3.456 MB / 432.7 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004787/0.1156, allocations: 2.204 MB / 434.9 MB, free: 9.023 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1824/0.298, allocations: 11.25 MB / 446.1 MB, free: 66.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.298, allocations: 1.688 kB / 446.1 MB, free: 66.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.298, allocations: 0 / 446.1 MB, free: 66.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000375/0.2984, allocations: 2.297 kB / 446.1 MB, free: 66.92 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.01503/0.3134, allocations: 7.871 MB / 454 MB, free: 64.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3135, allocations: 8.625 kB / 454 MB, free: 64.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.3254, allocations: 3.637 MB / 457.6 MB, free: 63.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007756/0.3331, allocations: 3.551 MB / 461.2 MB, free: 62.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003543/0.3335, allocations: 425.5 kB / 461.6 MB, free: 62.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00208/0.3356, allocations: 0.5538 MB / 462.1 MB, free: 62.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04051/0.3761, allocations: 19.92 MB / 482.1 MB, free: 56.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003063/0.3764, allocations: 76.86 kB / 482.1 MB, free: 56.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00118/0.3776, allocations: 263.6 kB / 482.4 MB, free: 56.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005132/0.3827, allocations: 3.156 MB / 485.6 MB, free: 55.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03486/0.4176, allocations: 15.87 MB / 0.4897 GB, free: 52.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07016/0.4877, allocations: 60.08 MB / 0.5483 GB, free: 9.633 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/0.5073, allocations: 6.006 MB / 0.5542 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004096/0.5114, allocations: 1.904 MB / 0.5561 GB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01759/0.529, allocations: 7.694 MB / 0.5636 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01592/0.5449, allocations: 4.59 MB / 0.5681 GB, free: 5.414 MB / 442.7 MB Notification: Performance of pre-optimization done (n=260): time 6.052e-06/0.5449, allocations: 0 / 0.5681 GB, free: 5.414 MB / 442.7 MB Notification: Performance of matching and sorting (n=294): time 0.06865/0.6135, allocations: 22.72 MB / 0.5903 GB, free: 14.74 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.6137, allocations: 158.5 kB / 0.5904 GB, free: 14.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009499/0.6232, allocations: 5.536 MB / 0.5958 GB, free: 9.027 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005736/0.6238, allocations: 73.7 kB / 0.5959 GB, free: 8.949 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005989/0.6298, allocations: 5.123 MB / 0.6009 GB, free: 3.871 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001728/0.6315, allocations: 1.159 MB / 0.602 GB, free: 2.727 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003011/0.6345, allocations: 1.812 MB / 0.6038 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.6346, allocations: 309.1 kB / 0.6041 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1841/0.8187, allocations: 2.701 MB / 0.6067 GB, free: 149.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007502/0.8262, allocations: 8.26 MB / 0.6148 GB, free: 142 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/0.8386, allocations: 11.84 MB / 0.6263 GB, free: 131.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002063/0.8388, allocations: 65.47 kB / 0.6264 GB, free: 131.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.01929/0.8581, allocations: 11.15 MB / 0.6373 GB, free: 127.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.8582, allocations: 119.6 kB / 0.6374 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002397/0.8585, allocations: 197.3 kB / 0.6376 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.8587, allocations: 260.1 kB / 0.6379 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007538/0.8662, allocations: 2.252 MB / 0.6401 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003823/0.8666, allocations: 385.7 kB / 0.6404 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007389/0.874, allocations: 0.6165 MB / 0.641 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001669/0.8757, allocations: 0.5459 MB / 0.6416 GB, free: 127.1 MB / 474.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: 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 (1187): * Single equations (assignments): 1183 * 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.006359/0.882, allocations: 3.15 MB / 0.6446 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001543/0.8836, allocations: 0.5582 MB / 0.6452 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007218/0.8908, allocations: 2.953 MB / 0.6481 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-05/0.8908, allocations: 30.25 kB / 0.6481 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.8909, allocations: 1.375 kB / 0.6481 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/0.8909, allocations: 18.81 kB / 0.6481 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/0.9166, allocations: 10.15 MB / 0.658 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.953e-05/0.9166, allocations: 30.5 kB / 0.658 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003121/0.9198, allocations: 0.5923 MB / 0.6586 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.428e-05/0.9198, allocations: 47.28 kB / 0.6587 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002488/0.9201, allocations: 88.39 kB / 0.6588 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.147e-05/0.9201, allocations: 68.09 kB / 0.6588 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.679e-05/0.9202, allocations: 53.48 kB / 0.6589 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009971/0.9301, allocations: 5.486 MB / 0.6642 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/0.9322, allocations: 0.5036 MB / 0.6647 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/0.9333, allocations: 94.28 kB / 0.6648 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003688/0.937, allocations: 236.4 kB / 0.665 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006274/0.9376, allocations: 288.3 kB / 0.6653 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/0.9379, allocations: 118.6 kB / 0.6654 GB, free: 114.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009329/0.9472, allocations: 3.18 MB / 0.6685 GB, free: 111.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9472, allocations: 4 kB / 0.6685 GB, free: 111.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01249/0.9597, allocations: 1.55 MB / 0.67 GB, free: 110.4 MB / 474.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.001023/0.9607, allocations: 276.2 kB / 0.6703 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01157/0.9723, allocations: 5.964 MB / 0.6761 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.704e-05/0.9723, allocations: 8 kB / 0.6761 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002918/0.9752, allocations: 1.557 MB / 0.6777 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005588/0.9808, allocations: 0.6864 MB / 0.6783 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0275/1.008, allocations: 14.45 MB / 0.6924 GB, free: 89.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006998/1.015, allocations: 4.281 MB / 0.6966 GB, free: 85.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005696/1.021, allocations: 2.513 MB / 0.6991 GB, free: 83.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.022, allocations: 364.4 kB / 0.6994 GB, free: 82.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.773e-06/1.022, allocations: 0 / 0.6994 GB, free: 82.8 MB / 474.7 MB Notification: Performance of Templates: time 0.06858/1.091, allocations: 36.1 MB / 0.7347 GB, free: 47.52 MB / 474.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.963365647941828]