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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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,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: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008075/0.008075, allocations: 99.77 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 197.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8053/0.8053, allocations: 93.7 MB / 384.2 MB, free: 5.227 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002389, allocations: 83.86 kB / 0.5204 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3673, allocations: 68.25 MB / 0.5871 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.612/0.9793, allocations: 214.3 MB / 0.7964 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.9951, allocations: 17.42 MB / 0.8134 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.9965, allocations: 52.41 kB / 0.8135 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.9982, allocations: 0.6221 MB / 0.8141 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004712/1.003, allocations: 1.745 MB / 0.8158 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004519/1.007, allocations: 1.67 MB / 0.8174 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002833/1.01, allocations: 1.724 MB / 0.8191 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005544/1.011, allocations: 297.2 kB / 0.8194 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/1.014, allocations: 1.194 MB / 0.8205 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008311/1.015, allocations: 0.6372 MB / 0.8212 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/1.015, allocations: 95.38 kB / 0.8213 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007512/1.022, allocations: 3.419 MB / 0.8246 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004799/1.023, allocations: 252.5 kB / 0.8248 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/1.024, allocations: 0.6243 MB / 0.8254 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006559/1.03, allocations: 2.386 MB / 0.8278 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.03, allocations: 0 / 0.8278 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.844e-06/1.03, allocations: 0 / 0.8278 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.57e-05/1.03, allocations: 0 / 0.8278 GB, free: 12.21 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.00383/1.034, allocations: 1.906 MB / 0.8296 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.034, allocations: 10.78 kB / 0.8296 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/1.036, allocations: 295.8 kB / 0.8299 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/1.038, allocations: 0.9256 MB / 0.8308 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/1.038, allocations: 194.2 kB / 0.831 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/1.039, allocations: 103.6 kB / 0.8311 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/1.041, allocations: 1.009 MB / 0.8321 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/1.041, allocations: 0 / 0.8321 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-05/1.041, allocations: 36.84 kB / 0.8321 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/1.041, allocations: 24.53 kB / 0.8322 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/1.043, allocations: 0.7885 MB / 0.8329 GB, free: 8.492 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.005711/1.048, allocations: 4.134 MB / 0.837 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/1.051, allocations: 0.8581 MB / 0.8378 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008605/1.051, allocations: 433.3 kB / 0.8382 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/1.052, allocations: 1.305 MB / 0.8395 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/1.052, allocations: 39.22 kB / 0.8395 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 4.198e-06/1.052, allocations: 7.984 kB / 0.8395 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005611/1.058, allocations: 1.941 MB / 0.8414 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/1.058, allocations: 60.06 kB / 0.8415 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/1.059, allocations: 0.7995 MB / 0.8423 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/1.059, allocations: 41.7 kB / 0.8423 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/1.06, allocations: 0.5167 MB / 0.8428 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/1.06, allocations: 294.9 kB / 0.8431 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/1.06, allocations: 150.6 kB / 0.8432 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.06, allocations: 345.9 kB / 0.8436 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007603/1.061, allocations: 312.9 kB / 0.8439 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/1.062, allocations: 391.1 kB / 0.8442 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/1.064, allocations: 0.6971 MB / 0.8449 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.064, allocations: 0 / 0.8449 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003322/1.067, allocations: 1.245 MB / 0.8461 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.067, allocations: 12.06 kB / 0.8461 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.067, allocations: 3.938 kB / 0.8462 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008949/1.068, allocations: 246.3 kB / 0.8464 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009773/1.069, allocations: 201.3 kB / 0.8466 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006866/1.076, allocations: 5.232 MB / 0.8517 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008088/1.077, allocations: 87.53 kB / 0.8518 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/1.077, allocations: 47.98 kB / 0.8518 GB, free: 4.039 MB / 0.6075 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 {(3,1,88.9%), (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.0004441/1.077, allocations: 232.1 kB / 0.852 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/1.078, allocations: 111.2 kB / 0.8521 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004442/1.082, allocations: 1.831 MB / 0.8539 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/1.082, allocations: 8 kB / 0.8539 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.082, allocations: 4 kB / 0.8539 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.082, allocations: 3.984 kB / 0.8539 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005715/1.088, allocations: 2.502 MB / 0.8564 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/1.088, allocations: 4.156 kB / 0.8564 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.089, allocations: 194.2 kB / 0.8566 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008991/1.09, allocations: 249.4 kB / 0.8568 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/1.09, allocations: 43.91 kB / 0.8569 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006927/1.097, allocations: 5.229 MB / 0.862 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.097, allocations: 0 / 0.862 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004714/1.102, allocations: 1.73 MB / 0.8637 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006053/1.102, allocations: 260.1 kB / 0.8639 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/1.102, allocations: 20 kB / 0.8639 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/1.103, allocations: 39.97 kB / 0.864 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/1.103, allocations: 71.75 kB / 0.864 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.104, allocations: 51.97 kB / 0.8641 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009318/1.104, allocations: 0.5643 MB / 0.8646 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.91e-07/1.104, allocations: 0 / 0.8646 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001751/1.106, allocations: 482.8 kB / 0.8651 GB, free: 5.93 MB / 0.6231 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%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001567/1.108, allocations: 0.5803 MB / 0.8657 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003226/1.111, allocations: 1.248 MB / 0.8669 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.111, allocations: 0 / 0.8669 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002017/1.113, allocations: 0.8981 MB / 0.8678 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/1.115, allocations: 267.7 kB / 0.868 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005229/1.12, allocations: 2.371 MB / 0.8703 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.121, allocations: 1.083 MB / 0.8714 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001619/1.123, allocations: 0.6335 MB / 0.872 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/1.123, allocations: 151.3 kB / 0.8721 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of SimCode: time 1.272e-06/1.123, allocations: 0 / 0.8721 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of Templates: time 0.04187/1.165, allocations: 19.66 MB / 0.8913 GB, free: 11.2 MB / 0.6544 GB 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] Reference file matches