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.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.001272/0.001272, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00129/0.00129, allocations: 186 kB / 20.78 MB, free: 1.547 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.419/1.419, allocations: 225.6 MB / 249.4 MB, free: 3.141 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.5992/0.5992, allocations: 90.3 MB / 394.8 MB, free: 3.82 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.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: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 83.86 kB / 0.5386 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4181, allocations: 70.83 MB / 0.6078 GB, free: 7.391 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.2577/0.6758, allocations: 202.8 MB / 0.8058 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.6945, allocations: 15.12 MB / 0.8206 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008876/0.6954, allocations: 19.88 kB / 0.8206 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.6968, allocations: 0.5046 MB / 0.8211 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.7006, allocations: 1.275 MB / 0.8223 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004148/0.7047, allocations: 1.482 MB / 0.8238 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.7066, allocations: 1.227 MB / 0.825 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.707, allocations: 170.8 kB / 0.8252 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.7092, allocations: 1.001 MB / 0.8261 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/0.7099, allocations: 489.8 kB / 0.8266 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.71, allocations: 80 kB / 0.8267 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005731/0.7158, allocations: 2.647 MB / 0.8293 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.716, allocations: 195.2 kB / 0.8295 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006404/0.7167, allocations: 473.5 kB / 0.8299 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003922/0.7206, allocations: 1.822 MB / 0.8317 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.7206, allocations: 3.938 kB / 0.8317 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7206, allocations: 0 / 0.8317 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.7206, allocations: 0 / 0.8317 GB, free: 5.316 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.002986/0.7236, allocations: 1.439 MB / 0.8331 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.7236, allocations: 8.031 kB / 0.8331 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.7254, allocations: 231.2 kB / 0.8333 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009304/0.7263, allocations: 0.5414 MB / 0.8338 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.7266, allocations: 188.7 kB / 0.834 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.7267, allocations: 72 kB / 0.8341 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.7284, allocations: 0.8219 MB / 0.8349 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.7284, allocations: 4 kB / 0.8349 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.858e-05/0.7285, allocations: 28 kB / 0.8349 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.7285, allocations: 20 kB / 0.8349 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.73, allocations: 0.6597 MB / 0.8356 GB, free: 1.18 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.004526/0.7346, allocations: 3.14 MB / 0.8387 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.736, allocations: 0.5793 MB / 0.8392 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.7367, allocations: 314.4 kB / 0.8395 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006994/0.7374, allocations: 0.8991 MB / 0.8404 GB, free: 11.77 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.7374, allocations: 47.12 kB / 0.8404 GB, free: 11.71 MB / 0.67 GB Notification: Performance of pre-optimization done (n=58): time 2.425e-06/0.7374, allocations: 0 / 0.8404 GB, free: 11.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=58): time 0.004772/0.7422, allocations: 1.655 MB / 0.8421 GB, free: 9.984 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.7422, allocations: 55.97 kB / 0.8421 GB, free: 9.918 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.743, allocations: 0.5226 MB / 0.8426 GB, free: 9.387 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.743, allocations: 37.7 kB / 0.8427 GB, free: 9.344 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.7433, allocations: 368.8 kB / 0.843 GB, free: 8.977 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.7435, allocations: 210.2 kB / 0.8432 GB, free: 8.77 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.7437, allocations: 114.2 kB / 0.8433 GB, free: 8.652 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.7439, allocations: 378.8 kB / 0.8437 GB, free: 8.273 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.7446, allocations: 253 kB / 0.8439 GB, free: 8.023 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.7453, allocations: 308.5 kB / 0.8442 GB, free: 7.715 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.7466, allocations: 0.5445 MB / 0.8448 GB, free: 7.16 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7466, allocations: 3.938 kB / 0.8448 GB, free: 7.156 MB / 0.67 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002798/0.7494, allocations: 1.012 MB / 0.8457 GB, free: 6.125 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.7494, allocations: 4 kB / 0.8457 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7494, allocations: 0 / 0.8457 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008031/0.7502, allocations: 234.3 kB / 0.846 GB, free: 5.883 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/0.751, allocations: 155.8 kB / 0.8461 GB, free: 5.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.7571, allocations: 5.102 MB / 0.8511 GB, free: 212 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.7577, allocations: 71.62 kB / 0.8512 GB, free: 140 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.7578, allocations: 43.98 kB / 0.8512 GB, free: 96 kB / 0.67 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.0003587/0.7581, allocations: 197.7 kB / 0.8514 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.7583, allocations: 71.52 kB / 0.8515 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/0.7618, allocations: 1.382 MB / 0.8528 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.7618, allocations: 8 kB / 0.8528 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7618, allocations: 3.938 kB / 0.8528 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7618, allocations: 3.984 kB / 0.8528 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004265/0.7661, allocations: 2.017 MB / 0.8548 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.7661, allocations: 0 / 0.8548 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007578/0.7668, allocations: 143.7 kB / 0.8549 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007269/0.7676, allocations: 234.4 kB / 0.8552 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.7676, allocations: 23.98 kB / 0.8552 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006168/0.7738, allocations: 5.114 MB / 0.8602 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.7738, allocations: 0 / 0.8602 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.7776, allocations: 1.383 MB / 0.8615 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.7779, allocations: 200.5 kB / 0.8617 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.778, allocations: 15.94 kB / 0.8617 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.7785, allocations: 39.97 kB / 0.8618 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7787, allocations: 56.3 kB / 0.8618 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.021e-05/0.7788, allocations: 31.98 kB / 0.8619 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000502/0.7793, allocations: 382.8 kB / 0.8622 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7793, allocations: 4 kB / 0.8622 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001299/0.7806, allocations: 395 kB / 0.8626 GB, free: 3.805 MB / 0.6856 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.001127/0.7817, allocations: 0.5197 MB / 0.8631 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002524/0.7842, allocations: 1.045 MB / 0.8641 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.7842, allocations: 128 / 0.8641 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.7858, allocations: 0.7797 MB / 0.8649 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.7869, allocations: 194.9 kB / 0.8651 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3152/1.102, allocations: 1.647 MB / 0.8667 GB, free: 237.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/1.103, allocations: 0.9431 MB / 0.8676 GB, free: 236.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001343/1.104, allocations: 426.4 kB / 0.868 GB, free: 236.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/1.104, allocations: 101.6 kB / 0.8681 GB, free: 236.6 MB / 0.6856 GB Notification: Performance of SimCode: time 1.243e-06/1.104, allocations: 0 / 0.8681 GB, free: 236.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.03927/1.144, allocations: 16.51 MB / 0.8842 GB, free: 233.1 MB / 0.6856 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: 6.890364724211395]