Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 213.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2184/0.2184, allocations: 46.93 MB / 360.9 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.89 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3524, allocations: 66.04 MB / 0.5607 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004455/0.3568, allocations: 2.713 MB / 0.5634 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.3595, allocations: 1.495 MB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.3597, allocations: 0 / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.36, allocations: 115.2 kB / 0.5649 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.3605, allocations: 146.9 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006193/0.3611, allocations: 263.1 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.3615, allocations: 282.1 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.033e-05/0.3615, allocations: 12.94 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.3617, allocations: 99.34 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.3619, allocations: 131.2 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.3619, allocations: 8 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.363, allocations: 0.6086 MB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.993e-05/0.3631, allocations: 47.59 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.3632, allocations: 131 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007758/0.364, allocations: 0.5638 MB / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.364, allocations: 0 / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.364, allocations: 0 / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.364, allocations: 0 / 0.5671 GB, free: 13.85 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008791/0.3649, allocations: 0.5674 MB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3649, allocations: 12.03 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.241e-05/0.365, allocations: 70.72 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.3651, allocations: 40.7 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3653, allocations: 194.1 kB / 0.568 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3654, allocations: 25.38 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.3654, allocations: 39.94 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.3662, allocations: 0.584 MB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.3662, allocations: 11.94 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.3662, allocations: 20 kB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.3663, allocations: 12 kB / 0.5687 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.3668, allocations: 337.1 kB / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.3699, allocations: 4.027 MB / 0.5729 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.3701, allocations: 90.45 kB / 0.573 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.3703, allocations: 36.97 kB / 0.573 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3703, allocations: 3.984 kB / 0.573 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.3703, allocations: 42.5 kB / 0.5731 GB, free: 7.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.3703, allocations: 0 / 0.5731 GB, free: 7.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005364/0.3709, allocations: 157.4 kB / 0.5732 GB, free: 7.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3709, allocations: 55.41 kB / 0.5733 GB, free: 7.109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.3714, allocations: 413.8 kB / 0.5737 GB, free: 6.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3714, allocations: 29.7 kB / 0.5737 GB, free: 6.664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3716, allocations: 259.5 kB / 0.574 GB, free: 6.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.3716, allocations: 31.78 kB / 0.574 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3717, allocations: 69.97 kB / 0.5741 GB, free: 6.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3719, allocations: 350.7 kB / 0.5744 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3721, allocations: 56.61 kB / 0.5744 GB, free: 5.891 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.3724, allocations: 266.4 kB / 0.5747 GB, free: 5.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.3729, allocations: 347.9 kB / 0.575 GB, free: 5.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3729, allocations: 4 kB / 0.575 GB, free: 5.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000628/0.3735, allocations: 356.9 kB / 0.5754 GB, free: 4.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3736, allocations: 8 kB / 0.5754 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3736, allocations: 12.33 kB / 0.5754 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.3736, allocations: 8 kB / 0.5754 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.3741, allocations: 108.6 kB / 0.5755 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000899/0.375, allocations: 1.227 MB / 0.5767 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.3753, allocations: 59.52 kB / 0.5768 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.3753, allocations: 20 kB / 0.5768 GB, free: 3.242 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.3755, allocations: 161.8 kB / 0.5769 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.3755, allocations: 39.7 kB / 0.577 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/0.376, allocations: 172.9 kB / 0.5771 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.376, allocations: 0 / 0.5771 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.376, allocations: 0 / 0.5771 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.376, allocations: 4 kB / 0.5771 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.3763, allocations: 252.4 kB / 0.5774 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3763, allocations: 0 / 0.5774 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.3766, allocations: 51.97 kB / 0.5774 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3766, allocations: 7.938 kB / 0.5774 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3766, allocations: 0 / 0.5774 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000818/0.3774, allocations: 1.203 MB / 0.5786 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3774, allocations: 0 / 0.5786 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.3778, allocations: 243.4 kB / 0.5788 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.3778, allocations: 39.75 kB / 0.5789 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.3779, allocations: 3.938 kB / 0.5789 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.378, allocations: 4 kB / 0.5789 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.3781, allocations: 7.984 kB / 0.5789 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.3781, allocations: 4 kB / 0.5789 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002983/0.3784, allocations: 279.1 kB / 0.5792 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3784, allocations: 3.938 kB / 0.5792 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005259/0.3789, allocations: 123.8 kB / 0.5793 GB, free: 0.5547 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.38, allocations: 0.8525 MB / 0.5801 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000748/0.3808, allocations: 200.7 kB / 0.5803 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3808, allocations: 0 / 0.5803 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.3812, allocations: 71.95 kB / 0.5804 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.3818, allocations: 40.52 kB / 0.5804 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.3862, allocations: 3.406 MB / 0.5838 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.3867, allocations: 0.7716 MB / 0.5845 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.3869, allocations: 38.89 kB / 0.5845 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.387, allocations: 103.4 kB / 0.5846 GB, free: 10.75 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.387, allocations: 0 / 0.5846 GB, free: 10.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.427, allocations: 10.32 MB / 0.5947 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.22, allocations: 4 kB / 0.5947 GB, free: 0.6172 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.174865019973367]