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.001583/0.001583, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002046/0.002046, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.797 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.7625/0.7625, allocations: 94.62 MB / 407 MB, free: 8.879 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.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: 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.002877/0.002877, allocations: 85.61 kB / 0.5554 GB, free: 38.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1302, allocations: 73.05 MB / 0.6268 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5558/0.686, allocations: 176 MB / 0.7986 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.6995, allocations: 13.51 MB / 0.8118 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.7006, allocations: 64.25 kB / 0.8118 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.702, allocations: 466.8 kB / 0.8123 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003586/0.7056, allocations: 1.369 MB / 0.8136 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004584/0.7102, allocations: 1.401 MB / 0.815 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002193/0.7124, allocations: 1.396 MB / 0.8164 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.7129, allocations: 161.2 kB / 0.8165 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/0.7155, allocations: 1.142 MB / 0.8176 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005982/0.7161, allocations: 466.3 kB / 0.8181 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.7162, allocations: 78.88 kB / 0.8181 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004764/0.721, allocations: 2.448 MB / 0.8205 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.7213, allocations: 204.8 kB / 0.8207 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007034/0.722, allocations: 418.9 kB / 0.8211 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004325/0.7263, allocations: 1.89 MB / 0.823 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7263, allocations: 0.6875 kB / 0.823 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7263, allocations: 0 / 0.823 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.7264, allocations: 4 kB / 0.823 GB, free: 0.8945 MB / 0.5762 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.002822/0.7292, allocations: 1.504 MB / 0.8245 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.7292, allocations: 9.062 kB / 0.8245 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.731, allocations: 266 kB / 0.8247 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.7331, allocations: 0.6986 MB / 0.8254 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/0.7334, allocations: 262.6 kB / 0.8256 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.7336, allocations: 78.05 kB / 0.8257 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.7354, allocations: 0.8227 MB / 0.8265 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.7354, allocations: 0 / 0.8265 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.7355, allocations: 29.75 kB / 0.8266 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.7355, allocations: 16.75 kB / 0.8266 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.737, allocations: 0.6425 MB / 0.8272 GB, free: 14.66 MB / 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.004087/0.7411, allocations: 1.939 MB / 0.8291 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.7424, allocations: 0.5481 MB / 0.8296 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006745/0.7431, allocations: 317.1 kB / 0.8299 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.7433, allocations: 80.39 kB / 0.83 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.7434, allocations: 40.56 kB / 0.83 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.856e-06/0.7434, allocations: 0 / 0.83 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.00472/0.7481, allocations: 1.431 MB / 0.8314 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.7481, allocations: 61.16 kB / 0.8315 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008998/0.749, allocations: 0.6153 MB / 0.8321 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.7492, allocations: 36.7 kB / 0.8321 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.7495, allocations: 450 kB / 0.8326 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.7497, allocations: 214.1 kB / 0.8328 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.7499, allocations: 105.5 kB / 0.8329 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.7501, allocations: 332.2 kB / 0.8332 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.7507, allocations: 246 kB / 0.8334 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006724/0.7514, allocations: 312.5 kB / 0.8337 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.7527, allocations: 0.5483 MB / 0.8343 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.7527, allocations: 0 / 0.8343 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002884/0.7556, allocations: 1.008 MB / 0.8352 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.7556, allocations: 10.81 kB / 0.8353 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7556, allocations: 0 / 0.8353 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009141/0.7565, allocations: 236.2 kB / 0.8355 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000747/0.7573, allocations: 143.7 kB / 0.8356 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006083/0.7633, allocations: 4.709 MB / 0.8402 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/0.764, allocations: 68.47 kB / 0.8403 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.7641, allocations: 39.23 kB / 0.8403 GB, free: 5.699 MB / 0.5919 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 (57): * Single equations (assignments): 54 * 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.0004175/0.7645, allocations: 196.3 kB / 0.8405 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.7648, allocations: 88.78 kB / 0.8406 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/0.7682, allocations: 1.382 MB / 0.8419 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.7682, allocations: 8.406 kB / 0.8419 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.7682, allocations: 0 / 0.8419 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.7682, allocations: 11.11 kB / 0.842 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/0.7726, allocations: 1.772 MB / 0.8437 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.7726, allocations: 3.984 kB / 0.8437 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/0.7733, allocations: 129.7 kB / 0.8438 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007384/0.774, allocations: 242.9 kB / 0.844 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/0.7741, allocations: 24.92 kB / 0.8441 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00583/0.7799, allocations: 4.697 MB / 0.8487 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7799, allocations: 2.188 kB / 0.8487 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/0.7834, allocations: 1.388 MB / 0.85 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/0.7838, allocations: 133.6 kB / 0.8501 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.7839, allocations: 13.59 kB / 0.8502 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.7844, allocations: 34.31 kB / 0.8502 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.7846, allocations: 52.91 kB / 0.8502 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/0.7847, allocations: 32.11 kB / 0.8503 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006397/0.7853, allocations: 449 kB / 0.8507 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7853, allocations: 4 kB / 0.8507 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001175/0.7865, allocations: 363.6 kB / 0.851 GB, free: 13.86 MB / 0.6075 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 {(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.000894/0.7874, allocations: 466.4 kB / 0.8515 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002536/0.7899, allocations: 1.026 MB / 0.8525 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.7899, allocations: 3.938 kB / 0.8525 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.7916, allocations: 0.7692 MB / 0.8532 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.7927, allocations: 188 kB / 0.8534 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.7963, allocations: 1.833 MB / 0.8552 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.7968, allocations: 416.5 kB / 0.8556 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001006/0.7978, allocations: 435.7 kB / 0.856 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.7981, allocations: 107.4 kB / 0.8561 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.7981, allocations: 0 / 0.8561 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of Templates: time 0.03038/0.8285, allocations: 16.69 MB / 0.8724 GB, free: 8.355 MB / 0.6231 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.859126180410385]