Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.5895/0.5895, allocations: 90.3 MB / 394.8 MB, free: 3.836 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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_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_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 75.88 kB / 0.5386 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4236, allocations: 70.83 MB / 0.6078 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.2541/0.6777, allocations: 215.4 MB / 0.8181 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02114/0.6988, allocations: 17.52 MB / 0.8353 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008745/0.6997, allocations: 23.88 kB / 0.8353 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.7012, allocations: 0.5977 MB / 0.8359 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.706, allocations: 1.686 MB / 0.8375 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004499/0.7105, allocations: 1.689 MB / 0.8392 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.7125, allocations: 1.526 MB / 0.8406 GB, free: 12.09 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003576/0.7128, allocations: 185.9 kB / 0.8408 GB, free: 11.89 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.7149, allocations: 1.113 MB / 0.8419 GB, free: 10.78 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007266/0.7157, allocations: 0.6105 MB / 0.8425 GB, free: 10.16 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.7158, allocations: 96 kB / 0.8426 GB, free: 10.07 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006698/0.7225, allocations: 3.471 MB / 0.846 GB, free: 6.594 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.7227, allocations: 243 kB / 0.8462 GB, free: 6.355 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005679/0.7233, allocations: 0.5635 MB / 0.8468 GB, free: 5.789 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.7271, allocations: 2.2 MB / 0.8489 GB, free: 3.582 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.7271, allocations: 4 kB / 0.8489 GB, free: 3.578 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7271, allocations: 4 kB / 0.8489 GB, free: 3.574 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.7271, allocations: 0 / 0.8489 GB, free: 3.574 MB / 0.67 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.003287/0.7304, allocations: 1.711 MB / 0.8506 GB, free: 1.805 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.7304, allocations: 8.031 kB / 0.8506 GB, free: 1.797 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.7323, allocations: 278.9 kB / 0.8509 GB, free: 1.523 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.7335, allocations: 0.6376 MB / 0.8515 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.7337, allocations: 200.8 kB / 0.8517 GB, free: 0.625 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.7339, allocations: 95.95 kB / 0.8518 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.7359, allocations: 1.009 MB / 0.8528 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.7359, allocations: 4 kB / 0.8528 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.062e-05/0.736, allocations: 39.94 kB / 0.8528 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.736, allocations: 20 kB / 0.8528 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.7378, allocations: 0.7924 MB / 0.8536 GB, free: 14.64 MB / 0.6856 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.005351/0.7431, allocations: 4.056 MB / 0.8576 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.7451, allocations: 0.8198 MB / 0.8584 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008152/0.7459, allocations: 395.3 kB / 0.8587 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009886/0.7469, allocations: 1.299 MB / 0.86 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.7469, allocations: 51.2 kB / 0.8601 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 2.204e-06/0.7469, allocations: 0 / 0.8601 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.005282/0.7522, allocations: 1.904 MB / 0.8619 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.7523, allocations: 60.06 kB / 0.862 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000761/0.753, allocations: 0.6138 MB / 0.8626 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.7531, allocations: 41.7 kB / 0.8626 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.7534, allocations: 432.9 kB / 0.863 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.7537, allocations: 301.4 kB / 0.8633 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.7539, allocations: 146.6 kB / 0.8634 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7541, allocations: 333.9 kB / 0.8638 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/0.7548, allocations: 317.8 kB / 0.8641 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007901/0.7556, allocations: 387.1 kB / 0.8644 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.7571, allocations: 0.6979 MB / 0.8651 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7571, allocations: 0 / 0.8651 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003105/0.7602, allocations: 1.214 MB / 0.8663 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.7602, allocations: 4 kB / 0.8663 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.7602, allocations: 4 kB / 0.8663 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008127/0.7611, allocations: 258.3 kB / 0.8666 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009306/0.762, allocations: 207.7 kB / 0.8668 GB, free: 340 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.281/1.043, allocations: 5.228 MB / 0.8719 GB, free: 234.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/1.044, allocations: 93.12 kB / 0.872 GB, free: 234.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.044, allocations: 53.06 kB / 0.872 GB, free: 234.8 MB / 0.6856 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.0003647/1.044, allocations: 220.6 kB / 0.8722 GB, free: 234.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/1.044, allocations: 87.22 kB / 0.8723 GB, free: 234.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004048/1.048, allocations: 1.794 MB / 0.874 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/1.048, allocations: 8.688 kB / 0.8741 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.048, allocations: 3.938 kB / 0.8741 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.048, allocations: 4.312 kB / 0.8741 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/1.053, allocations: 2.417 MB / 0.8764 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.053, allocations: 7.5 kB / 0.8764 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/1.054, allocations: 186.9 kB / 0.8766 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000704/1.055, allocations: 260.4 kB / 0.8769 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-05/1.055, allocations: 36.3 kB / 0.8769 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004634/1.059, allocations: 5.234 MB / 0.882 GB, free: 228.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.059, allocations: 6.75 kB / 0.882 GB, free: 228.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/1.063, allocations: 1.689 MB / 0.8837 GB, free: 227.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/1.063, allocations: 242.6 kB / 0.8839 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.063, allocations: 18.69 kB / 0.8839 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/1.064, allocations: 45.39 kB / 0.884 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.064, allocations: 74.95 kB / 0.884 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.064, allocations: 47.11 kB / 0.8841 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005746/1.065, allocations: 450.7 kB / 0.8845 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/1.065, allocations: 0.7812 kB / 0.8845 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001369/1.066, allocations: 478.8 kB / 0.885 GB, free: 227.2 MB / 0.6856 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.001055/1.067, allocations: 0.578 MB / 0.8855 GB, free: 227.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002541/1.07, allocations: 1.2 MB / 0.8867 GB, free: 226.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.07, allocations: 0.9688 kB / 0.8867 GB, free: 226.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.071, allocations: 0.8801 MB / 0.8876 GB, free: 226 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.072, allocations: 247 kB / 0.8878 GB, free: 225.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/1.076, allocations: 2.133 MB / 0.8899 GB, free: 224.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/1.077, allocations: 1.017 MB / 0.8909 GB, free: 224 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001283/1.078, allocations: 0.6142 MB / 0.8915 GB, free: 223.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/1.079, allocations: 133.3 kB / 0.8916 GB, free: 223.9 MB / 0.6856 GB Notification: Performance of SimCode: time 8.21e-07/1.079, allocations: 0 / 0.8916 GB, free: 223.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.03108/1.11, allocations: 19.61 MB / 0.9107 GB, free: 215.9 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.90621058922261]