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.001121/0.001121, allocations: 117.6 kB / 17.09 MB, free: 5.938 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.001032/0.001032, allocations: 198.9 kB / 18.01 MB, free: 5.027 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.422/1.422, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2033/0.2033, allocations: 43.52 MB / 314.8 MB, free: 448 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.001515/0.001515, allocations: 73.45 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1305, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01783/0.1484, allocations: 17.64 MB / 0.5058 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.1625, allocations: 5.208 MB / 0.5109 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004263/0.1668, allocations: 103.8 kB / 0.511 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.177, allocations: 5.237 MB / 0.5161 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009149/0.1863, allocations: 2.726 MB / 0.5187 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.1898, allocations: 1.189 MB / 0.5199 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01289/0.2027, allocations: 7.028 MB / 0.5268 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3043/0.507, allocations: 6.54 MB / 0.5332 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006708/0.5138, allocations: 2.791 MB / 0.5359 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00933/0.5232, allocations: 3.991 MB / 0.5398 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003927/0.5271, allocations: 0.6252 MB / 0.5404 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006415/0.5336, allocations: 1.322 MB / 0.5417 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007629/0.5412, allocations: 3.524 MB / 0.5451 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01089/0.5522, allocations: 4.007 MB / 0.549 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01923/0.5714, allocations: 12.24 MB / 0.561 GB, free: 1.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.5715, allocations: 0 / 0.561 GB, free: 1.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.5715, allocations: 0 / 0.561 GB, free: 1.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005712/0.5721, allocations: 0 / 0.561 GB, free: 1.156 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.02587/0.598, allocations: 8.188 MB / 0.569 GB, free: 11.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.598, allocations: 12.58 kB / 0.569 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/0.6109, allocations: 2.722 MB / 0.5717 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009821/0.6207, allocations: 4.004 MB / 0.5756 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003973/0.6212, allocations: 471.9 kB / 0.576 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003014/0.6242, allocations: 0.5782 MB / 0.5766 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05478/0.679, allocations: 21.22 MB / 0.5973 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004525/0.6795, allocations: 77.08 kB / 0.5974 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003059/0.6826, allocations: 282.1 kB / 0.5976 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006591/0.6892, allocations: 3.549 MB / 0.6011 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04497/0.7342, allocations: 17.19 MB / 0.6179 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1043/0.8385, allocations: 67.51 MB / 0.6838 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/0.8574, allocations: 6.676 MB / 0.6903 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004004/0.8614, allocations: 2.327 MB / 0.6926 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01718/0.8786, allocations: 9.772 MB / 0.7022 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.429e-05/0.8787, allocations: 71.66 kB / 0.7022 GB, free: 8.422 MB / 0.545 GB Notification: Performance of pre-optimization done (n=296): time 5.019e-06/0.8787, allocations: 0 / 0.7022 GB, free: 8.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=330): time 0.06251/0.9413, allocations: 22.76 MB / 0.7245 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.9414, allocations: 165.7 kB / 0.7246 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009243/0.9507, allocations: 6.034 MB / 0.7305 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007108/0.9514, allocations: 73.7 kB / 0.7306 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00438/0.9558, allocations: 5.184 MB / 0.7356 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002174/0.958, allocations: 1.254 MB / 0.7369 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002887/0.9609, allocations: 1.932 MB / 0.7388 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.961, allocations: 309.1 kB / 0.739 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005059/0.9661, allocations: 2.85 MB / 0.7418 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009586/0.9757, allocations: 8.672 MB / 0.7503 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3017/1.277, allocations: 12.51 MB / 0.7625 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002207/1.278, allocations: 58.53 kB / 0.7626 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02727/1.305, allocations: 11.27 MB / 0.7736 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/1.305, allocations: 93.03 kB / 0.7737 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004278/1.306, allocations: 206 kB / 0.7739 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005339/1.306, allocations: 274.2 kB / 0.7741 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008586/1.315, allocations: 2.354 MB / 0.7764 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005649/1.315, allocations: 409 kB / 0.7768 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008504/1.324, allocations: 472.3 kB / 0.7773 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002214/1.326, allocations: 0.5804 MB / 0.7778 GB, free: 185.5 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.008338/1.334, allocations: 3.39 MB / 0.7811 GB, free: 184 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.336, allocations: 0.5402 MB / 0.7817 GB, free: 184 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006091/1.342, allocations: 3.442 MB / 0.785 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.01e-05/1.342, allocations: 38.41 kB / 0.7851 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.342, allocations: 7.844 kB / 0.7851 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.511e-05/1.342, allocations: 18.75 kB / 0.7851 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/1.365, allocations: 13.75 MB / 0.7985 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-05/1.365, allocations: 32 kB / 0.7986 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/1.368, allocations: 0.6062 MB / 0.7991 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.578e-05/1.368, allocations: 48 kB / 0.7992 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/1.368, allocations: 99.75 kB / 0.7993 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.678e-05/1.368, allocations: 71.64 kB / 0.7994 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.25e-05/1.368, allocations: 51.81 kB / 0.7994 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006677/1.375, allocations: 6.319 MB / 0.8056 GB, free: 170 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/1.377, allocations: 0.8404 MB / 0.8064 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008821/1.378, allocations: 103.6 kB / 0.8065 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/1.38, allocations: 143.8 kB / 0.8066 GB, free: 169 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/1.38, allocations: 296.6 kB / 0.8069 GB, free: 168.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/1.38, allocations: 133.4 kB / 0.807 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005912/1.386, allocations: 3.752 MB / 0.8107 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.51e-07/1.386, allocations: 4 kB / 0.8107 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009601/1.396, allocations: 1.567 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.0008075/1.397, allocations: 273.9 kB / 0.8125 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.408, allocations: 6.597 MB / 0.8189 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-05/1.408, allocations: 4 kB / 0.8189 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002425/1.41, allocations: 1.572 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.005742/1.416, allocations: 0.8025 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.03294/1.449, 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.008001/1.457, allocations: 5.134 MB / 0.8423 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/1.459, allocations: 491.4 kB / 0.8427 GB, free: 135.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.553e-06/1.459, allocations: 0 / 0.8427 GB, free: 135.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1231/1.582, allocations: 91.44 MB / 0.932 GB, free: 43.78 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