Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.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_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_OM_adaptions_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_OM_adaptions_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.0009108/0.0009108, allocations: 175.8 kB / 15.43 MB, free: 5.707 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.23/1.23, allocations: 225.7 MB / 241.9 MB, free: 14.62 MB / 202.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.0007654/0.0007654, allocations: 106.3 kB / 293.1 MB, free: 4.91 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.6625/0.6625, allocations: 90.98 MB / 435.2 MB, free: 32.91 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002854, allocations: 15.98 kB / 0.503 GB, free: 4.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2972, allocations: 69.1 MB / 0.5704 GB, free: 33.95 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4403/0.7376, allocations: 218.6 MB / 0.7839 GB, free: 31.07 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.7534, allocations: 22.44 MB / 0.8058 GB, free: 22.63 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000756/0.7541, allocations: 17.03 kB / 0.8058 GB, free: 22.63 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.7552, allocations: 395.1 kB / 0.8062 GB, free: 22.62 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002732/0.7579, allocations: 1.09 MB / 0.8073 GB, free: 22.62 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004621/0.7626, allocations: 1.968 MB / 0.8092 GB, free: 22.54 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.7639, allocations: 1.289 MB / 0.8105 GB, free: 22.54 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.7642, allocations: 208.6 kB / 0.8107 GB, free: 22.48 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.7658, allocations: 0.8924 MB / 0.8115 GB, free: 22.46 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.7662, allocations: 411.8 kB / 0.8119 GB, free: 22.46 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 6.441e-05/0.7662, allocations: 33.41 kB / 0.8119 GB, free: 22.46 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006473/0.7727, allocations: 3.926 MB / 0.8158 GB, free: 22.37 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.7729, allocations: 129.8 kB / 0.8159 GB, free: 22.37 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.7733, allocations: 396.9 kB / 0.8163 GB, free: 22.34 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003864/0.7772, allocations: 2.371 MB / 0.8186 GB, free: 22.2 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7772, allocations: 3.25 kB / 0.8186 GB, free: 22.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7772, allocations: 2.219 kB / 0.8186 GB, free: 22.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.7773, allocations: 0 / 0.8186 GB, free: 22.2 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002082/0.7793, allocations: 1.319 MB / 0.8199 GB, free: 21.43 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.7794, allocations: 13.17 kB / 0.8199 GB, free: 21.42 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.7807, allocations: 203.4 kB / 0.8201 GB, free: 21.38 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.7812, allocations: 496.3 kB / 0.8206 GB, free: 21.1 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.7814, allocations: 186.7 kB / 0.8207 GB, free: 20.97 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.7815, allocations: 70.86 kB / 0.8208 GB, free: 20.96 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.7828, allocations: 0.7204 MB / 0.8215 GB, free: 20.91 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.7828, allocations: 0 / 0.8215 GB, free: 20.91 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/0.7829, allocations: 29.28 kB / 0.8215 GB, free: 20.91 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.7829, allocations: 23.23 kB / 0.8216 GB, free: 20.91 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.7842, allocations: 0.6449 MB / 0.8222 GB, free: 20.9 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.787, allocations: 2.804 MB / 0.8249 GB, free: 19.47 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.7883, allocations: 0.657 MB / 0.8256 GB, free: 19.44 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006506/0.789, allocations: 380.4 kB / 0.8259 GB, free: 19.43 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/0.7903, allocations: 2.153 MB / 0.828 GB, free: 17.27 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.7904, allocations: 39.66 kB / 0.8281 GB, free: 17.23 MB / 0.573 GB Notification: Performance of pre-optimization done (n=63): time 2.686e-06/0.7904, allocations: 0 / 0.8281 GB, free: 17.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=63): time 0.005172/0.7956, allocations: 1.967 MB / 0.83 GB, free: 16.79 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.7956, allocations: 57.44 kB / 0.8301 GB, free: 16.73 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.7961, allocations: 390.2 kB / 0.8304 GB, free: 16.61 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.7961, allocations: 38.23 kB / 0.8305 GB, free: 16.58 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.7963, allocations: 319.2 kB / 0.8308 GB, free: 16.41 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.7964, allocations: 217 kB / 0.831 GB, free: 16.28 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.7965, allocations: 7.906 kB / 0.831 GB, free: 16.28 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.7966, allocations: 366.6 kB / 0.8313 GB, free: 15.96 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006067/0.7972, allocations: 289.3 kB / 0.8316 GB, free: 15.96 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.7978, allocations: 302.8 kB / 0.8319 GB, free: 15.95 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.799, allocations: 0.5979 MB / 0.8325 GB, free: 15.92 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7991, allocations: 4.5 kB / 0.8325 GB, free: 15.92 MB / 0.573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002705/0.8018, allocations: 1.141 MB / 0.8336 GB, free: 15.79 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.8018, allocations: 5.688 kB / 0.8336 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.8018, allocations: 2.188 kB / 0.8336 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007416/0.8026, allocations: 258.7 kB / 0.8339 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/0.8033, allocations: 147.4 kB / 0.834 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/0.8076, allocations: 4.891 MB / 0.8388 GB, free: 11.92 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.8082, allocations: 87.67 kB / 0.8389 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/0.8083, allocations: 45.17 kB / 0.8389 GB, free: 11.89 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.0002625/0.8086, allocations: 188.8 kB / 0.8391 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/0.8087, allocations: 55.91 kB / 0.8391 GB, free: 11.74 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/0.8121, allocations: 1.333 MB / 0.8404 GB, free: 11.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.8121, allocations: 6.438 kB / 0.8404 GB, free: 11.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8121, allocations: 2.469 kB / 0.8404 GB, free: 11.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.8121, allocations: 4.266 kB / 0.8404 GB, free: 11.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/0.8161, allocations: 2.145 MB / 0.8425 GB, free: 11.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.8161, allocations: 1.375 kB / 0.8425 GB, free: 11.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007168/0.8168, allocations: 151.7 kB / 0.8427 GB, free: 11.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006809/0.8175, allocations: 265.8 kB / 0.8429 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/0.8176, allocations: 28.44 kB / 0.843 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/0.8219, allocations: 4.904 MB / 0.8478 GB, free: 7.309 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.822, allocations: 1.281 kB / 0.8478 GB, free: 7.309 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/0.8254, allocations: 1.598 MB / 0.8493 GB, free: 7.047 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.8255, allocations: 138.4 kB / 0.8495 GB, free: 6.914 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.8256, allocations: 20.75 kB / 0.8495 GB, free: 6.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.8261, allocations: 63.56 kB / 0.8495 GB, free: 6.902 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.8263, allocations: 58.48 kB / 0.8496 GB, free: 6.902 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.8264, allocations: 46.73 kB / 0.8496 GB, free: 6.902 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002506/0.8266, allocations: 270.2 kB / 0.8499 GB, free: 6.824 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8266, allocations: 0 / 0.8499 GB, free: 6.824 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00138/0.828, allocations: 0.5558 MB / 0.8504 GB, free: 6.734 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.001685/0.8297, allocations: 0.8691 MB / 0.8513 GB, free: 6.484 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002336/0.8321, allocations: 1.249 MB / 0.8525 GB, free: 6.055 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8321, allocations: 0 / 0.8525 GB, free: 6.055 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.8335, allocations: 0.9628 MB / 0.8534 GB, free: 5.586 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.8343, allocations: 143.9 kB / 0.8536 GB, free: 5.551 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.837, allocations: 1.987 MB / 0.8555 GB, free: 4.312 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.8373, allocations: 0.9266 MB / 0.8564 GB, free: 3.508 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000757/0.8381, allocations: 165.6 kB / 0.8566 GB, free: 3.426 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.8384, allocations: 88.48 kB / 0.8567 GB, free: 3.398 MB / 0.573 GB Notification: Performance of SimCode: time 2.8e-07/0.8384, allocations: 0 / 0.8567 GB, free: 3.398 MB / 0.573 GB Notification: Performance of Templates: time 0.02574/0.8641, allocations: 18.59 MB / 0.8748 GB, free: 6.078 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches