Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001517/0.001517, allocations: 75.36 kB / 19.76 MB, free: 2.012 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.00175/0.00175, allocations: 159.2 kB / 23.01 MB, free: 4.965 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.361/1.361, allocations: 177.2 MB / 203.4 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7235/0.7235, allocations: 79.61 MB / 339.4 MB, free: 11.52 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_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.002433/0.002433, allocations: 86.84 kB / 0.4924 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1271, allocations: 74.58 MB / 0.5652 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4928/0.6199, allocations: 175.8 MB / 0.7369 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.6319, allocations: 13.64 MB / 0.7502 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008995/0.6328, allocations: 66.31 kB / 0.7503 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.6341, allocations: 467.4 kB / 0.7507 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.6372, allocations: 1.379 MB / 0.7521 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.6402, allocations: 1.474 MB / 0.7535 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.6417, allocations: 1.39 MB / 0.7549 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.6419, allocations: 165.4 kB / 0.755 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.6439, allocations: 1.39 MB / 0.7564 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.6443, allocations: 468.5 kB / 0.7568 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.843e-05/0.6444, allocations: 80.12 kB / 0.7569 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.6482, allocations: 2.534 MB / 0.7594 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.6484, allocations: 206 kB / 0.7596 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.6487, allocations: 416.3 kB / 0.76 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.6514, allocations: 1.965 MB / 0.7619 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6514, allocations: 0.625 kB / 0.7619 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6514, allocations: 0 / 0.7619 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.6514, allocations: 1.062 kB / 0.7619 GB, free: 2.547 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.002381/0.6538, allocations: 1.524 MB / 0.7634 GB, free: 17.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.6538, allocations: 14.42 kB / 0.7634 GB, free: 17.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.6554, allocations: 255 kB / 0.7636 GB, free: 17.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.6565, allocations: 0.7057 MB / 0.7643 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.6568, allocations: 287.2 kB / 0.7646 GB, free: 16.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.6569, allocations: 75.77 kB / 0.7647 GB, free: 16.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.6582, allocations: 0.8036 MB / 0.7655 GB, free: 16.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.6582, allocations: 10.67 kB / 0.7655 GB, free: 16.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.6582, allocations: 24.84 kB / 0.7655 GB, free: 16.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.6582, allocations: 17.22 kB / 0.7655 GB, free: 16.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.6596, allocations: 0.7018 MB / 0.7662 GB, free: 16.31 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.002875/0.6625, allocations: 1.861 MB / 0.768 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.6636, allocations: 0.5652 MB / 0.7686 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.6642, allocations: 303.3 kB / 0.7689 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.6644, allocations: 73.8 kB / 0.7689 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.6644, allocations: 38.16 kB / 0.769 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 1.793e-06/0.6644, allocations: 2.531 kB / 0.769 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.004366/0.6688, allocations: 1.471 MB / 0.7704 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.6688, allocations: 61.03 kB / 0.7705 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006695/0.6695, allocations: 0.6323 MB / 0.7711 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.6696, allocations: 37.17 kB / 0.7711 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.6699, allocations: 454 kB / 0.7716 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.6701, allocations: 206.9 kB / 0.7717 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.6703, allocations: 113.5 kB / 0.7719 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6704, allocations: 323 kB / 0.7722 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.671, allocations: 245.8 kB / 0.7724 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/0.6715, allocations: 287.9 kB / 0.7727 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.6726, allocations: 0.5123 MB / 0.7732 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6726, allocations: 4 kB / 0.7732 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002219/0.6748, allocations: 0.9489 MB / 0.7741 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6748, allocations: 4.875 kB / 0.7741 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6748, allocations: 0 / 0.7741 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006956/0.6755, allocations: 214.9 kB / 0.7743 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.676, allocations: 122.2 kB / 0.7744 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00596/0.682, allocations: 4.656 MB / 0.779 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.6826, allocations: 64.95 kB / 0.779 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.6826, allocations: 44.52 kB / 0.7791 GB, free: 8.438 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 {(2,2,100.0%), (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.000478/0.6831, allocations: 204.2 kB / 0.7793 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.6833, allocations: 87.92 kB / 0.7794 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/0.6863, allocations: 1.307 MB / 0.7806 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.6864, allocations: 6.438 kB / 0.7806 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6864, allocations: 2.625 kB / 0.7806 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6864, allocations: 0 / 0.7806 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.6899, allocations: 1.658 MB / 0.7823 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.6899, allocations: 1.125 kB / 0.7823 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.6904, allocations: 111.3 kB / 0.7824 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006407/0.691, allocations: 223.4 kB / 0.7826 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.6911, allocations: 23.58 kB / 0.7826 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005983/0.6971, allocations: 4.653 MB / 0.7872 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6971, allocations: 3.984 kB / 0.7872 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/0.7002, allocations: 1.347 MB / 0.7885 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.7005, allocations: 137.9 kB / 0.7886 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-05/0.7006, allocations: 17.12 kB / 0.7886 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/0.701, allocations: 33.69 kB / 0.7886 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.7011, allocations: 58 kB / 0.7887 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.7012, allocations: 33.73 kB / 0.7887 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005608/0.7018, allocations: 454.7 kB / 0.7892 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7018, allocations: 0 / 0.7892 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001105/0.7029, allocations: 404.4 kB / 0.7896 GB, free: 0.7344 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 {(2,2,100.0%), (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.0008057/0.7037, allocations: 0.5069 MB / 0.7901 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.7057, allocations: 0.9767 MB / 0.791 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7057, allocations: 0 / 0.791 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.7068, allocations: 0.7106 MB / 0.7917 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008341/0.7077, allocations: 187.9 kB / 0.7919 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.7108, allocations: 1.836 MB / 0.7937 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.7112, allocations: 410.2 kB / 0.7941 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008349/0.712, allocations: 447.8 kB / 0.7945 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.7123, allocations: 111.2 kB / 0.7946 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.7123, allocations: 5.156 kB / 0.7946 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.02885/0.7411, allocations: 16.34 MB / 0.8106 GB, free: 14.55 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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.2168585560284555]