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.001346/0.001346, allocations: 75.48 kB / 19.16 MB, free: 2.566 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.001501/0.001501, allocations: 164.5 kB / 22.44 MB, free: 5.309 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.392/1.392, allocations: 177.2 MB / 202.8 MB, free: 9.211 MB / 190.1 MB " [Timeout remaining time 179] 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.7123/0.7123, allocations: 74.9 MB / 334.1 MB, free: 15.98 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.002484/0.002484, allocations: 84.91 kB / 496 MB, free: 29.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1052, allocations: 73.04 MB / 0.5557 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4779/0.5832, allocations: 175.8 MB / 0.7274 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.5964, allocations: 13.66 MB / 0.7408 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009386/0.5974, allocations: 63.81 kB / 0.7408 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.5985, allocations: 472.5 kB / 0.7413 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.6017, allocations: 1.372 MB / 0.7426 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.6051, allocations: 1.485 MB / 0.7441 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.6064, allocations: 1.404 MB / 0.7454 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.6067, allocations: 167.7 kB / 0.7456 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00206/0.6088, allocations: 1.391 MB / 0.7469 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.6092, allocations: 469.3 kB / 0.7474 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.649e-05/0.6093, allocations: 80.09 kB / 0.7475 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004124/0.6134, allocations: 2.558 MB / 0.75 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.6136, allocations: 207.5 kB / 0.7502 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.614, allocations: 415.9 kB / 0.7506 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.617, allocations: 2.155 MB / 0.7527 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.617, allocations: 0.9062 kB / 0.7527 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.617, allocations: 2.625 kB / 0.7527 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.617, allocations: 0.875 kB / 0.7527 GB, free: 3.004 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.00253/0.6196, allocations: 1.523 MB / 0.7542 GB, free: 18.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.6196, allocations: 9.125 kB / 0.7542 GB, free: 18.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.6212, allocations: 254.5 kB / 0.7544 GB, free: 18.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.6224, allocations: 0.7074 MB / 0.7551 GB, free: 17.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.6227, allocations: 268.2 kB / 0.7554 GB, free: 17.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.6228, allocations: 75.33 kB / 0.7554 GB, free: 17.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.6243, allocations: 0.8247 MB / 0.7562 GB, free: 17.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.6243, allocations: 4 kB / 0.7562 GB, free: 17.56 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/0.6244, allocations: 28.47 kB / 0.7563 GB, free: 17.56 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.6244, allocations: 21.22 kB / 0.7563 GB, free: 17.56 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.6259, allocations: 0.6612 MB / 0.7569 GB, free: 17.55 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.003606/0.6295, allocations: 1.958 MB / 0.7588 GB, free: 17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.6307, allocations: 0.5579 MB / 0.7594 GB, free: 16.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/0.6313, allocations: 320.2 kB / 0.7597 GB, free: 16.97 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/0.6315, allocations: 79.34 kB / 0.7598 GB, free: 16.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.6315, allocations: 38.84 kB / 0.7598 GB, free: 16.92 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 2.424e-06/0.6315, allocations: 0 / 0.7598 GB, free: 16.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.004301/0.6358, allocations: 1.457 MB / 0.7612 GB, free: 16.79 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.6359, allocations: 61.75 kB / 0.7613 GB, free: 16.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.6366, allocations: 0.6203 MB / 0.7619 GB, free: 16.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.6366, allocations: 33.52 kB / 0.7619 GB, free: 16.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.6369, allocations: 458.6 kB / 0.7624 GB, free: 16.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.637, allocations: 214.1 kB / 0.7626 GB, free: 16.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.6372, allocations: 117.8 kB / 0.7627 GB, free: 16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6373, allocations: 326.4 kB / 0.763 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.6379, allocations: 258.9 kB / 0.7632 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.6385, allocations: 309.7 kB / 0.7635 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.6396, allocations: 0.5465 MB / 0.7641 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6396, allocations: 0.7812 kB / 0.7641 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002532/0.6421, allocations: 1.028 MB / 0.7651 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6421, allocations: 7.031 kB / 0.7651 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6421, allocations: 3.531 kB / 0.7651 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007429/0.6429, allocations: 234.6 kB / 0.7653 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007102/0.6436, allocations: 148.5 kB / 0.7654 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005595/0.6492, allocations: 4.703 MB / 0.77 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/0.6498, allocations: 60.25 kB / 0.7701 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.6499, allocations: 40.91 kB / 0.7701 GB, free: 10.84 MB / 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.0003999/0.6503, allocations: 200.7 kB / 0.7703 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.6506, allocations: 87.38 kB / 0.7704 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/0.6539, allocations: 1.398 MB / 0.7718 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6539, allocations: 5.156 kB / 0.7718 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6539, allocations: 2.562 kB / 0.7718 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.6539, allocations: 3.656 kB / 0.7718 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/0.6579, allocations: 1.803 MB / 0.7735 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.658, allocations: 0 / 0.7735 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007313/0.6587, allocations: 140.2 kB / 0.7737 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006738/0.6594, allocations: 230.3 kB / 0.7739 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.6594, allocations: 24.16 kB / 0.7739 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005778/0.6652, allocations: 4.695 MB / 0.7785 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6652, allocations: 9.625 kB / 0.7785 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.6687, allocations: 1.396 MB / 0.7799 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.6691, allocations: 141.3 kB / 0.78 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.6692, allocations: 21.31 kB / 0.78 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/0.6697, allocations: 39.81 kB / 0.7801 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.6698, allocations: 50.72 kB / 0.7801 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/0.6699, allocations: 30.3 kB / 0.7801 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005654/0.6704, allocations: 452.6 kB / 0.7806 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6704, allocations: 0 / 0.7806 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001138/0.6716, allocations: 408.2 kB / 0.781 GB, free: 3.895 MB / 0.6075 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.000932/0.6725, allocations: 0.5124 MB / 0.7815 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002641/0.6751, allocations: 1.042 MB / 0.7825 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6751, allocations: 0 / 0.7825 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.6769, allocations: 0.7777 MB / 0.7832 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.678, allocations: 174.7 kB / 0.7834 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.6815, allocations: 1.844 MB / 0.7852 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.6819, allocations: 410.4 kB / 0.7856 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009393/0.6828, allocations: 431.1 kB / 0.786 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.6831, allocations: 113.1 kB / 0.7861 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.6831, allocations: 0 / 0.7861 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of Templates: time 0.0302/0.7133, allocations: 16.4 MB / 0.8021 GB, free: 3.496 MB / 0.6231 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.303478270769119]