Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001318/0.001318, allocations: 113.8 kB / 17.61 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.001335/0.001335, allocations: 186 kB / 20.78 MB, free: 1.547 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.439/1.439, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7418/0.7418, allocations: 94.58 MB / 399.1 MB, free: 15.78 MB / 334.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-main/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_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002543, allocations: 79.86 kB / 0.5448 GB, free: 14.16 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1467, allocations: 71.85 MB / 0.615 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5586/0.7053, allocations: 215.6 MB / 0.8256 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02421/0.7295, allocations: 17.61 MB / 0.8428 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.7307, allocations: 55.62 kB / 0.8428 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.7326, allocations: 0.6209 MB / 0.8434 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.7382, allocations: 1.772 MB / 0.8451 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006019/0.7443, allocations: 1.675 MB / 0.8468 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.7474, allocations: 1.72 MB / 0.8485 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005856/0.748, allocations: 194.5 kB / 0.8486 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.7508, allocations: 1.218 MB / 0.8498 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.7518, allocations: 0.6413 MB / 0.8505 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.7521, allocations: 92 kB / 0.8506 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007993/0.7601, allocations: 3.47 MB / 0.8539 GB, free: 15.22 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000589/0.7607, allocations: 250.9 kB / 0.8542 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.7619, allocations: 0.6215 MB / 0.8548 GB, free: 14.35 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006221/0.7681, allocations: 2.394 MB / 0.8571 GB, free: 11.95 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7681, allocations: 0 / 0.8571 GB, free: 11.95 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7682, allocations: 4 kB / 0.8571 GB, free: 11.95 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.464e-05/0.7682, allocations: 0 / 0.8571 GB, free: 11.95 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.004699/0.7729, allocations: 1.897 MB / 0.859 GB, free: 9.988 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.773, allocations: 8.031 kB / 0.859 GB, free: 9.98 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/0.7753, allocations: 302.8 kB / 0.8593 GB, free: 9.684 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.7774, allocations: 0.9258 MB / 0.8602 GB, free: 8.715 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/0.7777, allocations: 200 kB / 0.8604 GB, free: 8.5 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.7779, allocations: 99.89 kB / 0.8605 GB, free: 8.402 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.7802, allocations: 1.009 MB / 0.8615 GB, free: 7.363 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.7802, allocations: 4 kB / 0.8615 GB, free: 7.359 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.821e-05/0.7803, allocations: 36 kB / 0.8615 GB, free: 7.324 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.7803, allocations: 24 kB / 0.8615 GB, free: 7.301 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.7823, allocations: 0.7768 MB / 0.8623 GB, free: 6.527 MB / 0.67 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.006485/0.7888, allocations: 4.116 MB / 0.8663 GB, free: 2.074 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.7909, allocations: 0.817 MB / 0.8671 GB, free: 1.25 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/0.7918, allocations: 399.2 kB / 0.8675 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.793, allocations: 1.299 MB / 0.8687 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.793, allocations: 39.78 kB / 0.8688 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 3.437e-06/0.793, allocations: 0 / 0.8688 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.005815/0.7988, allocations: 1.92 MB / 0.8706 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.7989, allocations: 68.06 kB / 0.8707 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.8003, allocations: 0.7995 MB / 0.8715 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.8004, allocations: 37.7 kB / 0.8715 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.8008, allocations: 0.5167 MB / 0.872 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.8012, allocations: 285.5 kB / 0.8723 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/0.8015, allocations: 166.5 kB / 0.8725 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8017, allocations: 333.9 kB / 0.8728 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007813/0.8024, allocations: 313.8 kB / 0.8731 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008372/0.8033, allocations: 387.1 kB / 0.8735 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.8049, allocations: 0.6861 MB / 0.8741 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.8049, allocations: 0.75 kB / 0.8741 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003414/0.8083, allocations: 1.237 MB / 0.8753 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.8083, allocations: 4 kB / 0.8753 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.8084, allocations: 4 kB / 0.8753 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009531/0.8093, allocations: 251 kB / 0.8756 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.8104, allocations: 199.7 kB / 0.8758 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007104/0.8175, allocations: 5.226 MB / 0.8809 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/0.8183, allocations: 95.64 kB / 0.881 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.8184, allocations: 55.98 kB / 0.881 GB, free: 2.078 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.0004703/0.8189, allocations: 225.7 kB / 0.8812 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.8191, allocations: 111.2 kB / 0.8813 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/0.8236, allocations: 1.83 MB / 0.8831 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.8236, allocations: 8 kB / 0.8831 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.8237, allocations: 4 kB / 0.8831 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.8237, allocations: 7.969 kB / 0.8831 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/0.8291, allocations: 2.499 MB / 0.8856 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.8292, allocations: 0 / 0.8856 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.8302, allocations: 199.9 kB / 0.8858 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008032/0.831, allocations: 246.3 kB / 0.886 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/0.8311, allocations: 39.91 kB / 0.886 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006756/0.8379, allocations: 5.242 MB / 0.8912 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8379, allocations: 0 / 0.8912 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004158/0.8421, allocations: 1.729 MB / 0.8929 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.8426, allocations: 252.1 kB / 0.8931 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.8427, allocations: 27.92 kB / 0.8931 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/0.8433, allocations: 43.97 kB / 0.8932 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.8434, allocations: 76.84 kB / 0.8932 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.896e-05/0.8435, allocations: 43.98 kB / 0.8933 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007968/0.8443, allocations: 0.5643 MB / 0.8938 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.8443, allocations: 0 / 0.8938 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001429/0.8458, allocations: 478.8 kB / 0.8943 GB, free: 3.879 MB / 0.7012 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.001229/0.847, allocations: 0.5851 MB / 0.8949 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002849/0.8498, allocations: 1.207 MB / 0.896 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.8498, allocations: 4.125 kB / 0.896 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.8516, allocations: 0.8842 MB / 0.8969 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.853, allocations: 265.2 kB / 0.8972 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/0.8578, allocations: 2.374 MB / 0.8995 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007981/0.8586, allocations: 1.088 MB / 0.9005 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001435/0.8601, allocations: 0.6307 MB / 0.9012 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.8605, allocations: 147.3 kB / 0.9013 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of SimCode: time 1.463e-06/0.8605, allocations: 4 kB / 0.9013 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.393/1.254, allocations: 20.24 MB / 0.9211 GB, free: 129.8 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.489903315901756]