Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 180.9 kB / 15.43 MB, free: 6.211 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.225/1.225, allocations: 225.7 MB / 241.9 MB, free: 368 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.0007843/0.0007843, allocations: 93.7 kB / 293.1 MB, free: 12.89 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.6536/0.6536, allocations: 91.64 MB / 435.8 MB, free: 23.55 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002847, allocations: 8 kB / 0.5038 GB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2983, allocations: 69.3 MB / 0.5715 GB, free: 45.66 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4311/0.7294, allocations: 218.6 MB / 0.7849 GB, free: 17.13 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01488/0.7443, allocations: 22.46 MB / 0.8069 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000859/0.7452, allocations: 17.84 kB / 0.8069 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009743/0.7462, allocations: 392.4 kB / 0.8072 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.7489, allocations: 1.084 MB / 0.8083 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.7534, allocations: 1.972 MB / 0.8102 GB, free: 8.426 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.7549, allocations: 1.284 MB / 0.8115 GB, free: 8.426 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.7553, allocations: 214.2 kB / 0.8117 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.7573, allocations: 0.8866 MB / 0.8126 GB, free: 8.344 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.7578, allocations: 405.9 kB / 0.8129 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.255e-05/0.7579, allocations: 34 kB / 0.813 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00828/0.7662, allocations: 3.929 MB / 0.8168 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.7666, allocations: 137.1 kB / 0.8169 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006466/0.7672, allocations: 400.1 kB / 0.8173 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005335/0.7726, allocations: 2.374 MB / 0.8196 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7726, allocations: 0 / 0.8196 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7726, allocations: 0 / 0.8196 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.7726, allocations: 1.031 kB / 0.8196 GB, free: 8.062 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002532/0.7752, allocations: 1.323 MB / 0.8209 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.7752, allocations: 12.81 kB / 0.8209 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.7766, allocations: 203.4 kB / 0.8211 GB, free: 7.234 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/0.7772, allocations: 494.6 kB / 0.8216 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.7774, allocations: 178.7 kB / 0.8218 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.7775, allocations: 71.66 kB / 0.8218 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.7789, allocations: 0.7287 MB / 0.8226 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.779, allocations: 0.8125 kB / 0.8226 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.779, allocations: 25.47 kB / 0.8226 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.779, allocations: 18.73 kB / 0.8226 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.7806, allocations: 0.652 MB / 0.8232 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.784, allocations: 2.802 MB / 0.826 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.7853, allocations: 0.6479 MB / 0.8266 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006955/0.786, allocations: 382.1 kB / 0.827 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/0.7876, allocations: 2.158 MB / 0.8291 GB, free: 19.11 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.7876, allocations: 40.06 kB / 0.8291 GB, free: 19.07 MB / 0.573 GB Notification: Performance of pre-optimization done (n=63): time 2.825e-06/0.7876, allocations: 0 / 0.8291 GB, free: 19.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=63): time 0.004661/0.7923, allocations: 1.968 MB / 0.831 GB, free: 18.64 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.7924, allocations: 62.34 kB / 0.8311 GB, free: 18.57 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.7927, allocations: 388.5 kB / 0.8315 GB, free: 18.46 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.7928, allocations: 37 kB / 0.8315 GB, free: 18.43 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.7929, allocations: 314.8 kB / 0.8318 GB, free: 18.27 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.793, allocations: 214.5 kB / 0.832 GB, free: 18.13 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.7931, allocations: 10.72 kB / 0.832 GB, free: 18.13 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7932, allocations: 363.9 kB / 0.8324 GB, free: 17.82 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/0.7938, allocations: 290.7 kB / 0.8326 GB, free: 17.81 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.7943, allocations: 300.1 kB / 0.8329 GB, free: 17.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.7955, allocations: 0.607 MB / 0.8335 GB, free: 17.77 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7955, allocations: 0 / 0.8335 GB, free: 17.77 MB / 0.573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002439/0.7979, allocations: 1.128 MB / 0.8346 GB, free: 17.64 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.7979, allocations: 5.25 kB / 0.8346 GB, free: 17.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.798, allocations: 3.281 kB / 0.8346 GB, free: 17.64 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006842/0.7986, allocations: 264.9 kB / 0.8349 GB, free: 17.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/0.7993, allocations: 142.8 kB / 0.835 GB, free: 17.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004844/0.8042, allocations: 4.902 MB / 0.8398 GB, free: 13.76 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.8047, allocations: 81.59 kB / 0.8399 GB, free: 13.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.592e-05/0.8048, allocations: 46.28 kB / 0.8399 GB, free: 13.73 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (56): * Single equations (assignments): 51 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002878/0.8051, allocations: 195 kB / 0.8401 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/0.8052, allocations: 57.31 kB / 0.8402 GB, free: 13.59 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/0.8084, allocations: 1.333 MB / 0.8415 GB, free: 13.35 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.8084, allocations: 7.031 kB / 0.8415 GB, free: 13.35 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8084, allocations: 5.812 kB / 0.8415 GB, free: 13.34 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.8085, allocations: 3.984 kB / 0.8415 GB, free: 13.34 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/0.8122, allocations: 2.138 MB / 0.8436 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.8123, allocations: 4 kB / 0.8436 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/0.8129, allocations: 148.7 kB / 0.8437 GB, free: 12.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006426/0.8136, allocations: 267.5 kB / 0.844 GB, free: 12.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.74e-05/0.8137, allocations: 31.48 kB / 0.844 GB, free: 12.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/0.8185, allocations: 4.901 MB / 0.8488 GB, free: 8.297 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8186, allocations: 4.938 kB / 0.8488 GB, free: 8.293 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.822, allocations: 1.593 MB / 0.8504 GB, free: 7.82 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.8222, allocations: 145.2 kB / 0.8505 GB, free: 7.676 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/0.8223, allocations: 21.28 kB / 0.8505 GB, free: 7.672 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.8228, allocations: 57.39 kB / 0.8506 GB, free: 7.656 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.8229, allocations: 58.23 kB / 0.8506 GB, free: 7.633 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.854e-05/0.823, allocations: 50.78 kB / 0.8507 GB, free: 7.625 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002687/0.8233, allocations: 269.4 kB / 0.8509 GB, free: 7.512 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8233, allocations: 0 / 0.8509 GB, free: 7.512 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001661/0.825, allocations: 0.5482 MB / 0.8515 GB, free: 7.406 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (57): * Single equations (assignments): 52 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/0.8267, allocations: 0.8693 MB / 0.8523 GB, free: 7.059 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002435/0.8292, allocations: 1.255 MB / 0.8535 GB, free: 6.484 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8292, allocations: 0 / 0.8535 GB, free: 6.484 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.8308, allocations: 0.9565 MB / 0.8545 GB, free: 5.969 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008287/0.8316, allocations: 141.8 kB / 0.8546 GB, free: 5.926 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.8344, allocations: 1.992 MB / 0.8566 GB, free: 4.676 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.8348, allocations: 0.9206 MB / 0.8575 GB, free: 3.883 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007964/0.8356, allocations: 172.2 kB / 0.8576 GB, free: 3.789 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.8359, allocations: 85.67 kB / 0.8577 GB, free: 3.766 MB / 0.573 GB Notification: Performance of SimCode: time 6.21e-07/0.8359, allocations: 0 / 0.8577 GB, free: 3.766 MB / 0.573 GB Notification: Performance of Templates: time 0.02801/0.864, allocations: 18.57 MB / 0.8758 GB, free: 2.801 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches