Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.001487/0.001487, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001644/0.001644, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.794/0.794, allocations: 100.9 MB / 413.3 MB, free: 2.875 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [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.002427/0.002427, allocations: 84.25 kB / 0.5646 GB, free: 35.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1275, allocations: 74.62 MB / 0.6374 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5237/0.6512, allocations: 187.2 MB / 0.8202 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.6704, allocations: 15.84 MB / 0.8357 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.6715, allocations: 73.5 kB / 0.8358 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.673, allocations: 0.5463 MB / 0.8363 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.6776, allocations: 1.79 MB / 0.8381 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004389/0.682, allocations: 1.679 MB / 0.8397 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.6839, allocations: 1.722 MB / 0.8414 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.6842, allocations: 184.3 kB / 0.8416 GB, free: 288 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.6863, allocations: 1.254 MB / 0.8428 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006476/0.687, allocations: 0.5792 MB / 0.8433 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.6871, allocations: 92.84 kB / 0.8434 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005764/0.6928, allocations: 3.324 MB / 0.8467 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.6931, allocations: 256.1 kB / 0.8469 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.6936, allocations: 0.4988 MB / 0.8474 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.697, allocations: 2.369 MB / 0.8497 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.697, allocations: 0 / 0.8497 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.697, allocations: 0 / 0.8497 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.697, allocations: 0 / 0.8497 GB, free: 11.74 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003276/0.7003, allocations: 1.829 MB / 0.8515 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.7003, allocations: 11.47 kB / 0.8515 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.7023, allocations: 297.8 kB / 0.8518 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.7039, allocations: 0.8362 MB / 0.8526 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.7042, allocations: 305.2 kB / 0.8529 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.7043, allocations: 93.83 kB / 0.853 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.7061, allocations: 0.9893 MB / 0.854 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.7061, allocations: 0 / 0.854 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.7062, allocations: 35.5 kB / 0.854 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.7062, allocations: 21.53 kB / 0.854 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.7079, allocations: 0.8317 MB / 0.8548 GB, free: 8.273 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.004128/0.712, allocations: 2.526 MB / 0.8573 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.7138, allocations: 0.8096 MB / 0.8581 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/0.7145, allocations: 385.6 kB / 0.8585 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003233/0.7148, allocations: 113 kB / 0.8586 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.7149, allocations: 40.19 kB / 0.8586 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.084e-06/0.7149, allocations: 0 / 0.8586 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005086/0.72, allocations: 1.742 MB / 0.8603 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.72, allocations: 62.38 kB / 0.8604 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008792/0.7209, allocations: 0.734 MB / 0.8611 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.721, allocations: 41.7 kB / 0.8611 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.7214, allocations: 0.5203 MB / 0.8616 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.7216, allocations: 301.4 kB / 0.8619 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.7219, allocations: 150.6 kB / 0.8621 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.722, allocations: 334 kB / 0.8624 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006534/0.7227, allocations: 297.8 kB / 0.8627 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007273/0.7234, allocations: 375 kB / 0.863 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.7248, allocations: 0.6667 MB / 0.8637 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7248, allocations: 0.875 kB / 0.8637 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002876/0.7277, allocations: 1.147 MB / 0.8648 GB, free: 440 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.7277, allocations: 8 kB / 0.8648 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.7277, allocations: 0 / 0.8648 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008321/0.7286, allocations: 238 kB / 0.865 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.7293, allocations: 183.7 kB / 0.8652 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006035/0.7353, allocations: 4.776 MB / 0.8699 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007803/0.7361, allocations: 79.56 kB / 0.8699 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.7362, allocations: 55.97 kB / 0.87 GB, free: 10.8 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004784/0.7367, allocations: 225.8 kB / 0.8702 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.737, allocations: 111.2 kB / 0.8703 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/0.7407, allocations: 1.731 MB / 0.872 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.7408, allocations: 15.92 kB / 0.872 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.7408, allocations: 4 kB / 0.872 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.7408, allocations: 3.984 kB / 0.872 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004585/0.7454, allocations: 2.023 MB / 0.874 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.7454, allocations: 0 / 0.874 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/0.7461, allocations: 163.8 kB / 0.8742 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000702/0.7468, allocations: 239.3 kB / 0.8744 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/0.7469, allocations: 35.97 kB / 0.8744 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005912/0.7528, allocations: 4.778 MB / 0.8791 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7528, allocations: 4.031 kB / 0.8791 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.7567, allocations: 1.661 MB / 0.8807 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.7571, allocations: 183 kB / 0.8809 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.7573, allocations: 19.94 kB / 0.8809 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.7578, allocations: 39.97 kB / 0.8809 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.758, allocations: 84.45 kB / 0.881 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.795e-05/0.7581, allocations: 43.98 kB / 0.8811 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007234/0.7588, allocations: 0.5077 MB / 0.8816 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7588, allocations: 0 / 0.8816 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001406/0.7602, allocations: 494.7 kB / 0.882 GB, free: 14 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (76): * Single equations (assignments): 73 * 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 {(1,4,100.0%), (1,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009754/0.7612, allocations: 0.5576 MB / 0.8826 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002404/0.7636, allocations: 1.146 MB / 0.8837 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7636, allocations: 0 / 0.8837 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.765, allocations: 0.8123 MB / 0.8845 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.7661, allocations: 245.7 kB / 0.8847 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.7704, allocations: 2.365 MB / 0.887 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.7709, allocations: 0.4911 MB / 0.8875 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001295/0.7722, allocations: 0.6315 MB / 0.8881 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.7726, allocations: 143.3 kB / 0.8883 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.7726, allocations: 0 / 0.8883 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of Templates: time 0.0358/0.8084, allocations: 20.99 MB / 0.9088 GB, free: 2.688 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.664587611332536]