Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001491/0.001491, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001687/0.001687, allocations: 216.1 kB / 23.01 MB, free: 4.609 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.35/1.35, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7101/0.7101, allocations: 100.3 MB / 413.5 MB, free: 3.703 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_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.002368/0.002368, allocations: 92.2 kB / 0.5645 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1073, allocations: 74.46 MB / 0.6372 GB, free: 7.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4746/0.5819, allocations: 203.1 MB / 0.8355 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.5968, allocations: 15.01 MB / 0.8502 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.5978, allocations: 62.97 kB / 0.8503 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.5991, allocations: 0.5172 MB / 0.8508 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.6025, allocations: 1.374 MB / 0.8521 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.6057, allocations: 1.419 MB / 0.8535 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.6072, allocations: 1.399 MB / 0.8549 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/0.6075, allocations: 178.2 kB / 0.855 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.6094, allocations: 1.143 MB / 0.8561 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005426/0.6099, allocations: 0.5089 MB / 0.8566 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.337e-05/0.61, allocations: 78.78 kB / 0.8567 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.6142, allocations: 2.609 MB / 0.8593 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.6144, allocations: 200.8 kB / 0.8595 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.6148, allocations: 0.5082 MB / 0.8599 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.6175, allocations: 1.904 MB / 0.8618 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6175, allocations: 0 / 0.8618 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6175, allocations: 0 / 0.8618 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.6175, allocations: 0 / 0.8618 GB, free: 10.77 MB / 0.6075 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.002565/0.6201, allocations: 1.517 MB / 0.8633 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.6201, allocations: 11.5 kB / 0.8633 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.6217, allocations: 250.5 kB / 0.8635 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.623, allocations: 0.7089 MB / 0.8642 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.6232, allocations: 256.1 kB / 0.8645 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.6233, allocations: 84.09 kB / 0.8646 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.6248, allocations: 0.8173 MB / 0.8654 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.6248, allocations: 0 / 0.8654 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.6248, allocations: 27.31 kB / 0.8654 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.6248, allocations: 15.56 kB / 0.8654 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.6262, allocations: 0.6559 MB / 0.866 GB, free: 7.641 MB / 0.6075 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.004178/0.6304, allocations: 2.95 MB / 0.8689 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.6316, allocations: 0.5567 MB / 0.8695 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006762/0.6323, allocations: 328.5 kB / 0.8698 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.6326, allocations: 88.41 kB / 0.8699 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.6326, allocations: 39.06 kB / 0.8699 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 1.623e-06/0.6326, allocations: 0 / 0.8699 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.004554/0.6372, allocations: 1.447 MB / 0.8713 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.6372, allocations: 59.91 kB / 0.8714 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008189/0.638, allocations: 0.6652 MB / 0.872 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.6381, allocations: 33.7 kB / 0.872 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.6384, allocations: 444.8 kB / 0.8725 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.6386, allocations: 214.1 kB / 0.8727 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.6388, allocations: 110.3 kB / 0.8728 GB, free: 440 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.639, allocations: 326 kB / 0.8731 GB, free: 108 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/0.6396, allocations: 257.2 kB / 0.8733 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/0.6402, allocations: 269.6 kB / 0.8736 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.6414, allocations: 0.5246 MB / 0.8741 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6414, allocations: 0 / 0.8741 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002673/0.6441, allocations: 1.018 MB / 0.8751 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6441, allocations: 8 kB / 0.8751 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6441, allocations: 4 kB / 0.8751 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007625/0.6449, allocations: 234.3 kB / 0.8753 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/0.6456, allocations: 147.8 kB / 0.8755 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/0.6515, allocations: 4.788 MB / 0.8802 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.652, allocations: 67.69 kB / 0.8802 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.6521, allocations: 39.98 kB / 0.8803 GB, free: 8.402 MB / 0.6231 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 (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.0003429/0.6524, allocations: 199.8 kB / 0.8804 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.6526, allocations: 91.39 kB / 0.8805 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003431/0.656, allocations: 1.404 MB / 0.8819 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.656, allocations: 8 kB / 0.8819 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.656, allocations: 3.938 kB / 0.8819 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.656, allocations: 3.984 kB / 0.8819 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004225/0.6603, allocations: 1.992 MB / 0.8839 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6603, allocations: 0 / 0.8839 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007172/0.661, allocations: 139.8 kB / 0.884 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006973/0.6617, allocations: 230.4 kB / 0.8842 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.6617, allocations: 27.98 kB / 0.8842 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005806/0.6675, allocations: 4.808 MB / 0.8889 GB, free: 15.05 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6675, allocations: 0.625 kB / 0.8889 GB, free: 15.05 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/0.671, allocations: 1.416 MB / 0.8903 GB, free: 13.59 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.6713, allocations: 131.3 kB / 0.8904 GB, free: 13.46 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.6714, allocations: 19.94 kB / 0.8905 GB, free: 13.44 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.6719, allocations: 43.95 kB / 0.8905 GB, free: 13.4 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.672, allocations: 52.34 kB / 0.8906 GB, free: 13.35 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.6721, allocations: 39.98 kB / 0.8906 GB, free: 13.31 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0006042/0.6727, allocations: 479 kB / 0.8911 GB, free: 12.84 MB / 0.6388 GB Notification: Performance of sort global known variables: time 9e-08/0.6727, allocations: 0 / 0.8911 GB, free: 12.84 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.001003/0.6737, allocations: 391 kB / 0.8914 GB, free: 12.46 MB / 0.6388 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 (53): * Single equations (assignments): 50 * 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.0007733/0.6744, allocations: 491 kB / 0.8919 GB, free: 11.98 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.6767, allocations: 1.034 MB / 0.8929 GB, free: 10.91 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6767, allocations: 3.938 kB / 0.8929 GB, free: 10.9 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.6782, allocations: 0.7839 MB / 0.8937 GB, free: 10.08 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/0.6792, allocations: 210.8 kB / 0.8939 GB, free: 9.891 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.6824, allocations: 1.891 MB / 0.8957 GB, free: 7.941 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.6831, allocations: 1.001 MB / 0.8967 GB, free: 6.914 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.6835, allocations: 131.4 kB / 0.8968 GB, free: 6.785 MB / 0.6388 GB Notification: Performance of SimCode: time 6.82e-07/0.6835, allocations: 0 / 0.8968 GB, free: 6.785 MB / 0.6388 GB Notification: Performance of Templates: time 0.03155/0.715, allocations: 26.61 MB / 0.9228 GB, free: 12.21 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.347519668051973]