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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 105 kB / 16.4 MB, free: 6.461 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.001278/0.001278, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.242/1.242, allocations: 205.1 MB / 223.2 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.1836/0.1836, allocations: 43.52 MB / 314.1 MB, free: 452 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.001327/0.001327, allocations: 73.47 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08454, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01491/0.09949, allocations: 17.64 MB / 0.5046 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009019/0.1085, allocations: 5.212 MB / 0.5097 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.1104, allocations: 103.8 kB / 0.5098 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008193/0.1186, allocations: 5.237 MB / 0.5149 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005954/0.1246, allocations: 2.82 MB / 0.5177 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.1268, allocations: 1.186 MB / 0.5189 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007277/0.1341, allocations: 7.032 MB / 0.5257 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1977/0.3318, allocations: 6.531 MB / 0.5321 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004162/0.336, allocations: 2.789 MB / 0.5348 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005015/0.3411, allocations: 3.988 MB / 0.5387 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.3427, allocations: 0.6251 MB / 0.5393 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.3455, allocations: 1.324 MB / 0.5406 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004046/0.3495, allocations: 3.53 MB / 0.5441 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005102/0.3546, allocations: 4.03 MB / 0.548 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.3673, allocations: 12.32 MB / 0.56 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3673, allocations: 0 / 0.56 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3673, allocations: 3.469 kB / 0.56 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003797/0.3677, allocations: 2.688 kB / 0.56 GB, free: 0.7969 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.01732/0.385, allocations: 8.474 MB / 0.5683 GB, free: 11.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3851, allocations: 13.02 kB / 0.5683 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002077/0.3872, allocations: 1.289 MB / 0.5696 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.3976, allocations: 2.811 MB / 0.5723 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008991/0.4066, allocations: 5.218 MB / 0.5774 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.4069, allocations: 470.1 kB / 0.5779 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.4081, allocations: 0.585 MB / 0.5784 GB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03834/0.4464, allocations: 21.22 MB / 0.5992 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001713/0.4466, allocations: 76.17 kB / 0.5992 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008293/0.4475, allocations: 288.8 kB / 0.5995 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005179/0.4527, allocations: 3.538 MB / 0.603 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03617/0.4889, allocations: 17.2 MB / 0.6198 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07741/0.5663, allocations: 67.67 MB / 0.6858 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01707/0.5834, allocations: 6.679 MB / 0.6924 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003393/0.5868, allocations: 2.33 MB / 0.6946 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01584/0.6027, allocations: 9.798 MB / 0.7042 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.6028, allocations: 64.56 kB / 0.7043 GB, free: 5.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=296): time 6.132e-06/0.6028, allocations: 0 / 0.7043 GB, free: 5.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=330): time 0.05737/0.6602, allocations: 23.28 MB / 0.727 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.6603, allocations: 165.5 kB / 0.7272 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007643/0.668, allocations: 6.085 MB / 0.7331 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003547/0.6683, allocations: 77.7 kB / 0.7332 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003102/0.6714, allocations: 5.414 MB / 0.7385 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001167/0.6726, allocations: 1.298 MB / 0.7397 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002332/0.675, allocations: 1.94 MB / 0.7416 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.6751, allocations: 304.9 kB / 0.7419 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0043/0.6794, allocations: 2.826 MB / 0.7447 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00742/0.6868, allocations: 8.639 MB / 0.7531 GB, free: 448 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.218/0.9048, allocations: 12.47 MB / 0.7653 GB, free: 187.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/0.905, allocations: 59.19 kB / 0.7654 GB, free: 187.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1279) (initialization): time 0.01756/0.9226, allocations: 11.22 MB / 0.7763 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-05/0.9227, allocations: 92.56 kB / 0.7764 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001894/0.9229, allocations: 202.8 kB / 0.7766 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.9231, allocations: 274.6 kB / 0.7769 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006409/0.9295, allocations: 2.343 MB / 0.7791 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002477/0.9298, allocations: 405.8 kB / 0.7795 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005516/0.9353, allocations: 470.2 kB / 0.78 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007463/0.9361, allocations: 0.583 MB / 0.7806 GB, free: 183.1 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 (1255): * Single equations (assignments): 1252 * 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.004541/0.9406, allocations: 3.389 MB / 0.7839 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006812/0.9413, allocations: 0.5748 MB / 0.7844 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/0.9463, allocations: 3.457 MB / 0.7878 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/0.9463, allocations: 35.19 kB / 0.7878 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.9463, allocations: 11.44 kB / 0.7878 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.939e-05/0.9464, allocations: 16.64 kB / 0.7879 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/0.9649, allocations: 13.77 MB / 0.8013 GB, free: 173.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.007e-05/0.965, allocations: 39.39 kB / 0.8013 GB, free: 173 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/0.967, allocations: 0.6112 MB / 0.8019 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.132e-05/0.9671, allocations: 48 kB / 0.802 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.9672, allocations: 99.8 kB / 0.8021 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-05/0.9673, allocations: 74.92 kB / 0.8021 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.866e-05/0.9673, allocations: 47.81 kB / 0.8022 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005915/0.9732, allocations: 6.357 MB / 0.8084 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/0.975, allocations: 0.866 MB / 0.8092 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006119/0.9756, allocations: 99.36 kB / 0.8093 GB, free: 165.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/0.9776, allocations: 148.8 kB / 0.8095 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.9778, allocations: 294.2 kB / 0.8098 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.978, allocations: 135.2 kB / 0.8099 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00452/0.9825, allocations: 3.773 MB / 0.8136 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9825, allocations: 0 / 0.8136 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006451/0.989, allocations: 1.56 MB / 0.8151 GB, free: 160 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.006169/0.9952, allocations: 7.084 MB / 0.822 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00819/1.003, allocations: 6.548 MB / 0.8284 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/1.003, allocations: 10.44 kB / 0.8284 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/1.005, allocations: 1.569 MB / 0.83 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004/1.009, allocations: 0.7879 MB / 0.8307 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07272/1.082, allocations: 72.87 MB / 0.9019 GB, free: 63.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004929/1.087, allocations: 5.135 MB / 0.9069 GB, free: 57.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005076/1.092, allocations: 2.754 MB / 0.9096 GB, free: 55.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003236/1.095, allocations: 3.498 MB / 0.913 GB, free: 51.62 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/1.095, allocations: 0 / 0.913 GB, free: 51.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3373/1.433, allocations: 99.54 MB / 1.01 GB, free: 195.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.33/23.76, allocations: 9.188 kB / 1.01 GB, free: 195.4 MB / 0.6075 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0028 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.csv","/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