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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6343/0.6343, allocations: 90.29 MB / 394.8 MB, free: 3.848 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00239/0.00239, allocations: 79.86 kB / 0.5386 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4845, allocations: 70.82 MB / 0.6078 GB, free: 7.398 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.2783/0.7628, allocations: 202.8 MB / 0.8058 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02309/0.7859, allocations: 14.92 MB / 0.8204 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.7872, allocations: 23.88 kB / 0.8204 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.789, allocations: 0.5007 MB / 0.8209 GB, free: 368 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.7942, allocations: 1.267 MB / 0.8222 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006114/0.8003, allocations: 1.412 MB / 0.8235 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002688/0.803, allocations: 1.207 MB / 0.8247 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004614/0.8035, allocations: 172 kB / 0.8249 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.8064, allocations: 0.9995 MB / 0.8259 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008853/0.8073, allocations: 489.8 kB / 0.8263 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002257/0.8075, allocations: 80 kB / 0.8264 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006245/0.8138, allocations: 2.547 MB / 0.8289 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002931/0.8141, allocations: 191.2 kB / 0.8291 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007759/0.8149, allocations: 469.5 kB / 0.8295 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004226/0.8191, allocations: 1.74 MB / 0.8312 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8191, allocations: 3.938 kB / 0.8312 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8191, allocations: 0 / 0.8312 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.383e-05/0.8191, allocations: 0 / 0.8312 GB, free: 5.773 MB / 0.6544 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.00331/0.8224, allocations: 1.42 MB / 0.8326 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.8225, allocations: 15.97 kB / 0.8326 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.8243, allocations: 231.2 kB / 0.8328 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.8254, allocations: 0.5298 MB / 0.8334 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.8257, allocations: 180.7 kB / 0.8335 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.8259, allocations: 76 kB / 0.8336 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.8276, allocations: 0.8257 MB / 0.8344 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.8276, allocations: 0 / 0.8344 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.609e-05/0.8277, allocations: 32 kB / 0.8344 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.8277, allocations: 16 kB / 0.8345 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.8293, allocations: 0.6441 MB / 0.8351 GB, free: 1.68 MB / 0.6544 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.005062/0.8343, allocations: 3.19 MB / 0.8382 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.8357, allocations: 0.5598 MB / 0.8388 GB, free: 13.63 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007988/0.8365, allocations: 326.3 kB / 0.8391 GB, free: 13.31 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007171/0.8372, allocations: 0.8991 MB / 0.8399 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.8373, allocations: 43.12 kB / 0.84 GB, free: 12.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 2.024e-06/0.8373, allocations: 0 / 0.84 GB, free: 12.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.004842/0.8421, allocations: 1.663 MB / 0.8416 GB, free: 10.43 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.8422, allocations: 55.97 kB / 0.8417 GB, free: 10.36 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.8428, allocations: 0.4952 MB / 0.8421 GB, free: 9.855 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.8429, allocations: 37.7 kB / 0.8422 GB, free: 9.812 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.8432, allocations: 368.8 kB / 0.8425 GB, free: 9.445 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.8434, allocations: 214.2 kB / 0.8427 GB, free: 9.234 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.8436, allocations: 110.2 kB / 0.8428 GB, free: 9.121 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.8438, allocations: 370.8 kB / 0.8432 GB, free: 8.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.8445, allocations: 249 kB / 0.8434 GB, free: 8.504 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.8451, allocations: 264.9 kB / 0.8437 GB, free: 8.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.8464, allocations: 0.5233 MB / 0.8442 GB, free: 7.719 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8464, allocations: 0 / 0.8442 GB, free: 7.719 MB / 0.67 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00287/0.8493, allocations: 1 MB / 0.8452 GB, free: 6.703 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.8493, allocations: 5.562 kB / 0.8452 GB, free: 6.699 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.8493, allocations: 4 kB / 0.8452 GB, free: 6.695 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008624/0.8502, allocations: 230.3 kB / 0.8454 GB, free: 6.461 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.851, allocations: 147.8 kB / 0.8455 GB, free: 6.316 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00668/0.8577, allocations: 5.098 MB / 0.8505 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.8583, allocations: 67.69 kB / 0.8506 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.452e-05/0.8584, allocations: 39.92 kB / 0.8506 GB, free: 0.6914 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.0003655/0.8588, allocations: 197.7 kB / 0.8508 GB, free: 500 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.8589, allocations: 71.47 kB / 0.8509 GB, free: 428 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.8628, allocations: 1.392 MB / 0.8522 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.8628, allocations: 4 kB / 0.8522 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8628, allocations: 4 kB / 0.8522 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.8629, allocations: 7.922 kB / 0.8523 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/0.8676, allocations: 2.031 MB / 0.8542 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.8676, allocations: 0 / 0.8542 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/0.8684, allocations: 148 kB / 0.8544 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007695/0.8692, allocations: 234.3 kB / 0.8546 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.8692, allocations: 23.92 kB / 0.8546 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006393/0.8756, allocations: 5.121 MB / 0.8596 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8756, allocations: 0 / 0.8596 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.8792, allocations: 1.395 MB / 0.861 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.8796, allocations: 196.6 kB / 0.8612 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.8797, allocations: 23.97 kB / 0.8612 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/0.8802, allocations: 43.91 kB / 0.8612 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.8804, allocations: 48.5 kB / 0.8613 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/0.8805, allocations: 31.98 kB / 0.8613 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006031/0.8811, allocations: 374.8 kB / 0.8617 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8811, allocations: 0 / 0.8617 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001337/0.8825, allocations: 367.1 kB / 0.862 GB, free: 4.391 MB / 0.6856 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 (53): * Single equations (assignments): 50 * 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.001102/0.8836, allocations: 495 kB / 0.8625 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002662/0.8862, allocations: 1.042 MB / 0.8635 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.8862, allocations: 0 / 0.8635 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.8878, allocations: 0.7804 MB / 0.8643 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009546/0.8888, allocations: 192.1 kB / 0.8645 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.8922, allocations: 1.651 MB / 0.8661 GB, free: 136 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2837/1.176, allocations: 0.94 MB / 0.867 GB, free: 236.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001081/1.177, allocations: 419.2 kB / 0.8674 GB, free: 236.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/1.177, allocations: 104.8 kB / 0.8675 GB, free: 236.7 MB / 0.6856 GB Notification: Performance of SimCode: time 1.492e-06/1.177, allocations: 0 / 0.8675 GB, free: 236.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.03089/1.208, allocations: 15.87 MB / 0.883 GB, free: 233.7 MB / 0.6856 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: 7.1128561813384295]