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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001172, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 80.56 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1397, allocations: 62.44 MB / 481.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01675/0.1565, allocations: 16.14 MB / 497.6 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.1669, allocations: 5.036 MB / 0.4908 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.1697, allocations: 95.75 kB / 0.4909 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009795/0.1795, allocations: 5.159 MB / 0.496 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006948/0.1865, allocations: 2.481 MB / 0.4984 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.1899, allocations: 1.178 MB / 0.4995 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2055/0.3955, allocations: 6.716 MB / 0.5061 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007225/0.4027, allocations: 6.349 MB / 0.5123 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004158/0.4069, allocations: 2.606 MB / 0.5148 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006111/0.413, allocations: 3.694 MB / 0.5185 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002049/0.4151, allocations: 0.576 MB / 0.519 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.4179, allocations: 1.265 MB / 0.5203 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00278/0.4207, allocations: 3.214 MB / 0.5234 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003599/0.4243, allocations: 3.669 MB / 0.527 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009438/0.4338, allocations: 11.12 MB / 0.5378 GB, free: 3.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4338, allocations: 0 / 0.5378 GB, free: 3.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4338, allocations: 0 / 0.5378 GB, free: 3.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002759/0.4341, allocations: 4 kB / 0.5378 GB, free: 3.984 MB / 382.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.01215/0.4463, allocations: 7.665 MB / 0.5453 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4463, allocations: 10.25 kB / 0.5453 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00934/0.4557, allocations: 2.584 MB / 0.5479 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008126/0.4638, allocations: 3.595 MB / 0.5514 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/0.4641, allocations: 433.9 kB / 0.5518 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.4653, allocations: 0.5478 MB / 0.5523 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03608/0.5014, allocations: 19.79 MB / 0.5716 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001741/0.5016, allocations: 79.67 kB / 0.5717 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006299/0.5022, allocations: 275.7 kB / 0.572 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004296/0.5065, allocations: 3.149 MB / 0.5751 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03436/0.5409, allocations: 15.91 MB / 0.5906 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08092/0.6219, allocations: 63.79 MB / 0.6529 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01736/0.6393, allocations: 6.41 MB / 0.6591 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003154/0.6425, allocations: 2.077 MB / 0.6612 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01557/0.658, allocations: 9.2 MB / 0.6702 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01371/0.6718, allocations: 4.202 MB / 0.6743 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=260): time 4.609e-06/0.6718, allocations: 4 kB / 0.6743 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=294): time 0.06251/0.7343, allocations: 21.59 MB / 0.6953 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/0.7345, allocations: 154.5 kB / 0.6955 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008844/0.7433, allocations: 5.77 MB / 0.7011 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000398/0.7438, allocations: 77.69 kB / 0.7012 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003661/0.7474, allocations: 4.921 MB / 0.706 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.7486, allocations: 1.134 MB / 0.7071 GB, free: 9.016 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002064/0.7506, allocations: 1.823 MB / 0.7089 GB, free: 7.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.7507, allocations: 301.1 kB / 0.7092 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004207/0.755, allocations: 2.673 MB / 0.7118 GB, free: 4.203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2143/0.9692, allocations: 8.238 MB / 0.7198 GB, free: 182.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/0.9817, allocations: 11.85 MB / 0.7314 GB, free: 172.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002769/0.982, allocations: 55.91 kB / 0.7315 GB, free: 172.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.01893/1.001, allocations: 10.65 MB / 0.7419 GB, free: 169 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/1.001, allocations: 120.6 kB / 0.742 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/1.001, allocations: 196.1 kB / 0.7422 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/1.002, allocations: 264.3 kB / 0.7424 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006809/1.009, allocations: 2.224 MB / 0.7446 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003372/1.009, allocations: 384.8 kB / 0.745 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006002/1.015, allocations: 479.3 kB / 0.7454 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008852/1.016, allocations: 0.5457 MB / 0.7459 GB, free: 168.4 MB / 0.545 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.004739/1.021, allocations: 3.155 MB / 0.749 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006284/1.021, allocations: 0.5119 MB / 0.7495 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004752/1.026, allocations: 3.061 MB / 0.7525 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/1.026, allocations: 31.31 kB / 0.7525 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/1.026, allocations: 0 / 0.7525 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/1.026, allocations: 16.12 kB / 0.7526 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/1.043, allocations: 12.25 MB / 0.7645 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/1.043, allocations: 34.56 kB / 0.7646 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/1.045, allocations: 0.5874 MB / 0.7651 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.049e-05/1.045, allocations: 51.75 kB / 0.7652 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/1.045, allocations: 94.59 kB / 0.7653 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.274e-05/1.045, allocations: 67.25 kB / 0.7653 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-05/1.045, allocations: 47.81 kB / 0.7654 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/1.05, allocations: 5.509 MB / 0.7708 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/1.052, allocations: 0.5787 MB / 0.7713 GB, free: 154.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/1.052, allocations: 95.25 kB / 0.7714 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/1.054, allocations: 157.1 kB / 0.7716 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/1.054, allocations: 276 kB / 0.7718 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.054, allocations: 121.8 kB / 0.772 GB, free: 153.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004382/1.059, allocations: 3.592 MB / 0.7755 GB, free: 150.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.71e-07/1.059, allocations: 0 / 0.7755 GB, free: 150.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007008/1.066, allocations: 1.415 MB / 0.7768 GB, free: 149.2 MB / 0.545 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.0004707/1.066, allocations: 270 kB / 0.7771 GB, free: 148.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008447/1.075, allocations: 6.197 MB / 0.7831 GB, free: 143.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/1.075, allocations: 4 kB / 0.7832 GB, free: 143.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/1.077, allocations: 1.637 MB / 0.7848 GB, free: 142 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.081, allocations: 0.7565 MB / 0.7855 GB, free: 141.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/1.101, allocations: 14.28 MB / 0.7994 GB, free: 127.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004561/1.105, allocations: 4.764 MB / 0.8041 GB, free: 122.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00504/1.11, allocations: 2.577 MB / 0.8066 GB, free: 119.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008917/1.111, allocations: 387.4 kB / 0.807 GB, free: 119.4 MB / 0.545 GB Notification: Performance of SimCode: time 6.92e-07/1.111, allocations: 0 / 0.807 GB, free: 119.4 MB / 0.545 GB Notification: Performance of Templates: time 0.06846/1.18, allocations: 39.14 MB / 0.8452 GB, free: 80.67 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches