Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008941/0.0008942, allocations: 175.8 kB / 15.43 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 225.7 MB / 241.9 MB, free: 388 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007303/0.0007304, allocations: 96.12 kB / 293.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6369/0.6369, allocations: 91.65 MB / 435.8 MB, free: 23.58 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002851, allocations: 8 kB / 0.5038 GB, free: 8.293 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2934, allocations: 69.28 MB / 0.5714 GB, free: 45.55 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.458/0.7514, allocations: 237 MB / 0.8029 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0208/0.7723, allocations: 26.26 MB / 0.8286 GB, free: 18.26 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.7733, allocations: 22.19 kB / 0.8286 GB, free: 18.26 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.7747, allocations: 478.8 kB / 0.8291 GB, free: 18.24 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.7784, allocations: 1.462 MB / 0.8305 GB, free: 18.18 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006288/0.7848, allocations: 2.4 MB / 0.8328 GB, free: 18.06 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002338/0.7871, allocations: 1.677 MB / 0.8345 GB, free: 18.06 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.7875, allocations: 235.7 kB / 0.8347 GB, free: 18 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.7898, allocations: 0.9884 MB / 0.8357 GB, free: 17.97 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006531/0.7904, allocations: 0.5181 MB / 0.8362 GB, free: 17.96 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.7906, allocations: 41.69 kB / 0.8362 GB, free: 17.96 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.8007, allocations: 4.993 MB / 0.8411 GB, free: 17.85 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.801, allocations: 168.8 kB / 0.8412 GB, free: 17.85 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007614/0.8018, allocations: 0.4973 MB / 0.8417 GB, free: 17.81 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00654/0.8084, allocations: 2.95 MB / 0.8446 GB, free: 17.63 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.8084, allocations: 7.188 kB / 0.8446 GB, free: 17.62 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8084, allocations: 0 / 0.8446 GB, free: 17.62 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.45e-05/0.8085, allocations: 1.859 kB / 0.8446 GB, free: 17.62 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003417/0.8119, allocations: 1.583 MB / 0.8462 GB, free: 16.72 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.8119, allocations: 8.25 kB / 0.8462 GB, free: 16.72 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.8136, allocations: 249.8 kB / 0.8464 GB, free: 16.61 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009313/0.8145, allocations: 0.5816 MB / 0.847 GB, free: 16.24 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.8148, allocations: 211.1 kB / 0.8472 GB, free: 16.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.8149, allocations: 86.22 kB / 0.8473 GB, free: 16.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.8167, allocations: 0.9826 MB / 0.8482 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.8167, allocations: 4 kB / 0.8482 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.11e-05/0.8168, allocations: 33 kB / 0.8483 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.8168, allocations: 20.19 kB / 0.8483 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.8184, allocations: 0.7839 MB / 0.849 GB, free: 15.66 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004554/0.823, allocations: 3.681 MB / 0.8526 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.8248, allocations: 0.9389 MB / 0.8535 GB, free: 12.99 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/0.8255, allocations: 451.7 kB / 0.854 GB, free: 12.92 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00243/0.828, allocations: 3.111 MB / 0.857 GB, free: 9.648 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.828, allocations: 38.06 kB / 0.8571 GB, free: 9.609 MB / 0.573 GB Notification: Performance of pre-optimization done (n=83): time 3.105e-06/0.828, allocations: 3.062 kB / 0.8571 GB, free: 9.609 MB / 0.573 GB Notification: Performance of matching and sorting (n=83): time 0.005308/0.8333, allocations: 2.219 MB / 0.8592 GB, free: 8.812 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.8334, allocations: 65.75 kB / 0.8593 GB, free: 8.746 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.8339, allocations: 493.8 kB / 0.8598 GB, free: 8.559 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.834, allocations: 37.45 kB / 0.8598 GB, free: 8.527 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.8342, allocations: 387.7 kB / 0.8602 GB, free: 8.309 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.8343, allocations: 286.7 kB / 0.8604 GB, free: 8.102 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.8344, allocations: 14.19 kB / 0.8604 GB, free: 8.102 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.8346, allocations: 381.2 kB / 0.8608 GB, free: 7.766 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/0.8353, allocations: 352.1 kB / 0.8611 GB, free: 7.711 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/0.8359, allocations: 416.8 kB / 0.8615 GB, free: 7.602 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.8373, allocations: 0.7685 MB / 0.8623 GB, free: 7.473 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.8373, allocations: 0 / 0.8623 GB, free: 7.473 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002936/0.8402, allocations: 1.342 MB / 0.8636 GB, free: 7.133 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.8403, allocations: 6.844 kB / 0.8636 GB, free: 7.133 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.8403, allocations: 0 / 0.8636 GB, free: 7.133 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000781/0.8411, allocations: 277.1 kB / 0.8639 GB, free: 7.047 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/0.842, allocations: 204.9 kB / 0.8641 GB, free: 7.008 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005299/0.8473, allocations: 5.019 MB / 0.869 GB, free: 2.891 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.8479, allocations: 109.7 kB / 0.8691 GB, free: 2.836 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.8481, allocations: 62.8 kB / 0.8691 GB, free: 2.828 MB / 0.573 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 (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003541/0.8484, allocations: 209.5 kB / 0.8693 GB, free: 2.707 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.8486, allocations: 71.31 kB / 0.8694 GB, free: 2.672 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.8524, allocations: 1.629 MB / 0.871 GB, free: 2.191 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.8524, allocations: 11.47 kB / 0.871 GB, free: 2.188 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.8524, allocations: 5 kB / 0.871 GB, free: 2.188 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.8525, allocations: 6.891 kB / 0.871 GB, free: 2.184 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00456/0.857, allocations: 2.534 MB / 0.8735 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.857, allocations: 0 / 0.8735 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009435/0.858, allocations: 199 kB / 0.8737 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000742/0.8587, allocations: 286.4 kB / 0.874 GB, free: 316 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-05/0.8589, allocations: 41.84 kB / 0.874 GB, free: 288 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005302/0.8642, allocations: 5.023 MB / 0.8789 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8642, allocations: 7.969 kB / 0.8789 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003817/0.868, allocations: 1.893 MB / 0.8808 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.8684, allocations: 252.2 kB / 0.881 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.8685, allocations: 18.81 kB / 0.881 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/0.8691, allocations: 68.08 kB / 0.8811 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.8692, allocations: 80.8 kB / 0.8812 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.8693, allocations: 58.48 kB / 0.8812 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003465/0.8697, allocations: 339.3 kB / 0.8815 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8697, allocations: 4 kB / 0.8815 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001699/0.8714, allocations: 0.6884 MB / 0.8822 GB, free: 8.543 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00222/0.8736, allocations: 1.039 MB / 0.8832 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002692/0.8763, allocations: 1.425 MB / 0.8846 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.8764, allocations: 4 kB / 0.8846 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.8781, allocations: 1.073 MB / 0.8857 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.8792, allocations: 204.8 kB / 0.8859 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.8829, allocations: 2.566 MB / 0.8884 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.8834, allocations: 1.001 MB / 0.8894 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001056/0.8845, allocations: 233.4 kB / 0.8896 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.8849, allocations: 119.6 kB / 0.8897 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.8849, allocations: 4 kB / 0.8897 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of Templates: time 0.03368/0.9186, allocations: 22.62 MB / 0.9118 GB, free: 11.05 MB / 0.6198 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (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) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches