Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.00129/0.00129, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001384/0.001384, allocations: 156 kB / 23 MB, free: 4.605 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.443/1.443, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.783/0.783, allocations: 74.91 MB / 334.7 MB, free: 15.56 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002581/0.002581, allocations: 77.62 kB / 496.4 MB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1543, allocations: 73.04 MB / 0.5561 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.665/0.8193, allocations: 187.2 MB / 0.7389 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.8359, allocations: 15.86 MB / 0.7544 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.8373, allocations: 74.94 kB / 0.7544 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.8389, allocations: 0.544 MB / 0.755 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005422/0.8443, allocations: 1.791 MB / 0.7567 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004643/0.8489, allocations: 1.676 MB / 0.7584 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002446/0.8514, allocations: 1.731 MB / 0.76 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.8518, allocations: 179 kB / 0.7602 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.8542, allocations: 1.264 MB / 0.7615 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/0.8549, allocations: 0.5817 MB / 0.762 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.855, allocations: 92.81 kB / 0.7621 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00625/0.8612, allocations: 3.331 MB / 0.7654 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.8615, allocations: 255.7 kB / 0.7656 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.862, allocations: 0.4938 MB / 0.7661 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004156/0.8662, allocations: 2.382 MB / 0.7684 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8662, allocations: 0 / 0.7684 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.31e-07/0.8662, allocations: 0.8125 kB / 0.7684 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.8662, allocations: 0 / 0.7684 GB, free: 1.926 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003414/0.8696, allocations: 1.823 MB / 0.7702 GB, free: 16.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.8696, allocations: 8.406 kB / 0.7702 GB, free: 16.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.8717, allocations: 302.8 kB / 0.7705 GB, free: 16.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.8733, allocations: 0.8459 MB / 0.7713 GB, free: 16.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.8736, allocations: 275.9 kB / 0.7716 GB, free: 16.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.8737, allocations: 97.41 kB / 0.7717 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.8755, allocations: 1.019 MB / 0.7727 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.8755, allocations: 0 / 0.7727 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.8756, allocations: 37.47 kB / 0.7727 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.8756, allocations: 25.58 kB / 0.7727 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.8772, allocations: 0.7864 MB / 0.7735 GB, free: 15.3 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004494/0.8817, allocations: 2.624 MB / 0.7761 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.8836, allocations: 0.8136 MB / 0.7769 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007785/0.8844, allocations: 404.7 kB / 0.7772 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003377/0.8847, allocations: 105.1 kB / 0.7773 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.8847, allocations: 45.02 kB / 0.7774 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.094e-06/0.8847, allocations: 0 / 0.7774 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.00513/0.8899, allocations: 1.703 MB / 0.779 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.8899, allocations: 62.62 kB / 0.7791 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009734/0.8909, allocations: 0.7301 MB / 0.7798 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/0.8909, allocations: 37.7 kB / 0.7799 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000455/0.8914, allocations: 0.531 MB / 0.7804 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.8917, allocations: 287.1 kB / 0.7806 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.8919, allocations: 157.4 kB / 0.7808 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.8921, allocations: 338.5 kB / 0.7811 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006995/0.8928, allocations: 311.6 kB / 0.7814 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007655/0.8936, allocations: 394.8 kB / 0.7818 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.895, allocations: 0.6905 MB / 0.7825 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.895, allocations: 0 / 0.7825 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00317/0.8982, allocations: 1.232 MB / 0.7837 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8982, allocations: 9.125 kB / 0.7837 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8982, allocations: 6.172 kB / 0.7837 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008172/0.8991, allocations: 245.6 kB / 0.7839 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009014/0.9, allocations: 206 kB / 0.7841 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006355/0.9063, allocations: 4.829 MB / 0.7888 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/0.9071, allocations: 79.8 kB / 0.7889 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.9072, allocations: 54.14 kB / 0.789 GB, free: 5.016 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005796/0.9078, allocations: 232.1 kB / 0.7892 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.908, allocations: 108.1 kB / 0.7893 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/0.9124, allocations: 1.817 MB / 0.7911 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.9124, allocations: 7.438 kB / 0.7911 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.9124, allocations: 3.094 kB / 0.7911 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.9124, allocations: 3.984 kB / 0.7911 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004843/0.9173, allocations: 2.165 MB / 0.7932 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9173, allocations: 2.938 kB / 0.7932 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009178/0.9182, allocations: 185.8 kB / 0.7934 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007415/0.9189, allocations: 257.1 kB / 0.7936 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/0.919, allocations: 39.03 kB / 0.7937 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006307/0.9253, allocations: 4.817 MB / 0.7984 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9253, allocations: 3.438 kB / 0.7984 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/0.9296, allocations: 1.73 MB / 0.8 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005282/0.9302, allocations: 179 kB / 0.8002 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.9303, allocations: 20 kB / 0.8002 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/0.9308, allocations: 43.97 kB / 0.8003 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.931, allocations: 80.45 kB / 0.8004 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.965e-05/0.9311, allocations: 44.3 kB / 0.8004 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008143/0.9319, allocations: 0.5116 MB / 0.8009 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.9319, allocations: 0 / 0.8009 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001791/0.9337, allocations: 486.8 kB / 0.8014 GB, free: 11.2 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/0.9348, allocations: 0.5797 MB / 0.8019 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002872/0.9377, allocations: 1.205 MB / 0.8031 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9377, allocations: 7.938 kB / 0.8031 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.9395, allocations: 0.8785 MB / 0.804 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.9407, allocations: 232.4 kB / 0.8042 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.9454, allocations: 2.361 MB / 0.8065 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.946, allocations: 0.4948 MB / 0.807 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001388/0.9474, allocations: 0.6291 MB / 0.8076 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.9478, allocations: 144.4 kB / 0.8077 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of SimCode: time 7.41e-07/0.9478, allocations: 0 / 0.8077 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of Templates: time 0.03885/0.9867, allocations: 19.43 MB / 0.8267 GB, free: 1.449 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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: 7.061739468947053]