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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 113.8 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 190 kB / 20.78 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6178/0.6178, allocations: 90.3 MB / 394.8 MB, free: 3.836 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002484/0.002484, allocations: 87.86 kB / 0.5386 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4663, allocations: 70.83 MB / 0.6078 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.3011/0.7673, allocations: 215.4 MB / 0.8181 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02675/0.7941, allocations: 17.52 MB / 0.8353 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.7954, allocations: 19.88 kB / 0.8353 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.7975, allocations: 0.5938 MB / 0.8359 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005766/0.8033, allocations: 1.695 MB / 0.8375 GB, free: 15.32 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005476/0.8088, allocations: 1.691 MB / 0.8392 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002721/0.8115, allocations: 1.526 MB / 0.8407 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005217/0.812, allocations: 178 kB / 0.8408 GB, free: 11.92 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.8147, allocations: 1.106 MB / 0.8419 GB, free: 10.81 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008353/0.8155, allocations: 0.6066 MB / 0.8425 GB, free: 10.2 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.8157, allocations: 96 kB / 0.8426 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007295/0.823, allocations: 3.475 MB / 0.846 GB, free: 6.621 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.8233, allocations: 239.1 kB / 0.8462 GB, free: 6.387 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007982/0.8241, allocations: 0.5673 MB / 0.8468 GB, free: 5.816 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006095/0.8302, allocations: 2.196 MB / 0.8489 GB, free: 3.613 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8302, allocations: 0 / 0.8489 GB, free: 3.613 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8302, allocations: 0 / 0.8489 GB, free: 3.613 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.8302, allocations: 4 kB / 0.8489 GB, free: 3.609 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003702/0.8339, allocations: 1.711 MB / 0.8506 GB, free: 1.84 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.834, allocations: 8.031 kB / 0.8506 GB, free: 1.832 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.836, allocations: 275 kB / 0.8508 GB, free: 1.562 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.8373, allocations: 0.6453 MB / 0.8515 GB, free: 0.875 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.8376, allocations: 196.8 kB / 0.8517 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.8377, allocations: 95.95 kB / 0.8518 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.8398, allocations: 1.009 MB / 0.8527 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.8399, allocations: 3.984 kB / 0.8527 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.504e-05/0.84, allocations: 39.94 kB / 0.8528 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.84, allocations: 24 kB / 0.8528 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.8417, allocations: 0.7807 MB / 0.8536 GB, free: 14.68 MB / 0.6856 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.00588/0.8476, allocations: 4.036 MB / 0.8575 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.8497, allocations: 0.8197 MB / 0.8583 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008296/0.8505, allocations: 395.3 kB / 0.8587 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.8518, allocations: 1.307 MB / 0.86 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.8518, allocations: 39.22 kB / 0.86 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 3.286e-06/0.8518, allocations: 0 / 0.86 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.005434/0.8573, allocations: 1.896 MB / 0.8619 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.8573, allocations: 60.06 kB / 0.8619 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.8583, allocations: 0.6216 MB / 0.8625 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.8584, allocations: 37.7 kB / 0.8626 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.8587, allocations: 432.9 kB / 0.863 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.859, allocations: 289.5 kB / 0.8632 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/0.8593, allocations: 158.6 kB / 0.8634 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.8595, allocations: 333.9 kB / 0.8637 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/0.8602, allocations: 305.8 kB / 0.864 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/0.861, allocations: 387.1 kB / 0.8644 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.8625, allocations: 0.6901 MB / 0.865 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8625, allocations: 0 / 0.865 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00317/0.8657, allocations: 1.21 MB / 0.8662 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.8657, allocations: 8 kB / 0.8662 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8657, allocations: 0 / 0.8662 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008758/0.8666, allocations: 246.3 kB / 0.8665 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00095/0.8675, allocations: 203.8 kB / 0.8667 GB, free: 452 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3579/1.225, allocations: 5.236 MB / 0.8718 GB, free: 234.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007464/1.226, allocations: 94.16 kB / 0.8719 GB, free: 234.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/1.226, allocations: 49.69 kB / 0.8719 GB, free: 234.9 MB / 0.6856 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 (82): * Single equations (assignments): 79 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003611/1.227, allocations: 224.9 kB / 0.8721 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/1.227, allocations: 91.61 kB / 0.8722 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/1.231, allocations: 1.796 MB / 0.874 GB, free: 234.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/1.231, allocations: 12.56 kB / 0.874 GB, free: 234.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.231, allocations: 3 kB / 0.874 GB, free: 234.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.231, allocations: 6.875 kB / 0.874 GB, free: 234.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/1.235, allocations: 2.431 MB / 0.8764 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.235, allocations: 3.609 kB / 0.8764 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009159/1.236, allocations: 198.5 kB / 0.8766 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007048/1.237, allocations: 246.4 kB / 0.8768 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/1.237, allocations: 32.83 kB / 0.8768 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004874/1.242, allocations: 5.244 MB / 0.8819 GB, free: 228.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.242, allocations: 2.531 kB / 0.8819 GB, free: 228.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/1.246, allocations: 1.699 MB / 0.8836 GB, free: 227.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/1.246, allocations: 240.4 kB / 0.8838 GB, free: 227.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.246, allocations: 27.06 kB / 0.8839 GB, free: 227.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/1.247, allocations: 45.97 kB / 0.8839 GB, free: 227.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/1.247, allocations: 69.06 kB / 0.884 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-05/1.247, allocations: 51.06 kB / 0.884 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005922/1.248, allocations: 446.5 kB / 0.8844 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/1.248, allocations: 0 / 0.8844 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001423/1.249, allocations: 475.9 kB / 0.8849 GB, free: 227.3 MB / 0.6856 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%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/1.25, allocations: 0.5819 MB / 0.8855 GB, free: 227.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002638/1.253, allocations: 1.213 MB / 0.8867 GB, free: 226.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.253, allocations: 0 / 0.8867 GB, free: 226.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/1.254, allocations: 0.8808 MB / 0.8875 GB, free: 226.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/1.256, allocations: 250.2 kB / 0.8878 GB, free: 226 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/1.26, allocations: 2.137 MB / 0.8898 GB, free: 224.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000747/1.261, allocations: 1.019 MB / 0.8908 GB, free: 224.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001467/1.262, allocations: 0.6069 MB / 0.8914 GB, free: 224 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/1.263, allocations: 134.4 kB / 0.8916 GB, free: 223.9 MB / 0.6856 GB Notification: Performance of SimCode: time 1.503e-06/1.263, allocations: 0 / 0.8916 GB, free: 223.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.03458/1.297, allocations: 19.76 MB / 0.9109 GB, free: 215.9 MB / 0.6856 GB " [Timeout remaining time 659] 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: 7.456580674275756]