Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.0008855/0.0008856, allocations: 176.8 kB / 15.43 MB, free: 5.824 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.226/1.226, allocations: 225.7 MB / 241.9 MB, free: 208 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.000806/0.0008057, allocations: 86.34 kB / 293.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6057/0.6057, allocations: 90.99 MB / 435.2 MB, free: 24.41 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002726, allocations: 12 kB / 0.503 GB, free: 9.426 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2826, allocations: 69.1 MB / 0.5704 GB, free: 45.58 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4355/0.7182, allocations: 237 MB / 0.8019 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.7358, allocations: 26.24 MB / 0.8275 GB, free: 18.94 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000939/0.7367, allocations: 22.59 kB / 0.8276 GB, free: 18.94 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.7379, allocations: 484.9 kB / 0.828 GB, free: 18.91 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.7414, allocations: 1.452 MB / 0.8294 GB, free: 18.85 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005911/0.7473, allocations: 2.412 MB / 0.8318 GB, free: 18.73 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.7492, allocations: 1.674 MB / 0.8334 GB, free: 18.72 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.7496, allocations: 237.7 kB / 0.8337 GB, free: 18.66 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.7516, allocations: 0.9937 MB / 0.8346 GB, free: 18.63 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.7521, allocations: 0.5043 MB / 0.8351 GB, free: 18.63 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 8.783e-05/0.7522, allocations: 43.27 kB / 0.8352 GB, free: 18.63 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009021/0.7613, allocations: 5.005 MB / 0.84 GB, free: 18.51 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.7614, allocations: 164.6 kB / 0.8402 GB, free: 18.51 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004419/0.7619, allocations: 498.6 kB / 0.8407 GB, free: 18.48 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003987/0.7659, allocations: 2.946 MB / 0.8436 GB, free: 18.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7659, allocations: 0 / 0.8436 GB, free: 18.3 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7659, allocations: 0 / 0.8436 GB, free: 18.3 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.7659, allocations: 0 / 0.8436 GB, free: 18.3 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.002588/0.7685, allocations: 1.592 MB / 0.8451 GB, free: 17.41 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.7686, allocations: 9.719 kB / 0.8451 GB, free: 17.41 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.77, allocations: 240.1 kB / 0.8453 GB, free: 17.35 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.7707, allocations: 0.5776 MB / 0.8459 GB, free: 17 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.7709, allocations: 198.2 kB / 0.8461 GB, free: 16.86 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.771, allocations: 93.03 kB / 0.8462 GB, free: 16.86 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.7725, allocations: 0.9818 MB / 0.8471 GB, free: 16.56 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.7726, allocations: 3 kB / 0.8471 GB, free: 16.56 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/0.7726, allocations: 30.47 kB / 0.8472 GB, free: 16.56 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.7726, allocations: 22.12 kB / 0.8472 GB, free: 16.56 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.774, allocations: 0.7912 MB / 0.848 GB, free: 16.42 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003611/0.7777, allocations: 3.686 MB / 0.8516 GB, free: 13.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.7793, allocations: 0.9365 MB / 0.8525 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/0.78, allocations: 454.6 kB / 0.8529 GB, free: 13.68 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0022/0.7822, allocations: 3.116 MB / 0.856 GB, free: 10.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.7823, allocations: 47.5 kB / 0.856 GB, free: 10.35 MB / 0.573 GB Notification: Performance of pre-optimization done (n=83): time 2.505e-06/0.7823, allocations: 0 / 0.856 GB, free: 10.35 MB / 0.573 GB Notification: Performance of matching and sorting (n=83): time 0.00489/0.7872, allocations: 2.21 MB / 0.8582 GB, free: 9.562 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.7872, allocations: 65 kB / 0.8582 GB, free: 9.496 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.7876, allocations: 492.3 kB / 0.8587 GB, free: 9.309 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.7877, allocations: 40.86 kB / 0.8587 GB, free: 9.277 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.7879, allocations: 374.5 kB / 0.8591 GB, free: 9.066 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.788, allocations: 298.9 kB / 0.8594 GB, free: 8.848 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.7881, allocations: 14.38 kB / 0.8594 GB, free: 8.848 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.7882, allocations: 386.7 kB / 0.8598 GB, free: 8.512 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00061/0.7888, allocations: 342.5 kB / 0.8601 GB, free: 8.461 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006358/0.7895, allocations: 424.8 kB / 0.8605 GB, free: 8.352 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.7907, allocations: 0.7689 MB / 0.8612 GB, free: 8.223 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7907, allocations: 3.938 kB / 0.8612 GB, free: 8.219 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002652/0.7934, allocations: 1.338 MB / 0.8626 GB, free: 7.879 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7934, allocations: 8.781 kB / 0.8626 GB, free: 7.879 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.7934, allocations: 4.125 kB / 0.8626 GB, free: 7.875 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007196/0.7942, allocations: 273.5 kB / 0.8628 GB, free: 7.789 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/0.795, allocations: 199.1 kB / 0.863 GB, free: 7.754 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005023/0.8, allocations: 5.02 MB / 0.8679 GB, free: 3.637 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.8005, allocations: 102.8 kB / 0.868 GB, free: 3.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.559e-05/0.8007, allocations: 62.66 kB / 0.8681 GB, free: 3.582 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.0002701/0.8009, allocations: 212 kB / 0.8683 GB, free: 3.457 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.801, allocations: 76.12 kB / 0.8684 GB, free: 3.418 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00356/0.8046, allocations: 1.616 MB / 0.8699 GB, free: 2.953 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.8046, allocations: 9.906 kB / 0.8699 GB, free: 2.953 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8046, allocations: 3.375 kB / 0.8699 GB, free: 2.953 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.8047, allocations: 7.922 kB / 0.87 GB, free: 2.945 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/0.8088, allocations: 2.527 MB / 0.8724 GB, free: 1.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.8088, allocations: 0 / 0.8724 GB, free: 1.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008918/0.8097, allocations: 207.6 kB / 0.8726 GB, free: 1.492 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006757/0.8104, allocations: 284.9 kB / 0.8729 GB, free: 1.242 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.8105, allocations: 37.72 kB / 0.8729 GB, free: 1.219 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004968/0.8154, allocations: 5.026 MB / 0.8778 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8154, allocations: 0 / 0.8778 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/0.819, allocations: 1.897 MB / 0.8797 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.8191, allocations: 155.9 kB / 0.8798 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8192, allocations: 22.81 kB / 0.8799 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.8197, allocations: 59.77 kB / 0.8799 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.8199, allocations: 82.98 kB / 0.88 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.282e-05/0.82, allocations: 63.03 kB / 0.8801 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003201/0.8203, allocations: 336.7 kB / 0.8804 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8203, allocations: 0 / 0.8804 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001556/0.8219, allocations: 0.6944 MB / 0.8811 GB, free: 9.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.001757/0.8236, allocations: 1.024 MB / 0.8821 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002442/0.8261, allocations: 1.435 MB / 0.8835 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8261, allocations: 0 / 0.8835 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.8277, allocations: 1.067 MB / 0.8845 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009381/0.8287, allocations: 210.3 kB / 0.8847 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.8321, allocations: 2.561 MB / 0.8872 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.8326, allocations: 1.001 MB / 0.8882 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001029/0.8337, allocations: 237.4 kB / 0.8884 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.834, allocations: 123 kB / 0.8885 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.834, allocations: 0 / 0.8885 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of Templates: time 0.03296/0.867, allocations: 22.65 MB / 0.9106 GB, free: 12.03 MB / 0.6198 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches