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.001893/0.001893, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00255/0.00255, allocations: 215.8 kB / 22.25 MB, free: 5.082 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 8.02 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.7781/0.7781, allocations: 94.55 MB / 407 MB, free: 9.207 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.002713/0.002713, allocations: 83.8 kB / 0.5554 GB, free: 38.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1241, allocations: 73.06 MB / 0.6268 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5256/0.6497, allocations: 203.1 MB / 0.8251 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.666, allocations: 15.02 MB / 0.8398 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.6671, allocations: 60.66 kB / 0.8398 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.6686, allocations: 0.5221 MB / 0.8403 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.6724, allocations: 1.387 MB / 0.8417 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.6762, allocations: 1.409 MB / 0.8431 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.6781, allocations: 1.398 MB / 0.8444 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.6785, allocations: 166.6 kB / 0.8446 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.6808, allocations: 1.135 MB / 0.8457 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007306/0.6815, allocations: 0.5152 MB / 0.8462 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.6816, allocations: 76.09 kB / 0.8463 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005543/0.6872, allocations: 2.616 MB / 0.8488 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.6875, allocations: 204.6 kB / 0.849 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007192/0.6883, allocations: 0.4999 MB / 0.8495 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.6923, allocations: 1.911 MB / 0.8514 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6923, allocations: 0 / 0.8514 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6923, allocations: 0 / 0.8514 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.428e-05/0.6924, allocations: 2.844 kB / 0.8514 GB, free: 1.008 MB / 0.5919 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.003196/0.6956, allocations: 1.512 MB / 0.8529 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6956, allocations: 10.09 kB / 0.8529 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.6973, allocations: 254.5 kB / 0.8531 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.6989, allocations: 0.7015 MB / 0.8538 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.6992, allocations: 263.8 kB / 0.8541 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.6994, allocations: 76.73 kB / 0.8541 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.701, allocations: 0.8249 MB / 0.8549 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.7011, allocations: 0 / 0.8549 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.386e-05/0.7011, allocations: 31.75 kB / 0.855 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.7012, allocations: 21.7 kB / 0.855 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.7026, allocations: 0.6429 MB / 0.8556 GB, free: 14.16 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.004617/0.7072, allocations: 2.953 MB / 0.8585 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.7085, allocations: 0.552 MB / 0.859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/0.7092, allocations: 330.7 kB / 0.8594 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.7095, allocations: 77.98 kB / 0.8594 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.7095, allocations: 41.72 kB / 0.8595 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 1.883e-06/0.7095, allocations: 0 / 0.8595 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.004953/0.7145, allocations: 1.446 MB / 0.8609 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.7145, allocations: 71.83 kB / 0.8609 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009107/0.7154, allocations: 0.6613 MB / 0.8616 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/0.7155, allocations: 37.7 kB / 0.8616 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.7159, allocations: 442.8 kB / 0.8621 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.7161, allocations: 213.2 kB / 0.8623 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.7163, allocations: 114.3 kB / 0.8624 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7164, allocations: 322 kB / 0.8627 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/0.7171, allocations: 258 kB / 0.8629 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.7178, allocations: 257.8 kB / 0.8632 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.7191, allocations: 0.5246 MB / 0.8637 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7191, allocations: 4 kB / 0.8637 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00297/0.7221, allocations: 1.014 MB / 0.8647 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.7221, allocations: 8 kB / 0.8647 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7221, allocations: 0 / 0.8647 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008305/0.7229, allocations: 226.4 kB / 0.8649 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008001/0.7237, allocations: 151.4 kB / 0.865 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006326/0.73, allocations: 4.794 MB / 0.8697 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/0.7307, allocations: 70.98 kB / 0.8698 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.7308, allocations: 39.98 kB / 0.8698 GB, free: 164 kB / 0.6075 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.0004145/0.7312, allocations: 201.7 kB / 0.87 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.7314, allocations: 87.39 kB / 0.8701 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/0.7351, allocations: 1.407 MB / 0.8715 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.7351, allocations: 4 kB / 0.8715 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.7352, allocations: 7.938 kB / 0.8715 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.7352, allocations: 3.984 kB / 0.8715 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004617/0.7398, allocations: 1.996 MB / 0.8734 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7398, allocations: 0 / 0.8734 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/0.7406, allocations: 143.7 kB / 0.8736 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007735/0.7414, allocations: 238.5 kB / 0.8738 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.7414, allocations: 23.98 kB / 0.8738 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00627/0.7477, allocations: 4.793 MB / 0.8785 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.7477, allocations: 4 kB / 0.8785 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.7514, allocations: 1.416 MB / 0.8799 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/0.7517, allocations: 140.1 kB / 0.88 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.7519, allocations: 23.94 kB / 0.8801 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.7524, allocations: 35.97 kB / 0.8801 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.7525, allocations: 56.34 kB / 0.8801 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.7526, allocations: 35.97 kB / 0.8802 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006463/0.7532, allocations: 483 kB / 0.8806 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7532, allocations: 4 kB / 0.8806 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001141/0.7543, allocations: 379 kB / 0.881 GB, free: 4.246 MB / 0.6231 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.000878/0.7552, allocations: 489.6 kB / 0.8815 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002571/0.7578, allocations: 1.037 MB / 0.8825 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7578, allocations: 0 / 0.8825 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.7595, allocations: 0.784 MB / 0.8832 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.7606, allocations: 205 kB / 0.8834 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.7641, allocations: 1.856 MB / 0.8853 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/0.7648, allocations: 0.997 MB / 0.8862 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001014/0.7658, allocations: 452.9 kB / 0.8867 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.7662, allocations: 115.4 kB / 0.8868 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of SimCode: time 7.91e-07/0.7662, allocations: 0 / 0.8868 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.03197/0.7981, allocations: 16.5 MB / 0.9029 GB, free: 13.89 MB / 0.6544 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/jenkins/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: 6.824870473705232]