Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 108.4 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2003/0.2003, allocations: 43.52 MB / 314.7 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 67.61 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.09086, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01681/0.1077, allocations: 17.62 MB / 459.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1185, allocations: 5.212 MB / 464.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.121, allocations: 107.8 kB / 464.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009151/0.1301, allocations: 5.241 MB / 470.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006614/0.1368, allocations: 2.726 MB / 472.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.1394, allocations: 1.197 MB / 474.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009039/0.1485, allocations: 7.023 MB / 481.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007499/0.156, allocations: 6.551 MB / 487.6 MB, free: 8.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005297/0.1614, allocations: 2.784 MB / 490.4 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006489/0.1679, allocations: 3.996 MB / 494.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.1696, allocations: 0.625 MB / 495 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.1727, allocations: 1.323 MB / 496.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003631/0.1763, allocations: 3.503 MB / 499.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00549/0.1818, allocations: 4.005 MB / 0.4921 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01294/0.1948, allocations: 12.23 MB / 0.504 GB, free: 11.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.1948, allocations: 8 kB / 0.504 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1948, allocations: 0 / 0.504 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003934/0.1952, allocations: 0 / 0.504 GB, free: 11.68 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01545/0.2107, allocations: 8.191 MB / 0.512 GB, free: 3.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2108, allocations: 11.89 kB / 0.512 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.2212, allocations: 2.721 MB / 0.5147 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008853/0.2301, allocations: 4.006 MB / 0.5186 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000442/0.2306, allocations: 471.9 kB / 0.519 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001877/0.2325, allocations: 0.5893 MB / 0.5196 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3675/0.6, allocations: 21.21 MB / 0.5403 GB, free: 76.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.6004, allocations: 72.09 kB / 0.5404 GB, free: 76.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009828/0.6014, allocations: 284.2 kB / 0.5407 GB, free: 76.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005235/0.6066, allocations: 3.541 MB / 0.5441 GB, free: 75.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03561/0.6423, allocations: 17.21 MB / 0.5609 GB, free: 67.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06711/0.7094, allocations: 67.49 MB / 0.6268 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/0.7274, allocations: 6.674 MB / 0.6334 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003865/0.7313, allocations: 2.29 MB / 0.6356 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01725/0.7486, allocations: 9.773 MB / 0.6451 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.7487, allocations: 72.5 kB / 0.6452 GB, free: 11.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=296): time 5.962e-06/0.7487, allocations: 0 / 0.6452 GB, free: 11.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=330): time 0.06824/0.817, allocations: 22.76 MB / 0.6674 GB, free: 4.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.8171, allocations: 162.6 kB / 0.6676 GB, free: 4.539 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01304/0.8302, allocations: 6.033 MB / 0.6735 GB, free: 14.49 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005898/0.8308, allocations: 73.7 kB / 0.6736 GB, free: 14.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00501/0.8358, allocations: 5.191 MB / 0.6786 GB, free: 9.148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001885/0.8377, allocations: 1.249 MB / 0.6798 GB, free: 7.883 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003435/0.8412, allocations: 1.94 MB / 0.6817 GB, free: 5.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.8413, allocations: 301.1 kB / 0.682 GB, free: 5.633 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00722/0.8486, allocations: 2.85 MB / 0.6848 GB, free: 2.777 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01422/0.8628, allocations: 8.675 MB / 0.6933 GB, free: 7.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02412/0.887, allocations: 12.52 MB / 0.7055 GB, free: 7.801 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002053/0.8872, allocations: 63.94 kB / 0.7056 GB, free: 7.738 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02534/0.9126, allocations: 11.25 MB / 0.7166 GB, free: 12.44 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.9128, allocations: 92 kB / 0.7166 GB, free: 12.35 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003/0.9131, allocations: 204 kB / 0.7168 GB, free: 12.15 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003012/0.9135, allocations: 276.1 kB / 0.7171 GB, free: 11.88 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007734/0.9212, allocations: 2.359 MB / 0.7194 GB, free: 9.52 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003424/0.9216, allocations: 410.4 kB / 0.7198 GB, free: 9.117 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006356/0.9279, allocations: 471.5 kB / 0.7203 GB, free: 8.656 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/0.9293, allocations: 0.5742 MB / 0.7208 GB, free: 8.082 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1267): * Single equations (assignments): 1264 * Array equations: 3 * Algorithm blocks: 0 * 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.005866/0.9352, allocations: 3.393 MB / 0.7241 GB, free: 4.672 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/0.9363, allocations: 0.5437 MB / 0.7247 GB, free: 4.121 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006842/0.9432, allocations: 3.447 MB / 0.728 GB, free: 0.6211 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.857e-05/0.9433, allocations: 39.98 kB / 0.7281 GB, free: 0.582 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/0.9433, allocations: 7.938 kB / 0.7281 GB, free: 0.5742 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.119e-05/0.9434, allocations: 19.94 kB / 0.7281 GB, free: 0.5547 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2083/1.152, allocations: 13.75 MB / 0.7415 GB, free: 167.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.777e-05/1.152, allocations: 32.97 kB / 0.7415 GB, free: 167.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/1.154, allocations: 0.6092 MB / 0.7421 GB, free: 167 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.853e-05/1.154, allocations: 51.22 kB / 0.7422 GB, free: 167 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/1.154, allocations: 103.7 kB / 0.7423 GB, free: 167 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.018e-05/1.154, allocations: 65.83 kB / 0.7423 GB, free: 167 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.333e-05/1.154, allocations: 52.72 kB / 0.7424 GB, free: 166.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007378/1.162, allocations: 6.304 MB / 0.7486 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.164, allocations: 0.835 MB / 0.7494 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006572/1.165, allocations: 105.8 kB / 0.7495 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.167, allocations: 144.1 kB / 0.7496 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/1.167, allocations: 309.3 kB / 0.7499 GB, free: 163 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/1.167, allocations: 136.3 kB / 0.75 GB, free: 163 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005306/1.172, allocations: 3.741 MB / 0.7537 GB, free: 161.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.3e-07/1.172, allocations: 0 / 0.7537 GB, free: 161.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008042/1.181, allocations: 1.573 MB / 0.7552 GB, free: 161.6 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (317): * Single equations (assignments): 314 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007624/1.181, allocations: 274.3 kB / 0.7555 GB, free: 161.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.192, allocations: 6.595 MB / 0.7619 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.509e-05/1.192, allocations: 10.25 kB / 0.7619 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002509/1.195, allocations: 1.569 MB / 0.7635 GB, free: 158.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004971/1.2, allocations: 0.7826 MB / 0.7642 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.223, allocations: 15.62 MB / 0.7795 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005373/1.228, allocations: 5.139 MB / 0.7845 GB, free: 141.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005525/1.234, allocations: 2.75 MB / 0.7872 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.235, allocations: 419.4 kB / 0.7876 GB, free: 138 MB / 0.5138 GB Notification: Performance of SimCode: time 8.82e-07/1.235, allocations: 8 kB / 0.7876 GB, free: 138 MB / 0.5138 GB Notification: Performance of Templates: time 0.07717/1.312, allocations: 42.21 MB / 0.8288 GB, free: 96.11 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches