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.001374/0.001374, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00157/0.00157, allocations: 210.1 kB / 22.24 MB, free: 5.262 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.789 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.7902/0.7902, allocations: 94.62 MB / 407 MB, free: 8.848 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.002622/0.002622, allocations: 88.81 kB / 0.5554 GB, free: 38.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1131, allocations: 73.06 MB / 0.6268 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5193/0.6324, allocations: 176 MB / 0.7986 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01328/0.6457, allocations: 13.68 MB / 0.812 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009577/0.6467, allocations: 65.5 kB / 0.812 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.6479, allocations: 464.9 kB / 0.8125 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003241/0.6512, allocations: 1.379 MB / 0.8138 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.6548, allocations: 1.48 MB / 0.8152 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001559/0.6564, allocations: 1.406 MB / 0.8166 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.6567, allocations: 159.3 kB / 0.8168 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.6587, allocations: 1.136 MB / 0.8179 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.6593, allocations: 472.3 kB / 0.8183 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.6594, allocations: 82.38 kB / 0.8184 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004405/0.6638, allocations: 2.543 MB / 0.8209 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.664, allocations: 205.1 kB / 0.8211 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.6644, allocations: 419.4 kB / 0.8215 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003164/0.6676, allocations: 1.97 MB / 0.8234 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6676, allocations: 0 / 0.8234 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6676, allocations: 10.31 kB / 0.8234 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.6676, allocations: 0 / 0.8234 GB, free: 0.6797 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.002694/0.6703, allocations: 1.531 MB / 0.8249 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.6704, allocations: 8.656 kB / 0.8249 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.6721, allocations: 254.9 kB / 0.8252 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.6735, allocations: 0.7066 MB / 0.8259 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.6738, allocations: 260.1 kB / 0.8261 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.6739, allocations: 77.86 kB / 0.8262 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.6755, allocations: 0.8323 MB / 0.827 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.6756, allocations: 0 / 0.827 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.6756, allocations: 31.5 kB / 0.827 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.6756, allocations: 19.31 kB / 0.827 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.6771, allocations: 0.6532 MB / 0.8277 GB, free: 14.42 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.003831/0.6809, allocations: 1.961 MB / 0.8296 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.6822, allocations: 0.5533 MB / 0.8301 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/0.6829, allocations: 317.6 kB / 0.8304 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.6832, allocations: 76.94 kB / 0.8305 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.6832, allocations: 42.53 kB / 0.8306 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.214e-06/0.6832, allocations: 0 / 0.8306 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004673/0.6879, allocations: 1.462 MB / 0.832 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.6879, allocations: 56.84 kB / 0.832 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.6887, allocations: 0.6274 MB / 0.8326 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.6887, allocations: 33.7 kB / 0.8327 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.6891, allocations: 453 kB / 0.8331 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.6893, allocations: 213.4 kB / 0.8333 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.6895, allocations: 109.8 kB / 0.8334 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6896, allocations: 327.4 kB / 0.8337 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.6903, allocations: 262.2 kB / 0.834 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.6909, allocations: 305.4 kB / 0.8343 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.6922, allocations: 0.5524 MB / 0.8348 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6922, allocations: 0 / 0.8348 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002844/0.695, allocations: 1.028 MB / 0.8358 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.6951, allocations: 10.62 kB / 0.8358 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6951, allocations: 0 / 0.8358 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007836/0.6958, allocations: 227.4 kB / 0.836 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.6966, allocations: 151 kB / 0.8362 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005961/0.7025, allocations: 4.7 MB / 0.8408 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.7032, allocations: 64.95 kB / 0.8408 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-05/0.7032, allocations: 40.11 kB / 0.8409 GB, free: 4.984 MB / 0.5919 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.0004294/0.7037, allocations: 196.8 kB / 0.8411 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.7039, allocations: 91.08 kB / 0.8412 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003433/0.7073, allocations: 1.397 MB / 0.8425 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7073, allocations: 5.031 kB / 0.8425 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7073, allocations: 2.906 kB / 0.8425 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.7073, allocations: 3.984 kB / 0.8425 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/0.7116, allocations: 1.809 MB / 0.8443 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.7116, allocations: 2.625 kB / 0.8443 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/0.7123, allocations: 132 kB / 0.8444 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007173/0.713, allocations: 232.9 kB / 0.8446 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/0.7131, allocations: 29.39 kB / 0.8447 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005995/0.7191, allocations: 4.695 MB / 0.8493 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.7191, allocations: 11.34 kB / 0.8493 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.7226, allocations: 1.393 MB / 0.8506 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.7229, allocations: 137.8 kB / 0.8508 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.723, allocations: 12.06 kB / 0.8508 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/0.7235, allocations: 36.56 kB / 0.8508 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.7237, allocations: 60.02 kB / 0.8509 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/0.7238, allocations: 31.73 kB / 0.8509 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006073/0.7244, allocations: 447.8 kB / 0.8513 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7244, allocations: 5.5 kB / 0.8513 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0012/0.7256, allocations: 412.2 kB / 0.8517 GB, free: 13.09 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.0009242/0.7265, allocations: 0.5065 MB / 0.8522 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00256/0.729, allocations: 1.043 MB / 0.8532 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.729, allocations: 6.531 kB / 0.8532 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.7308, allocations: 0.7674 MB / 0.854 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009704/0.7317, allocations: 192.4 kB / 0.8542 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.7354, allocations: 1.838 MB / 0.856 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.7358, allocations: 416.5 kB / 0.8564 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009641/0.7368, allocations: 438.1 kB / 0.8568 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.7371, allocations: 107.4 kB / 0.8569 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.7371, allocations: 0 / 0.8569 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of Templates: time 0.03186/0.769, allocations: 17.61 MB / 0.8741 GB, free: 6.57 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.70753426104784]