Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.00203/0.00203, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.002589/0.002589, allocations: 212.3 kB / 22.25 MB, free: 5.211 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.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.8381/0.8381, allocations: 94.57 MB / 407 MB, free: 9.195 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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") [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.003838/0.003838, allocations: 86.3 kB / 0.5554 GB, free: 38.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1412, allocations: 73.05 MB / 0.6268 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5683/0.7095, allocations: 203.1 MB / 0.8251 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.7253, allocations: 15.23 MB / 0.84 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.7265, allocations: 65.03 kB / 0.84 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.728, allocations: 0.523 MB / 0.8405 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.732, allocations: 1.378 MB / 0.8419 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.7359, allocations: 1.504 MB / 0.8434 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.7382, allocations: 1.4 MB / 0.8447 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.7386, allocations: 169.3 kB / 0.8449 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.741, allocations: 1.133 MB / 0.846 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000733/0.7418, allocations: 0.5141 MB / 0.8465 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.7419, allocations: 78.38 kB / 0.8466 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005427/0.7473, allocations: 2.724 MB / 0.8492 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003064/0.7476, allocations: 203.4 kB / 0.8494 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006314/0.7482, allocations: 0.5029 MB / 0.8499 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004282/0.7525, allocations: 1.993 MB / 0.8519 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7525, allocations: 0 / 0.8519 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7525, allocations: 0 / 0.8519 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.7525, allocations: 2.562 kB / 0.8519 GB, free: 1.312 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003157/0.7557, allocations: 1.525 MB / 0.8533 GB, free: 208 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.7557, allocations: 14.38 kB / 0.8534 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.7575, allocations: 250.7 kB / 0.8536 GB, free: 72 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.759, allocations: 0.7068 MB / 0.8543 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/0.7593, allocations: 255.6 kB / 0.8545 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.7595, allocations: 84.12 kB / 0.8546 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.7611, allocations: 0.8279 MB / 0.8554 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.7611, allocations: 0 / 0.8554 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.7612, allocations: 28.72 kB / 0.8555 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.7612, allocations: 18.38 kB / 0.8555 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.7627, allocations: 0.6613 MB / 0.8561 GB, free: 14.44 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.004695/0.7674, allocations: 2.907 MB / 0.859 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.7688, allocations: 0.5618 MB / 0.8595 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/0.7695, allocations: 326.4 kB / 0.8598 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/0.7698, allocations: 80.58 kB / 0.8599 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.7698, allocations: 35.06 kB / 0.8599 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 2.434e-06/0.7699, allocations: 4 kB / 0.8599 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.005154/0.775, allocations: 1.455 MB / 0.8613 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.7751, allocations: 59.91 kB / 0.8614 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.7761, allocations: 0.6887 MB / 0.8621 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.7761, allocations: 33.7 kB / 0.8621 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.7765, allocations: 452.7 kB / 0.8625 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.7767, allocations: 207.5 kB / 0.8627 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.777, allocations: 118.3 kB / 0.8629 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.7771, allocations: 330 kB / 0.8632 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006736/0.7778, allocations: 257.1 kB / 0.8634 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.7785, allocations: 305.6 kB / 0.8637 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.7799, allocations: 0.5496 MB / 0.8642 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7799, allocations: 0 / 0.8642 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003098/0.783, allocations: 1.026 MB / 0.8652 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.783, allocations: 6.031 kB / 0.8652 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.7831, allocations: 7.984 kB / 0.8653 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009474/0.784, allocations: 238.3 kB / 0.8655 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008403/0.7848, allocations: 143.8 kB / 0.8656 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006668/0.7915, allocations: 4.8 MB / 0.8703 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007774/0.7923, allocations: 71.58 kB / 0.8704 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.85e-05/0.7924, allocations: 39.98 kB / 0.8704 GB, free: 164 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004164/0.7928, allocations: 201.7 kB / 0.8706 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.793, allocations: 91.39 kB / 0.8707 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00384/0.7968, allocations: 1.398 MB / 0.8721 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.7968, allocations: 11.94 kB / 0.8721 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7969, allocations: 0 / 0.8721 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.7969, allocations: 7.984 kB / 0.8721 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/0.8017, allocations: 1.972 MB / 0.874 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.8017, allocations: 0 / 0.874 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.8025, allocations: 140 kB / 0.8741 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007953/0.8033, allocations: 242.3 kB / 0.8744 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.8033, allocations: 27.92 kB / 0.8744 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006495/0.8098, allocations: 4.791 MB / 0.8791 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8098, allocations: 0 / 0.8791 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.8136, allocations: 1.404 MB / 0.8804 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.8141, allocations: 143.2 kB / 0.8806 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.8142, allocations: 15.94 kB / 0.8806 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/0.8147, allocations: 43.95 kB / 0.8806 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.8149, allocations: 52.34 kB / 0.8807 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.051e-05/0.815, allocations: 31.98 kB / 0.8807 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007276/0.8157, allocations: 495 kB / 0.8812 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8157, allocations: 0 / 0.8812 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00134/0.817, allocations: 403 kB / 0.8816 GB, free: 4.254 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/0.8181, allocations: 0.5153 MB / 0.8821 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002556/0.8206, allocations: 1.037 MB / 0.8831 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.8206, allocations: 0 / 0.8831 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.8223, allocations: 0.7701 MB / 0.8838 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.8235, allocations: 216.8 kB / 0.884 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.8272, allocations: 1.857 MB / 0.8859 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/0.8279, allocations: 0.9932 MB / 0.8868 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001035/0.829, allocations: 447.2 kB / 0.8873 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.8293, allocations: 115.3 kB / 0.8874 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of SimCode: time 8.91e-07/0.8293, allocations: 7.938 kB / 0.8874 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.03411/0.8634, allocations: 17.15 MB / 0.9041 GB, free: 13.23 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.198711617384106]