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.001741/0.001741, allocations: 113.9 kB / 19.13 MB, free: 3.922 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.002152/0.002152, allocations: 212.9 kB / 22.08 MB, free: 0.9727 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.475/1.475, allocations: 227.4 MB / 252.3 MB, free: 64 kB / 190.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.2309/0.2309, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.002308/0.002308, allocations: 77.91 kB / 490.9 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1257, allocations: 62.45 MB / 0.5404 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01832/0.1441, allocations: 16.15 MB / 0.5561 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.1555, allocations: 5.026 MB / 0.561 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.1583, allocations: 103.7 kB / 0.5611 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01025/0.1687, allocations: 5.155 MB / 0.5662 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007076/0.1758, allocations: 2.488 MB / 0.5686 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.1788, allocations: 1.17 MB / 0.5697 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.1889, allocations: 6.717 MB / 0.5763 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008648/0.1976, allocations: 6.351 MB / 0.5825 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004876/0.2025, allocations: 2.594 MB / 0.585 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006133/0.2087, allocations: 3.696 MB / 0.5887 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001991/0.2107, allocations: 0.5742 MB / 0.5892 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.2144, allocations: 1.272 MB / 0.5905 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004441/0.2188, allocations: 3.211 MB / 0.5936 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006497/0.2254, allocations: 3.667 MB / 0.5972 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2864/0.5118, allocations: 11.17 MB / 0.6081 GB, free: 24.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.5119, allocations: 0.5156 kB / 0.6081 GB, free: 24.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5119, allocations: 0 / 0.6081 GB, free: 24.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004388/0.5123, allocations: 0.8438 kB / 0.6081 GB, free: 24.86 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.02182/0.5341, allocations: 7.865 MB / 0.6158 GB, free: 21.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.5342, allocations: 9.891 kB / 0.6158 GB, free: 21.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/0.547, allocations: 2.629 MB / 0.6183 GB, free: 21.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009335/0.5564, allocations: 3.604 MB / 0.6219 GB, free: 20.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004913/0.5569, allocations: 431.6 kB / 0.6223 GB, free: 20.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003093/0.56, allocations: 0.5532 MB / 0.6228 GB, free: 20.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04586/0.6059, allocations: 19.8 MB / 0.6421 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004128/0.6063, allocations: 76.3 kB / 0.6422 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002719/0.6091, allocations: 268.1 kB / 0.6425 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004601/0.6137, allocations: 3.15 MB / 0.6455 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03486/0.6486, allocations: 15.92 MB / 0.6611 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09549/0.7441, allocations: 63.91 MB / 0.7235 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/0.7635, allocations: 6.408 MB / 0.7298 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004223/0.7678, allocations: 2.117 MB / 0.7318 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01865/0.7865, allocations: 9.23 MB / 0.7408 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01548/0.802, allocations: 4.198 MB / 0.7449 GB, free: 9.152 MB / 0.545 GB Notification: Performance of pre-optimization done (n=260): time 6.623e-06/0.802, allocations: 0 / 0.7449 GB, free: 9.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=294): time 0.06796/0.87, allocations: 21.96 MB / 0.7664 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.8702, allocations: 158.5 kB / 0.7665 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/0.8809, allocations: 5.782 MB / 0.7722 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005286/0.8815, allocations: 69.7 kB / 0.7723 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005192/0.8867, allocations: 5.13 MB / 0.7773 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/0.8885, allocations: 1.188 MB / 0.7784 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00431/0.8928, allocations: 1.833 MB / 0.7802 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8929, allocations: 301.1 kB / 0.7805 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005707/0.8987, allocations: 2.673 MB / 0.7831 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/0.9097, allocations: 8.237 MB / 0.7912 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01654/0.9263, allocations: 11.85 MB / 0.8027 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002104/0.9265, allocations: 57.19 kB / 0.8028 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.02246/0.949, allocations: 10.68 MB / 0.8132 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.9493, allocations: 124.8 kB / 0.8133 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003109/0.9496, allocations: 196 kB / 0.8135 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/0.95, allocations: 263.9 kB / 0.8138 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00773/0.9577, allocations: 2.226 MB / 0.8159 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004211/0.9582, allocations: 382.5 kB / 0.8163 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00646/0.9646, allocations: 475.5 kB / 0.8168 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/0.9662, allocations: 0.5531 MB / 0.8173 GB, free: 10.52 MB / 0.6231 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.006419/0.9726, allocations: 3.144 MB / 0.8204 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/0.9739, allocations: 0.5394 MB / 0.8209 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007271/0.9812, allocations: 3.065 MB / 0.8239 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.396e-05/0.9813, allocations: 32.88 kB / 0.8239 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.9813, allocations: 0 / 0.8239 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-05/0.9814, allocations: 15.95 kB / 0.8239 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02613/1.008, allocations: 12.27 MB / 0.8359 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-05/1.008, allocations: 32 kB / 0.8359 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/1.01, allocations: 0.5932 MB / 0.8365 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.019e-05/1.01, allocations: 50.55 kB / 0.8366 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000298/1.011, allocations: 91.98 kB / 0.8367 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.213e-05/1.011, allocations: 63.73 kB / 0.8367 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-05/1.011, allocations: 54.14 kB / 0.8368 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009163/1.02, allocations: 5.539 MB / 0.8422 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/1.022, allocations: 0.6105 MB / 0.8428 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/1.023, allocations: 87.97 kB / 0.8429 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/1.026, allocations: 155.9 kB / 0.843 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005042/1.026, allocations: 271.9 kB / 0.8433 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002712/1.026, allocations: 126.6 kB / 0.8434 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007076/1.033, allocations: 3.597 MB / 0.8469 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.51e-07/1.033, allocations: 0 / 0.8469 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007828/1.041, allocations: 1.414 MB / 0.8483 GB, free: 9.758 MB / 0.6544 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.000805/1.042, allocations: 260.9 kB / 0.8485 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0118/1.054, allocations: 6.19 MB / 0.8546 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.292e-05/1.054, allocations: 4 kB / 0.8546 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003336/1.057, allocations: 1.565 MB / 0.8561 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005664/1.063, allocations: 0.7667 MB / 0.8569 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2836/1.347, allocations: 15.2 MB / 0.8717 GB, free: 237.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00676/1.353, allocations: 4.755 MB / 0.8763 GB, free: 236.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.355, allocations: 450.8 kB / 0.8768 GB, free: 236.2 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/1.355, allocations: 1.422 kB / 0.8768 GB, free: 236.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.1066/1.462, allocations: 84.34 MB / 0.9591 GB, free: 163.9 MB / 0.6544 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.36516579601448]