Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.0008167/0.0008167, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008054/0.0008054, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8384/0.8384, allocations: 177.1 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.4734/0.4734, allocations: 80.17 MB / 340.1 MB, free: 7.551 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.4936 GB, free: 6.363 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.619e-05, allocations: 2.281 kB / 0.4936 GB, free: 6.359 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.3624/0.3624, allocations: 191.3 MB / 0.6804 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008418/0.3708, allocations: 12.5 MB / 0.6926 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006363/0.3715, allocations: 72.94 kB / 0.6927 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3725, allocations: 0.5747 MB / 0.6932 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.3754, allocations: 1.913 MB / 0.6951 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.378, allocations: 1.702 MB / 0.6967 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.3792, allocations: 1.972 MB / 0.6987 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.3794, allocations: 184.2 kB / 0.6988 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.3811, allocations: 1.601 MB / 0.7004 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.3814, allocations: 0.4984 MB / 0.7009 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.083e-05/0.3815, allocations: 92.59 kB / 0.701 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.3847, allocations: 3.325 MB / 0.7042 GB, free: 2.742 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3849, allocations: 264.5 kB / 0.7045 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.3851, allocations: 435.6 kB / 0.7049 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.3871, allocations: 2.51 MB / 0.7074 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3871, allocations: 0.9062 kB / 0.7074 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3871, allocations: 0 / 0.7074 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.3871, allocations: 0.7188 kB / 0.7074 GB, free: 2.344 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001753/0.3889, allocations: 1.843 MB / 0.7092 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.3889, allocations: 7.406 kB / 0.7092 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.3899, allocations: 313.3 kB / 0.7095 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009675/0.3908, allocations: 0.8551 MB / 0.7103 GB, free: 1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.391, allocations: 305.2 kB / 0.7106 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3911, allocations: 94.42 kB / 0.7107 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.3921, allocations: 1.004 MB / 0.7117 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3921, allocations: 0 / 0.7117 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.3921, allocations: 42.41 kB / 0.7117 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3922, allocations: 25.47 kB / 0.7117 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009952/0.3932, allocations: 0.8278 MB / 0.7125 GB, free: 0.6016 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.002458/0.3956, allocations: 2.724 MB / 0.7152 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.3967, allocations: 0.8093 MB / 0.716 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.3971, allocations: 378.5 kB / 0.7163 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.3973, allocations: 104.8 kB / 0.7164 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.3973, allocations: 46.16 kB / 0.7165 GB, free: 15 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 2.004e-06/0.3973, allocations: 1.969 kB / 0.7165 GB, free: 15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80): time 0.00277/0.4001, allocations: 1.733 MB / 0.7182 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.4001, allocations: 57.25 kB / 0.7182 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/0.4007, allocations: 0.7665 MB / 0.719 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.4007, allocations: 41.17 kB / 0.719 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.401, allocations: 0.5489 MB / 0.7196 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.4011, allocations: 291.5 kB / 0.7198 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.4013, allocations: 155.3 kB / 0.72 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.4014, allocations: 339.3 kB / 0.7203 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.4017, allocations: 284.7 kB / 0.7206 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.4021, allocations: 388.2 kB / 0.721 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.4029, allocations: 0.6734 MB / 0.7216 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4029, allocations: 0 / 0.7216 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001486/0.4044, allocations: 1.16 MB / 0.7227 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4045, allocations: 11.53 kB / 0.7228 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4045, allocations: 0 / 0.7228 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/0.4049, allocations: 236.1 kB / 0.723 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.4053, allocations: 182.1 kB / 0.7232 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.4086, allocations: 4.829 MB / 0.7279 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.4089, allocations: 87.39 kB / 0.7279 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.409, allocations: 53.67 kB / 0.728 GB, free: 7.051 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 (84): * Single equations (assignments): 81 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002445/0.4092, allocations: 228.4 kB / 0.7282 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.4094, allocations: 110.4 kB / 0.7283 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.4114, allocations: 1.736 MB / 0.73 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.4114, allocations: 10.81 kB / 0.73 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4114, allocations: 3.031 kB / 0.73 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4114, allocations: 7.969 kB / 0.73 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.4138, allocations: 2.048 MB / 0.732 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4138, allocations: 5.344 kB / 0.732 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.4142, allocations: 168.7 kB / 0.7322 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003971/0.4146, allocations: 237.3 kB / 0.7324 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.4146, allocations: 35.39 kB / 0.7325 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00321/0.4178, allocations: 4.773 MB / 0.7371 GB, free: 116 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4178, allocations: 3.188 kB / 0.7371 GB, free: 116 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.4198, allocations: 1.665 MB / 0.7388 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.42, allocations: 178.5 kB / 0.7389 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.4201, allocations: 25.02 kB / 0.739 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.4203, allocations: 41.09 kB / 0.739 GB, free: 15.02 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.4204, allocations: 87.55 kB / 0.7391 GB, free: 14.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.4205, allocations: 47.17 kB / 0.7391 GB, free: 14.96 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004056/0.4209, allocations: 0.5278 MB / 0.7396 GB, free: 14.65 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.4209, allocations: 0 / 0.7396 GB, free: 14.65 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008709/0.4217, allocations: 0.4989 MB / 0.7401 GB, free: 14.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (78): * Single equations (assignments): 75 * 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 {(1,4,100.0%), (1,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006599/0.4224, allocations: 0.5905 MB / 0.7407 GB, free: 14.23 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.4238, allocations: 1.188 MB / 0.7419 GB, free: 13.03 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4238, allocations: 0 / 0.7419 GB, free: 13.03 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009525/0.4247, allocations: 0.8143 MB / 0.7427 GB, free: 12.19 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008989/0.4256, allocations: 374.4 kB / 0.743 GB, free: 11.83 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.4281, allocations: 2.256 MB / 0.7452 GB, free: 9.543 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.4284, allocations: 0.4961 MB / 0.7457 GB, free: 9.012 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.4287, allocations: 184.4 kB / 0.7459 GB, free: 8.832 MB / 0.573 GB Notification: Performance of SimCode: time 4.21e-07/0.4287, allocations: 0 / 0.7459 GB, free: 8.832 MB / 0.573 GB Notification: Performance of Templates: time 0.02314/0.4518, allocations: 33.96 MB / 0.779 GB, free: 6.902 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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: 8.209752818569541]