Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.002025/0.002025, allocations: 78.72 kB / 19.18 MB, free: 2.527 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.002512/0.002512, allocations: 168.7 kB / 22.46 MB, free: 5.363 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.414/1.414, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7464/0.7464, allocations: 80.19 MB / 339.4 MB, free: 10.87 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.4929 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.029e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.2097/0.2097, allocations: 179.9 MB / 0.6685 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0145/0.2242, allocations: 10.11 MB / 0.6784 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000994/0.2252, allocations: 67.38 kB / 0.6785 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.2268, allocations: 480.3 kB / 0.6789 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004417/0.2312, allocations: 1.472 MB / 0.6804 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004407/0.2356, allocations: 1.411 MB / 0.6817 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002513/0.2381, allocations: 1.579 MB / 0.6833 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005666/0.2387, allocations: 169.2 kB / 0.6834 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/0.2424, allocations: 1.418 MB / 0.6848 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000892/0.2433, allocations: 398.7 kB / 0.6852 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.2435, allocations: 76 kB / 0.6853 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/0.2491, allocations: 2.444 MB / 0.6877 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.2494, allocations: 207 kB / 0.6879 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007214/0.2502, allocations: 359 kB / 0.6882 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004582/0.2548, allocations: 2.006 MB / 0.6902 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2548, allocations: 0 / 0.6902 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2548, allocations: 0 / 0.6902 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.174e-05/0.2548, allocations: 3.938 kB / 0.6902 GB, free: 4.883 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003255/0.258, allocations: 1.523 MB / 0.6917 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2581, allocations: 12.03 kB / 0.6917 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.26, allocations: 255 kB / 0.6919 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.2616, allocations: 0.7388 MB / 0.6926 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.2619, allocations: 291.6 kB / 0.6929 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.262, allocations: 75.94 kB / 0.693 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.2637, allocations: 0.808 MB / 0.6938 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.2638, allocations: 0 / 0.6938 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.2638, allocations: 32 kB / 0.6938 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.2639, allocations: 16 kB / 0.6938 GB, free: 1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.2655, allocations: 0.6948 MB / 0.6945 GB, free: 316 kB / 0.5919 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.2201/0.4857, allocations: 2.021 MB / 0.6965 GB, free: 183 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.4872, allocations: 0.5475 MB / 0.697 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007057/0.4879, allocations: 303.2 kB / 0.6973 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.4882, allocations: 79.12 kB / 0.6974 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.4882, allocations: 41.66 kB / 0.6974 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 3.947e-06/0.4882, allocations: 0 / 0.6974 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.005195/0.4934, allocations: 1.475 MB / 0.6989 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.4935, allocations: 61.34 kB / 0.6989 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000858/0.4943, allocations: 0.6449 MB / 0.6995 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.4944, allocations: 36.55 kB / 0.6996 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.4946, allocations: 467.7 kB / 0.7 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.4948, allocations: 216.4 kB / 0.7002 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.495, allocations: 108.8 kB / 0.7003 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.495, allocations: 329.9 kB / 0.7006 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/0.4956, allocations: 236.4 kB / 0.7009 GB, free: 181 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.4961, allocations: 303.5 kB / 0.7012 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.4972, allocations: 0.5283 MB / 0.7017 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4972, allocations: 3.938 kB / 0.7017 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00226/0.4994, allocations: 0.94 MB / 0.7026 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4994, allocations: 8.812 kB / 0.7026 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4995, allocations: 2.562 kB / 0.7026 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007325/0.5002, allocations: 218.3 kB / 0.7028 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.5007, allocations: 120.6 kB / 0.7029 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/0.5053, allocations: 4.701 MB / 0.7075 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/0.5059, allocations: 68.77 kB / 0.7076 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.184e-05/0.506, allocations: 34.78 kB / 0.7076 GB, free: 176.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (59): * Single equations (assignments): 56 * 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 {(2,2,100.0%), (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.0003457/0.5063, allocations: 205.4 kB / 0.7078 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.5065, allocations: 89.53 kB / 0.7079 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.5093, allocations: 1.3 MB / 0.7092 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.5093, allocations: 8.906 kB / 0.7092 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5093, allocations: 2.906 kB / 0.7092 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.5093, allocations: 0 / 0.7092 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.5127, allocations: 1.641 MB / 0.7108 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5128, allocations: 2.625 kB / 0.7108 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.5132, allocations: 106.4 kB / 0.7109 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006484/0.5139, allocations: 227.5 kB / 0.7111 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.5139, allocations: 22.84 kB / 0.7111 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004254/0.5182, allocations: 4.652 MB / 0.7157 GB, free: 170.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5182, allocations: 0 / 0.7157 GB, free: 170.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/0.5211, allocations: 1.332 MB / 0.717 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.5214, allocations: 131.2 kB / 0.7171 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.5215, allocations: 17.19 kB / 0.7171 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/0.522, allocations: 43.12 kB / 0.7172 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.5222, allocations: 55.84 kB / 0.7172 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.5222, allocations: 31.22 kB / 0.7172 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005656/0.5228, allocations: 459.2 kB / 0.7177 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5228, allocations: 0 / 0.7177 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00115/0.5239, allocations: 385.1 kB / 0.718 GB, free: 169.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (51): * Single equations (assignments): 48 * 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 {(2,2,100.0%), (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.0008443/0.5248, allocations: 490.9 kB / 0.7185 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002168/0.527, allocations: 1.012 MB / 0.7195 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.527, allocations: 1.5 kB / 0.7195 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.5281, allocations: 0.7088 MB / 0.7202 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.5296, allocations: 279.7 kB / 0.7205 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.5329, allocations: 1.729 MB / 0.7222 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.5333, allocations: 414 kB / 0.7225 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009757/0.5343, allocations: 446.4 kB / 0.723 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.5346, allocations: 110.1 kB / 0.7231 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.5346, allocations: 0 / 0.7231 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.03221/0.5669, allocations: 17.4 MB / 0.7401 GB, free: 162.3 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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: 6.2938035652041435]