Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 221.3 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7238/0.7238, allocations: 94.62 MB / 407.8 MB, free: 8.93 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 83 kB / 0.5562 GB, free: 38.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.107, allocations: 73.06 MB / 0.6275 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4921/0.5991, allocations: 176 MB / 0.7993 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.6107, allocations: 13.51 MB / 0.8125 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008381/0.6115, allocations: 64.09 kB / 0.8126 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.6127, allocations: 468.1 kB / 0.813 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.6158, allocations: 1.37 MB / 0.8144 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.6186, allocations: 1.399 MB / 0.8157 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.6198, allocations: 1.393 MB / 0.8171 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.62, allocations: 160.4 kB / 0.8173 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.6216, allocations: 1.139 MB / 0.8184 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.622, allocations: 469.8 kB / 0.8188 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.494e-05/0.6221, allocations: 81.81 kB / 0.8189 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.6255, allocations: 2.452 MB / 0.8213 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.6256, allocations: 203.4 kB / 0.8215 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.6258, allocations: 415.8 kB / 0.8219 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.6277, allocations: 1.893 MB / 0.8237 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6277, allocations: 0.9375 kB / 0.8237 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6277, allocations: 0 / 0.8237 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.6277, allocations: 0.9062 kB / 0.8237 GB, free: 0.8906 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002175/0.6299, allocations: 1.512 MB / 0.8252 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.6299, allocations: 8.688 kB / 0.8252 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.6315, allocations: 255.4 kB / 0.8255 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.6328, allocations: 0.708 MB / 0.8261 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.6331, allocations: 262.8 kB / 0.8264 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.6332, allocations: 75.77 kB / 0.8265 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.6346, allocations: 0.8185 MB / 0.8273 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.6347, allocations: 2.531 kB / 0.8273 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.6347, allocations: 32.94 kB / 0.8273 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.6348, allocations: 16.75 kB / 0.8273 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.6361, allocations: 0.6391 MB / 0.8279 GB, free: 14.66 MB / 0.5919 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.0034/0.6395, allocations: 1.935 MB / 0.8298 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.6407, allocations: 0.5508 MB / 0.8304 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006308/0.6413, allocations: 317.2 kB / 0.8307 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.6415, allocations: 74.41 kB / 0.8307 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.6416, allocations: 38.53 kB / 0.8308 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 1.903e-06/0.6416, allocations: 4 kB / 0.8308 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.004337/0.6459, allocations: 1.433 MB / 0.8322 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.6459, allocations: 59.62 kB / 0.8322 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.6466, allocations: 0.6136 MB / 0.8328 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.6467, allocations: 33.7 kB / 0.8329 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.647, allocations: 454.3 kB / 0.8333 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.6472, allocations: 210.5 kB / 0.8335 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.6474, allocations: 107.7 kB / 0.8336 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6475, allocations: 332.3 kB / 0.8339 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.6481, allocations: 246.3 kB / 0.8342 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.6487, allocations: 315.3 kB / 0.8345 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.6499, allocations: 0.5462 MB / 0.835 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6499, allocations: 0 / 0.835 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002602/0.6525, allocations: 1.012 MB / 0.836 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.6526, allocations: 9.234 kB / 0.836 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6526, allocations: 0 / 0.836 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007427/0.6533, allocations: 235.5 kB / 0.8362 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/0.654, allocations: 142.4 kB / 0.8363 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/0.6598, allocations: 4.71 MB / 0.8409 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.6602, allocations: 68.34 kB / 0.841 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.6603, allocations: 40.23 kB / 0.8411 GB, free: 5.699 MB / 0.5919 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 (57): * Single equations (assignments): 54 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003079/0.6606, allocations: 199.9 kB / 0.8412 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.6607, allocations: 83.84 kB / 0.8413 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.664, allocations: 1.391 MB / 0.8427 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.664, allocations: 5.188 kB / 0.8427 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6641, allocations: 2.281 kB / 0.8427 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6641, allocations: 0 / 0.8427 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/0.6679, allocations: 1.771 MB / 0.8444 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6679, allocations: 3.625 kB / 0.8444 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.6686, allocations: 129.8 kB / 0.8445 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006732/0.6692, allocations: 236 kB / 0.8448 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.6693, allocations: 23.73 kB / 0.8448 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/0.6749, allocations: 4.695 MB / 0.8494 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6749, allocations: 4 kB / 0.8494 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.6781, allocations: 1.396 MB / 0.8507 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.6784, allocations: 128.5 kB / 0.8509 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-05/0.6784, allocations: 13.38 kB / 0.8509 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.6789, allocations: 34.75 kB / 0.8509 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.679, allocations: 61.08 kB / 0.851 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.6791, allocations: 31.98 kB / 0.851 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005296/0.6796, allocations: 445.2 kB / 0.8514 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6796, allocations: 0 / 0.8514 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009564/0.6806, allocations: 372.7 kB / 0.8518 GB, free: 13.86 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (51): * Single equations (assignments): 48 * 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,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.0006983/0.6813, allocations: 455.7 kB / 0.8522 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002339/0.6836, allocations: 1.037 MB / 0.8532 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6836, allocations: 3.938 kB / 0.8532 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.6852, allocations: 0.7671 MB / 0.854 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008489/0.6861, allocations: 186 kB / 0.8542 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.6894, allocations: 1.881 MB / 0.856 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.6898, allocations: 408.5 kB / 0.8564 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.6902, allocations: 131.4 kB / 0.8565 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.6902, allocations: 0 / 0.8565 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of Templates: time 0.03147/0.7216, allocations: 26.36 MB / 0.8823 GB, free: 14.83 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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: 10.812017506919801]