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.002045/0.002045, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.002387/0.002387, allocations: 215.4 kB / 23.73 MB, free: 4.406 MB / 14.72 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.538/1.538, allocations: 230.5 MB / 257.4 MB, free: 7.816 MB / 206.1 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.241/0.241, allocations: 46.95 MB / 360.8 MB, free: 3.953 MB / 286.1 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 0.002319/0.002319, allocations: 75.88 kB / 0.4967 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3866, allocations: 66.08 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01842/0.405, allocations: 14.01 MB / 0.5749 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.4175, allocations: 4.826 MB / 0.5796 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/0.421, allocations: 115.5 kB / 0.5797 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.4311, allocations: 5.031 MB / 0.5846 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.4428, allocations: 2.575 MB / 0.5871 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.4464, allocations: 1.193 MB / 0.5883 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.4576, allocations: 6.694 MB / 0.5948 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00787/0.4655, allocations: 5.05 MB / 0.5998 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005986/0.4715, allocations: 2.644 MB / 0.6023 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007473/0.479, allocations: 3.695 MB / 0.6059 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00256/0.4815, allocations: 0.5742 MB / 0.6065 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.4855, allocations: 1.175 MB / 0.6077 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005204/0.4907, allocations: 3.296 MB / 0.6109 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006886/0.4976, allocations: 2.773 MB / 0.6136 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01807/0.5156, allocations: 11.23 MB / 0.6245 GB, free: 2.785 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5156, allocations: 0 / 0.6245 GB, free: 2.785 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5156, allocations: 3.938 kB / 0.6245 GB, free: 2.781 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004852/0.5161, allocations: 0 / 0.6245 GB, free: 2.781 MB / 462.1 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.02212/0.5383, allocations: 7.791 MB / 0.6322 GB, free: 10.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.021e-05/0.5383, allocations: 8.031 kB / 0.6322 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.5496, allocations: 2.629 MB / 0.6347 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0099/0.5595, allocations: 3.537 MB / 0.6382 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006515/0.5602, allocations: 439 kB / 0.6386 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00276/0.5629, allocations: 0.5505 MB / 0.6391 GB, free: 3.691 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05064/0.6136, allocations: 19.91 MB / 0.6586 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004131/0.614, allocations: 71.39 kB / 0.6587 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002289/0.6163, allocations: 271.8 kB / 0.6589 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00574/0.622, allocations: 3.145 MB / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04318/0.6652, allocations: 15.9 MB / 0.6775 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6867/1.352, allocations: 59.75 MB / 0.7359 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/1.368, allocations: 5.743 MB / 0.7415 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002781/1.371, allocations: 1.924 MB / 0.7434 GB, free: 139 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/1.383, allocations: 7.528 MB / 0.7507 GB, free: 137.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01286/1.396, allocations: 4.332 MB / 0.7549 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=260): time 5.991e-06/1.396, allocations: 0 / 0.7549 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=294): time 0.05312/1.449, allocations: 21.74 MB / 0.7762 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/1.449, allocations: 162 kB / 0.7763 GB, free: 119 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005754/1.455, allocations: 5.325 MB / 0.7815 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004816/1.455, allocations: 73.7 kB / 0.7816 GB, free: 113.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003184/1.459, allocations: 5.162 MB / 0.7866 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.46, allocations: 1.175 MB / 0.7878 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001838/1.462, allocations: 1.834 MB / 0.7896 GB, free: 105.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.766e-05/1.462, allocations: 313 kB / 0.7899 GB, free: 105.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003635/1.465, allocations: 2.698 MB / 0.7925 GB, free: 102.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005701/1.471, allocations: 8.261 MB / 0.8006 GB, free: 91.89 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/1.482, allocations: 11.86 MB / 0.8122 GB, free: 77.45 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000185/1.482, allocations: 59.28 kB / 0.8122 GB, free: 77.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.01807/1.5, allocations: 10.65 MB / 0.8226 GB, free: 66.73 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/1.5, allocations: 117.7 kB / 0.8227 GB, free: 66.61 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/1.501, allocations: 196 kB / 0.8229 GB, free: 66.42 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/1.501, allocations: 264 kB / 0.8232 GB, free: 66.16 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007477/1.508, allocations: 2.222 MB / 0.8253 GB, free: 63.94 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002177/1.509, allocations: 386.5 kB / 0.8257 GB, free: 63.56 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006694/1.515, allocations: 475.5 kB / 0.8262 GB, free: 63.09 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/1.516, allocations: 0.5469 MB / 0.8267 GB, free: 62.55 MB / 0.5607 GB 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.00529/1.522, allocations: 3.159 MB / 0.8298 GB, free: 59.38 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/1.523, allocations: 484.8 kB / 0.8302 GB, free: 58.9 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/1.528, allocations: 3.001 MB / 0.8332 GB, free: 55.89 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.726e-05/1.528, allocations: 28 kB / 0.8332 GB, free: 55.86 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/1.528, allocations: 7.938 kB / 0.8332 GB, free: 55.85 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/1.528, allocations: 15.94 kB / 0.8332 GB, free: 55.84 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/1.544, allocations: 10.06 MB / 0.843 GB, free: 45.36 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/1.544, allocations: 28 kB / 0.8431 GB, free: 45.33 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/1.546, allocations: 0.5897 MB / 0.8436 GB, free: 44.74 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-05/1.546, allocations: 44 kB / 0.8437 GB, free: 44.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.547, allocations: 91.92 kB / 0.8438 GB, free: 44.61 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-05/1.547, allocations: 63.78 kB / 0.8438 GB, free: 44.55 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.91e-05/1.547, allocations: 51.75 kB / 0.8439 GB, free: 44.5 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006371/1.553, allocations: 5.464 MB / 0.8492 GB, free: 38.49 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/1.555, allocations: 468.6 kB / 0.8497 GB, free: 38.03 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008226/1.555, allocations: 83.98 kB / 0.8497 GB, free: 37.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/1.558, allocations: 160.4 kB / 0.8499 GB, free: 37.79 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000441/1.558, allocations: 295.8 kB / 0.8502 GB, free: 37.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.558, allocations: 120 kB / 0.8503 GB, free: 37.39 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005157/1.564, allocations: 3.003 MB / 0.8532 GB, free: 34.39 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.11e-07/1.564, allocations: 0 / 0.8532 GB, free: 34.39 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007738/1.571, allocations: 1.398 MB / 0.8546 GB, free: 33 MB / 0.5607 GB 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.0006826/1.572, allocations: 265.8 kB / 0.8548 GB, free: 32.73 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009872/1.582, allocations: 5.969 MB / 0.8607 GB, free: 26.77 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.442e-05/1.582, allocations: 9 kB / 0.8607 GB, free: 26.77 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002955/1.585, allocations: 1.566 MB / 0.8622 GB, free: 25.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/1.589, allocations: 0.6457 MB / 0.8628 GB, free: 24.57 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/1.61, allocations: 14.45 MB / 0.877 GB, free: 9.656 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004861/1.614, allocations: 4.265 MB / 0.8811 GB, free: 5.359 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005271/1.62, allocations: 2.504 MB / 0.8836 GB, free: 2.848 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008451/1.62, allocations: 351.4 kB / 0.8839 GB, free: 2.504 MB / 0.5607 GB Notification: Performance of SimCode: time 1.854e-06/1.62, allocations: 0 / 0.8839 GB, free: 2.504 MB / 0.5607 GB Notification: Performance of Templates: time 0.09227/1.713, allocations: 41.18 MB / 0.9241 GB, free: 10.1 MB / 0.6075 GB " [Timeout remaining time 658] 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: 8.57504641637206]