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.00151/0.00151, allocations: 116.6 kB / 17.08 MB, free: 5.984 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.001646/0.001646, allocations: 198.9 kB / 18.01 MB, free: 5.07 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.37/1.37, allocations: 205.1 MB / 223.9 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.2036/0.2036, allocations: 43.52 MB / 314.8 MB, free: 460 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.002558/0.002558, allocations: 69.45 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1191, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01786/0.137, allocations: 17.64 MB / 0.5058 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.1481, allocations: 5.2 MB / 0.5109 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.151, allocations: 107.8 kB / 0.511 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009299/0.1604, allocations: 5.237 MB / 0.5161 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007104/0.1675, allocations: 2.734 MB / 0.5187 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.1702, allocations: 1.189 MB / 0.5199 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008838/0.179, allocations: 7.032 MB / 0.5268 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2177/0.3967, allocations: 6.535 MB / 0.5332 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004652/0.4014, allocations: 2.791 MB / 0.5359 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00629/0.4077, allocations: 3.987 MB / 0.5398 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002514/0.4103, allocations: 0.6256 MB / 0.5404 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/0.4145, allocations: 1.325 MB / 0.5417 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005508/0.42, allocations: 3.525 MB / 0.5451 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007149/0.4272, allocations: 4.004 MB / 0.549 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.442, allocations: 12.24 MB / 0.561 GB, free: 1.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.442, allocations: 0 / 0.561 GB, free: 1.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.442, allocations: 0 / 0.561 GB, free: 1.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000451/0.4425, allocations: 0 / 0.561 GB, free: 1.195 MB / 414.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.02073/0.4632, allocations: 8.191 MB / 0.569 GB, free: 11.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4633, allocations: 13.61 kB / 0.569 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.4751, allocations: 2.723 MB / 0.5717 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009237/0.4843, allocations: 4.005 MB / 0.5756 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.4847, allocations: 468.2 kB / 0.576 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0026/0.4873, allocations: 0.5817 MB / 0.5766 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04448/0.5318, allocations: 21.22 MB / 0.5973 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/0.5321, allocations: 69.94 kB / 0.5974 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009006/0.533, allocations: 286.3 kB / 0.5976 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005456/0.5384, allocations: 3.542 MB / 0.6011 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03938/0.5778, allocations: 17.2 MB / 0.6179 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08366/0.6615, allocations: 67.51 MB / 0.6838 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01812/0.6797, allocations: 6.679 MB / 0.6903 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00389/0.6836, allocations: 2.331 MB / 0.6926 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/0.6998, allocations: 9.773 MB / 0.7022 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.6999, allocations: 67.56 kB / 0.7022 GB, free: 8.434 MB / 0.545 GB Notification: Performance of pre-optimization done (n=296): time 5.951e-06/0.6999, allocations: 0 / 0.7022 GB, free: 8.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=330): time 0.06041/0.7603, allocations: 22.76 MB / 0.7245 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.149e-05/0.7605, allocations: 166.7 kB / 0.7246 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008664/0.7691, allocations: 6.03 MB / 0.7305 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005303/0.7697, allocations: 77.7 kB / 0.7306 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003311/0.773, allocations: 5.179 MB / 0.7356 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001331/0.7743, allocations: 1.252 MB / 0.7369 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002518/0.7769, allocations: 1.935 MB / 0.7388 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.777, allocations: 305.1 kB / 0.739 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004808/0.7818, allocations: 2.861 MB / 0.7418 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008561/0.7904, allocations: 8.671 MB / 0.7503 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2373/1.028, allocations: 12.51 MB / 0.7625 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001511/1.028, allocations: 58 kB / 0.7626 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02159/1.05, allocations: 11.26 MB / 0.7736 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/1.05, allocations: 93.59 kB / 0.7737 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00047/1.05, allocations: 205.1 kB / 0.7739 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005777/1.051, allocations: 273 kB / 0.7741 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007774/1.059, allocations: 2.359 MB / 0.7764 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005108/1.059, allocations: 406 kB / 0.7768 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007066/1.066, allocations: 474.4 kB / 0.7773 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.068, allocations: 0.5812 MB / 0.7778 GB, free: 185.6 MB / 0.5919 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.006479/1.074, allocations: 3.392 MB / 0.7811 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.075, allocations: 0.5401 MB / 0.7817 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006858/1.082, allocations: 3.451 MB / 0.785 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.302e-05/1.082, allocations: 37.22 kB / 0.7851 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/1.082, allocations: 3.906 kB / 0.7851 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-05/1.082, allocations: 18.66 kB / 0.7851 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02475/1.107, allocations: 13.76 MB / 0.7985 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.319e-05/1.107, allocations: 32 kB / 0.7986 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/1.109, allocations: 0.6111 MB / 0.7992 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.334e-05/1.109, allocations: 48 kB / 0.7992 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/1.11, allocations: 104.9 kB / 0.7993 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.763e-05/1.11, allocations: 67.45 kB / 0.7994 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-05/1.11, allocations: 55.91 kB / 0.7994 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006871/1.116, allocations: 6.308 MB / 0.8056 GB, free: 170 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/1.119, allocations: 0.8373 MB / 0.8064 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.12, allocations: 104.8 kB / 0.8065 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002585/1.122, allocations: 142.1 kB / 0.8066 GB, free: 169 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/1.123, allocations: 300.4 kB / 0.8069 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.123, allocations: 137.5 kB / 0.8071 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006125/1.129, allocations: 3.747 MB / 0.8107 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.773e-06/1.129, allocations: 0 / 0.8107 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007854/1.137, allocations: 1.565 MB / 0.8122 GB, free: 164 MB / 0.5919 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.0006743/1.138, allocations: 278.6 kB / 0.8125 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009867/1.148, allocations: 6.6 MB / 0.819 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-05/1.148, allocations: 4 kB / 0.819 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002137/1.15, allocations: 1.563 MB / 0.8205 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/1.155, allocations: 0.8006 MB / 0.8213 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02851/1.184, allocations: 16.36 MB / 0.8372 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007504/1.191, allocations: 5.129 MB / 0.8423 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/1.193, allocations: 495.4 kB / 0.8427 GB, free: 135.3 MB / 0.5919 GB Notification: Performance of SimCode: time 6.92e-07/1.193, allocations: 0 / 0.8427 GB, free: 135.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1084/1.301, allocations: 92.48 MB / 0.933 GB, free: 42.73 MB / 0.5919 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 -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