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.001134/0.001134, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001331/0.001331, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8635/0.8635, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4908/0.4908, allocations: 80.19 MB / 340.1 MB, free: 7.543 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.4936 GB, free: 6.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.979e-05, allocations: 4.672 kB / 0.4936 GB, free: 6.309 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.3704/0.3704, allocations: 179.9 MB / 0.6692 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.007213/0.3776, allocations: 10.12 MB / 0.6791 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008055/0.3784, allocations: 63.78 kB / 0.6792 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0009585/0.3794, allocations: 487 kB / 0.6797 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.382, allocations: 1.465 MB / 0.6811 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.3844, allocations: 1.425 MB / 0.6825 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.3855, allocations: 1.581 MB / 0.684 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.3858, allocations: 158.2 kB / 0.6842 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.3873, allocations: 1.429 MB / 0.6856 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.3876, allocations: 402.9 kB / 0.686 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.3877, allocations: 79.84 kB / 0.686 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.3906, allocations: 2.44 MB / 0.6884 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.3907, allocations: 206.1 kB / 0.6886 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.3909, allocations: 354.4 kB / 0.689 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.3929, allocations: 1.999 MB / 0.6909 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3929, allocations: 0.8125 kB / 0.6909 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3929, allocations: 0 / 0.6909 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.393, allocations: 0.9375 kB / 0.6909 GB, free: 3.148 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.001561/0.3945, allocations: 1.523 MB / 0.6924 GB, free: 2.359 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3946, allocations: 15.72 kB / 0.6924 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.3954, allocations: 267 kB / 0.6927 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00083/0.3963, allocations: 0.7224 MB / 0.6934 GB, free: 2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.3964, allocations: 290.4 kB / 0.6936 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.3965, allocations: 71.03 kB / 0.6937 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008323/0.3973, allocations: 0.8152 MB / 0.6945 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3973, allocations: 0.875 kB / 0.6945 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.3974, allocations: 30.06 kB / 0.6945 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3974, allocations: 23.86 kB / 0.6946 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008107/0.3982, allocations: 0.6884 MB / 0.6952 GB, free: 1.637 MB / 0.5417 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.002002/0.4002, allocations: 2.029 MB / 0.6972 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007641/0.401, allocations: 0.5557 MB / 0.6978 GB, free: 0.8828 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.4013, allocations: 298.7 kB / 0.698 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.4014, allocations: 80.69 kB / 0.6981 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.4014, allocations: 38.94 kB / 0.6982 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=59): time 2.274e-06/0.4014, allocations: 0 / 0.6982 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59): time 0.002387/0.4038, allocations: 1.476 MB / 0.6996 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.4039, allocations: 56.94 kB / 0.6997 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.4043, allocations: 0.6447 MB / 0.7003 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.4043, allocations: 38.3 kB / 0.7003 GB, free: 496 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.4045, allocations: 466.8 kB / 0.7008 GB, free: 300 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.367e-05/0.4045, allocations: 218.7 kB / 0.701 GB, free: 152 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.4046, allocations: 112.4 kB / 0.7011 GB, free: 136 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.4047, allocations: 327.8 kB / 0.7014 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.405, allocations: 232.8 kB / 0.7016 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.4053, allocations: 304 kB / 0.7019 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.406, allocations: 0.53 MB / 0.7024 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.406, allocations: 2.938 kB / 0.7024 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001288/0.4072, allocations: 0.9503 MB / 0.7034 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4073, allocations: 5.844 kB / 0.7034 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4073, allocations: 3.25 kB / 0.7034 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/0.4077, allocations: 212 kB / 0.7036 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.4079, allocations: 122.8 kB / 0.7037 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.4113, allocations: 4.696 MB / 0.7083 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.4116, allocations: 71.05 kB / 0.7083 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.4116, allocations: 37.66 kB / 0.7084 GB, free: 11.94 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (59): * Single equations (assignments): 56 * 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 {(2,2,100.0%), (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.0002615/0.4119, allocations: 213.2 kB / 0.7086 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/0.412, allocations: 84.59 kB / 0.7087 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.4136, allocations: 1.297 MB / 0.7099 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4136, allocations: 10.69 kB / 0.7099 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4136, allocations: 2.219 kB / 0.7099 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4136, allocations: 7.266 kB / 0.7099 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.4156, allocations: 1.647 MB / 0.7115 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4156, allocations: 4.328 kB / 0.7116 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.4158, allocations: 106.5 kB / 0.7117 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003661/0.4162, allocations: 219 kB / 0.7119 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.4162, allocations: 26.14 kB / 0.7119 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002866/0.4191, allocations: 4.64 MB / 0.7164 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4191, allocations: 2.688 kB / 0.7164 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.4209, allocations: 1.334 MB / 0.7177 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.4211, allocations: 129.3 kB / 0.7178 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.4212, allocations: 17.81 kB / 0.7179 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.4214, allocations: 34.27 kB / 0.7179 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.4215, allocations: 61.09 kB / 0.718 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.4215, allocations: 31.81 kB / 0.718 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003438/0.4218, allocations: 470.5 kB / 0.7184 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.4218, allocations: 0 / 0.7184 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007748/0.4226, allocations: 381.7 kB / 0.7188 GB, free: 6.52 MB / 0.5573 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 {(2,2,100.0%), (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.0005478/0.4232, allocations: 488.8 kB / 0.7193 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.4243, allocations: 1.006 MB / 0.7202 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4243, allocations: 0 / 0.7202 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.425, allocations: 0.7052 MB / 0.7209 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007476/0.4257, allocations: 279.8 kB / 0.7212 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.4278, allocations: 1.771 MB / 0.7229 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.4281, allocations: 416.3 kB / 0.7233 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.4283, allocations: 132.3 kB / 0.7235 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/0.4283, allocations: 0 / 0.7235 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of Templates: time 0.02081/0.4492, allocations: 27.46 MB / 0.7503 GB, free: 13.43 MB / 0.5886 GB " [Timeout remaining time 660] 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: 7.546945723704994]