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.001712/0.001712, allocations: 113.2 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002154/0.002154, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 79.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3548, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01674/0.3716, allocations: 16.16 MB / 0.5475 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.384, allocations: 5.021 MB / 0.5524 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004836/0.3889, allocations: 99.75 kB / 0.5525 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.4006, allocations: 5.159 MB / 0.5575 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008985/0.4097, allocations: 2.556 MB / 0.56 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.413, allocations: 1.186 MB / 0.5611 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009326/0.4223, allocations: 6.71 MB / 0.5677 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008339/0.4307, allocations: 6.345 MB / 0.5739 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004161/0.4349, allocations: 2.605 MB / 0.5764 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005199/0.4401, allocations: 3.688 MB / 0.58 GB, free: 36 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001864/0.442, allocations: 0.5782 MB / 0.5806 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.4453, allocations: 1.272 MB / 0.5818 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004369/0.4497, allocations: 3.234 MB / 0.585 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006636/0.4563, allocations: 3.663 MB / 0.5886 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01516/0.4715, allocations: 11.12 MB / 0.5994 GB, free: 12.1 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4716, allocations: 0 / 0.5994 GB, free: 12.1 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4716, allocations: 0 / 0.5994 GB, free: 12.1 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003831/0.472, allocations: 0 / 0.5994 GB, free: 12.1 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.01748/0.4895, allocations: 7.671 MB / 0.6069 GB, free: 4.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4895, allocations: 12.03 kB / 0.6069 GB, free: 4.328 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.5009, allocations: 2.593 MB / 0.6095 GB, free: 1.723 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007761/0.5087, allocations: 3.596 MB / 0.613 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003761/0.509, allocations: 431.3 kB / 0.6134 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.5107, allocations: 0.5542 MB / 0.6139 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04359/0.5543, allocations: 19.78 MB / 0.6333 GB, free: 8.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003157/0.5547, allocations: 71.34 kB / 0.6333 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001807/0.5565, allocations: 267.8 kB / 0.6336 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005677/0.5622, allocations: 3.157 MB / 0.6367 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04024/0.6025, allocations: 15.91 MB / 0.6522 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09155/0.694, allocations: 63.8 MB / 0.7145 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5098/1.204, allocations: 6.39 MB / 0.7207 GB, free: 162.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003579/1.208, allocations: 2.115 MB / 0.7228 GB, free: 161.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01356/1.221, allocations: 9.223 MB / 0.7318 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01309/1.234, allocations: 4.191 MB / 0.7359 GB, free: 156.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=260): time 5.641e-06/1.234, allocations: 3.984 kB / 0.7359 GB, free: 156.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=294): time 0.05276/1.287, allocations: 21.59 MB / 0.757 GB, free: 140.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.287, allocations: 162.2 kB / 0.7572 GB, free: 139.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005818/1.293, allocations: 5.776 MB / 0.7628 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004646/1.293, allocations: 73.58 kB / 0.7629 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002739/1.296, allocations: 4.924 MB / 0.7677 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.297, allocations: 1.13 MB / 0.7688 GB, free: 128 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/1.299, allocations: 1.817 MB / 0.7706 GB, free: 126.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.674e-05/1.299, allocations: 301.1 kB / 0.7708 GB, free: 125.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004017/1.303, allocations: 2.673 MB / 0.7734 GB, free: 123.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007021/1.31, allocations: 8.242 MB / 0.7815 GB, free: 112.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.321, allocations: 11.86 MB / 0.7931 GB, free: 97.63 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000124/1.322, allocations: 60 kB / 0.7931 GB, free: 97.57 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.01574/1.337, allocations: 10.65 MB / 0.8035 GB, free: 86.91 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/1.338, allocations: 121.6 kB / 0.8036 GB, free: 86.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/1.338, allocations: 200 kB / 0.8038 GB, free: 86.59 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/1.338, allocations: 260 kB / 0.8041 GB, free: 86.34 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006478/1.344, allocations: 2.227 MB / 0.8063 GB, free: 84.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002149/1.345, allocations: 386.5 kB / 0.8066 GB, free: 83.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006059/1.351, allocations: 473.2 kB / 0.8071 GB, free: 83.27 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/1.352, allocations: 0.543 MB / 0.8076 GB, free: 82.73 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.005173/1.357, allocations: 3.155 MB / 0.8107 GB, free: 79.56 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007531/1.358, allocations: 0.5168 MB / 0.8112 GB, free: 79.04 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/1.362, allocations: 3.058 MB / 0.8142 GB, free: 75.96 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/1.362, allocations: 15.89 kB / 0.8142 GB, free: 75.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.362, allocations: 0 / 0.8142 GB, free: 75.95 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.363, allocations: 0.5295 MB / 0.8147 GB, free: 75.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005303/1.364, allocations: 51.98 kB / 0.8148 GB, free: 75.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/1.366, allocations: 147.8 kB / 0.8149 GB, free: 75.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/1.366, allocations: 157.7 kB / 0.8151 GB, free: 75.05 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005436/1.371, allocations: 3.604 MB / 0.8186 GB, free: 71.47 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006506/1.378, allocations: 5.765 MB / 0.8242 GB, free: 65.64 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001752/1.38, allocations: 1.487 MB / 0.8257 GB, free: 64.15 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004647/1.384, allocations: 3.561 MB / 0.8291 GB, free: 60.62 MB / 0.5607 GB Notification: Performance of Backend: time 6.51e-07/1.384, allocations: 0 / 0.8291 GB, free: 60.62 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00943/1.394, allocations: 5.347 MB / 0.8344 GB, free: 55.33 MB / 0.5607 GB Notification: Performance of SimCode: time 0.01965/1.413, allocations: 13.74 MB / 0.8478 GB, free: 41.57 MB / 0.5607 GB Notification: Performance of Templates: time 0.09488/1.508, allocations: 56.44 MB / 0.9029 GB, free: 1.379 MB / 0.5763 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 -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