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.0015/0.0015, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001695/0.001695, allocations: 216.4 kB / 23.01 MB, free: 5.125 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.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.702/0.702, allocations: 94.57 MB / 407.8 MB, free: 9.188 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.002432/0.002432, allocations: 89.06 kB / 0.5562 GB, free: 38.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1152, allocations: 73.06 MB / 0.6275 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4966/0.6119, allocations: 203.1 MB / 0.8259 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.6266, allocations: 15.23 MB / 0.8407 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.6276, allocations: 63.41 kB / 0.8408 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.6291, allocations: 0.5106 MB / 0.8413 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003859/0.633, allocations: 1.388 MB / 0.8426 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.6367, allocations: 1.498 MB / 0.8441 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002058/0.6388, allocations: 1.409 MB / 0.8455 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.6392, allocations: 166.6 kB / 0.8456 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.6416, allocations: 1.133 MB / 0.8467 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008603/0.6425, allocations: 0.5129 MB / 0.8472 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.6427, allocations: 82.88 kB / 0.8473 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005334/0.648, allocations: 2.71 MB / 0.85 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.6483, allocations: 213.8 kB / 0.8502 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007211/0.649, allocations: 0.5039 MB / 0.8507 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004176/0.6532, allocations: 1.989 MB / 0.8526 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6532, allocations: 0 / 0.8526 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6532, allocations: 3.938 kB / 0.8526 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.202e-05/0.6533, allocations: 0 / 0.8526 GB, free: 1.32 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.003131/0.6564, allocations: 1.528 MB / 0.8541 GB, free: 216 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.6564, allocations: 7.969 kB / 0.8541 GB, free: 216 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.6581, allocations: 247.3 kB / 0.8543 GB, free: 88 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.6596, allocations: 0.7134 MB / 0.855 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.6599, allocations: 261 kB / 0.8553 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.66, allocations: 76.3 kB / 0.8554 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.6616, allocations: 0.8323 MB / 0.8562 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.6616, allocations: 3.938 kB / 0.8562 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.6616, allocations: 31.97 kB / 0.8562 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.6617, allocations: 21.25 kB / 0.8562 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.663, allocations: 0.6555 MB / 0.8569 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.004315/0.6673, allocations: 2.906 MB / 0.8597 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.6687, allocations: 0.5676 MB / 0.8603 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.6693, allocations: 328.6 kB / 0.8606 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.6696, allocations: 83.86 kB / 0.8607 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.6697, allocations: 35.06 kB / 0.8607 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 2.364e-06/0.6697, allocations: 0 / 0.8607 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.00454/0.6742, allocations: 1.451 MB / 0.8621 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.6742, allocations: 67.91 kB / 0.8622 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008866/0.6751, allocations: 0.681 MB / 0.8628 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.6752, allocations: 33.7 kB / 0.8629 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.6755, allocations: 456.7 kB / 0.8633 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.6757, allocations: 207.9 kB / 0.8635 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.6759, allocations: 118.3 kB / 0.8636 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6761, allocations: 325.9 kB / 0.8639 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.6767, allocations: 261.1 kB / 0.8642 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/0.6774, allocations: 313.2 kB / 0.8645 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.6786, allocations: 0.538 MB / 0.865 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.6786, allocations: 0 / 0.865 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002781/0.6814, allocations: 1.034 MB / 0.866 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6814, allocations: 4 kB / 0.866 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6814, allocations: 4 kB / 0.866 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007798/0.6822, allocations: 230.4 kB / 0.8662 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/0.6829, allocations: 151.8 kB / 0.8664 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005843/0.6888, allocations: 4.795 MB / 0.8711 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.6894, allocations: 75.56 kB / 0.8711 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.6895, allocations: 35.98 kB / 0.8712 GB, free: 180 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.0004006/0.6899, allocations: 207.3 kB / 0.8714 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.6902, allocations: 91.39 kB / 0.8715 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003409/0.6936, allocations: 1.387 MB / 0.8728 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.6936, allocations: 11.94 kB / 0.8728 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.6936, allocations: 3.938 kB / 0.8728 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.6936, allocations: 11.98 kB / 0.8728 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/0.698, allocations: 1.975 MB / 0.8748 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.6981, allocations: 0 / 0.8748 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.6988, allocations: 136 kB / 0.8749 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007336/0.6995, allocations: 238.3 kB / 0.8751 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/0.6996, allocations: 27.92 kB / 0.8752 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005826/0.7054, allocations: 4.797 MB / 0.8798 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7054, allocations: 4 kB / 0.8798 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003496/0.7089, allocations: 1.397 MB / 0.8812 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.7093, allocations: 139.2 kB / 0.8813 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.7095, allocations: 23.88 kB / 0.8814 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.71, allocations: 35.95 kB / 0.8814 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.7102, allocations: 56.72 kB / 0.8814 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/0.7102, allocations: 31.98 kB / 0.8815 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006585/0.7109, allocations: 495 kB / 0.8819 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.7109, allocations: 0 / 0.8819 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0012/0.7121, allocations: 403 kB / 0.8823 GB, free: 4.266 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.001004/0.7131, allocations: 0.5143 MB / 0.8828 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.7155, allocations: 1.041 MB / 0.8839 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7155, allocations: 0 / 0.8839 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.7171, allocations: 0.7663 MB / 0.8846 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.7182, allocations: 223.6 kB / 0.8848 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.7218, allocations: 1.884 MB / 0.8867 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.7224, allocations: 0.9932 MB / 0.8876 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.7229, allocations: 139.3 kB / 0.8878 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/0.7229, allocations: 0 / 0.8878 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of Templates: time 0.03421/0.7571, allocations: 26.96 MB / 0.9141 GB, free: 3.68 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/jenkins1/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: 10.628541994141415]