Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_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.001092/0.001092, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001138/0.001138, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2023/0.2023, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 56.28 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.1004, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01764/0.1181, allocations: 16.4 MB / 485.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.1293, allocations: 5.02 MB / 490.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.1322, allocations: 103.7 kB / 490.9 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009388/0.1416, allocations: 5.194 MB / 496.1 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008354/0.1501, allocations: 2.567 MB / 498.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.1539, allocations: 1.174 MB / 499.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0125/0.1664, allocations: 6.657 MB / 0.4946 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01282/0.1793, allocations: 6.402 MB / 0.5009 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2331/0.4125, allocations: 2.634 MB / 0.5034 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006464/0.419, allocations: 3.733 MB / 0.5071 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003108/0.4222, allocations: 0.5844 MB / 0.5076 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004601/0.4268, allocations: 1.297 MB / 0.5089 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005309/0.4321, allocations: 3.32 MB / 0.5121 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009103/0.4413, allocations: 3.791 MB / 0.5158 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01666/0.4579, allocations: 11.12 MB / 0.5267 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.458, allocations: 0.6875 kB / 0.5267 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.458, allocations: 0 / 0.5267 GB, free: 12.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005576/0.4586, allocations: 4.734 kB / 0.5267 GB, free: 12.7 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02279/0.4814, allocations: 7.823 MB / 0.5344 GB, free: 7.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4814, allocations: 10.41 kB / 0.5344 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003153/0.4846, allocations: 1.231 MB / 0.5356 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.4958, allocations: 2.693 MB / 0.5382 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.5068, allocations: 4.574 MB / 0.5427 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004761/0.5074, allocations: 444.9 kB / 0.5431 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003411/0.5108, allocations: 0.5633 MB / 0.5436 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04916/0.56, allocations: 20.26 MB / 0.5634 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003604/0.5604, allocations: 82.41 kB / 0.5635 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002277/0.5627, allocations: 274.7 kB / 0.5638 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006189/0.5689, allocations: 3.335 MB / 0.567 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04293/0.6118, allocations: 16.29 MB / 0.5829 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09677/0.7087, allocations: 65.31 MB / 0.6467 GB, free: 9.422 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01831/0.727, allocations: 6.29 MB / 0.6528 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/0.7305, allocations: 2.046 MB / 0.6548 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01607/0.7466, allocations: 9.133 MB / 0.6638 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.7467, allocations: 60.56 kB / 0.6638 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=257): time 6.713e-06/0.7467, allocations: 4 kB / 0.6638 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=291): time 0.0591/0.8058, allocations: 21.31 MB / 0.6846 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.806, allocations: 161.9 kB / 0.6848 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008894/0.8149, allocations: 5.863 MB / 0.6905 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004952/0.8154, allocations: 69.7 kB / 0.6906 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003578/0.819, allocations: 4.957 MB / 0.6954 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001662/0.8207, allocations: 1.116 MB / 0.6965 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002849/0.8235, allocations: 1.825 MB / 0.6983 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.8236, allocations: 301.1 kB / 0.6986 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004523/0.8282, allocations: 2.599 MB / 0.7011 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2262/1.054, allocations: 8.206 MB / 0.7091 GB, free: 177 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/1.069, allocations: 11.78 MB / 0.7206 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004162/1.069, allocations: 57.12 kB / 0.7207 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.02312/1.093, allocations: 10.51 MB / 0.731 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001902/1.093, allocations: 94.16 kB / 0.731 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002798/1.093, allocations: 197.8 kB / 0.7312 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/1.093, allocations: 264.4 kB / 0.7315 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007792/1.101, allocations: 2.19 MB / 0.7336 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006093/1.102, allocations: 400.3 kB / 0.734 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008289/1.11, allocations: 442.6 kB / 0.7344 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002167/1.112, allocations: 0.5469 MB / 0.735 GB, free: 162.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1180): * Single equations (assignments): 1177 * 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.009314/1.122, allocations: 3.23 MB / 0.7381 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/1.123, allocations: 0.5202 MB / 0.7386 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00649/1.13, allocations: 2.965 MB / 0.7415 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-05/1.13, allocations: 30.06 kB / 0.7415 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.13, allocations: 1.188 kB / 0.7415 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.825e-05/1.13, allocations: 17.62 kB / 0.7416 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02632/1.156, allocations: 12.45 MB / 0.7537 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-05/1.156, allocations: 28 kB / 0.7537 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/1.158, allocations: 0.5341 MB / 0.7543 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-05/1.159, allocations: 44 kB / 0.7543 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002798/1.159, allocations: 103.4 kB / 0.7544 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.271e-05/1.159, allocations: 63.5 kB / 0.7545 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.005e-05/1.159, allocations: 47.81 kB / 0.7545 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006406/1.165, allocations: 5.538 MB / 0.7599 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/1.167, allocations: 0.5897 MB / 0.7605 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001415/1.168, allocations: 100.2 kB / 0.7606 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002974/1.171, allocations: 124 kB / 0.7607 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004386/1.172, allocations: 275.9 kB / 0.761 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/1.172, allocations: 115.8 kB / 0.7611 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007244/1.179, allocations: 3.639 MB / 0.7646 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.02e-07/1.179, allocations: 0 / 0.7646 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009682/1.189, allocations: 1.462 MB / 0.7661 GB, free: 138.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (275): * Single equations (assignments): 272 * 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.007276/1.196, allocations: 6.261 MB / 0.7722 GB, free: 132 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.207, allocations: 6.534 MB / 0.7786 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.982e-05/1.207, allocations: 4 kB / 0.7786 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/1.209, allocations: 1.345 MB / 0.7799 GB, free: 125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005472/1.215, allocations: 0.7794 MB / 0.7806 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08965/1.304, allocations: 82.24 MB / 0.861 GB, free: 28.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005461/1.31, allocations: 4.892 MB / 0.8657 GB, free: 23.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006067/1.316, allocations: 2.607 MB / 0.8683 GB, free: 21.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003483/1.319, allocations: 3.284 MB / 0.8715 GB, free: 17.89 MB / 0.5294 GB Notification: Performance of SimCode: time 1.162e-06/1.319, allocations: 0 / 0.8715 GB, free: 17.89 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3837/1.703, allocations: 100.1 MB / 0.9692 GB, free: 148.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.65, allocations: 3.562 kB / 0.9692 GB, free: 148.3 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches