Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.001803/0.001803, 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.002043/0.002043, 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.48/1.48, allocations: 225.6 MB / 249.4 MB, free: 3.168 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.6477/0.6477, 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_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_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 87.86 kB / 0.5448 GB, free: 12.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4365, allocations: 71.84 MB / 0.615 GB, free: 4.102 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.2697/0.7061, allocations: 203 MB / 0.8132 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02142/0.7276, allocations: 15.02 MB / 0.8279 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.7287, allocations: 47.69 kB / 0.8279 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.7305, allocations: 0.5084 MB / 0.8284 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00436/0.7348, allocations: 1.36 MB / 0.8298 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.7393, allocations: 1.393 MB / 0.8311 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002976/0.7423, allocations: 1.397 MB / 0.8325 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.7428, allocations: 175.4 kB / 0.8326 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.7455, allocations: 1.098 MB / 0.8337 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008381/0.7464, allocations: 0.5092 MB / 0.8342 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.7466, allocations: 76 kB / 0.8343 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005886/0.7524, allocations: 2.551 MB / 0.8368 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.7528, allocations: 203.1 kB / 0.837 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006904/0.7535, allocations: 0.505 MB / 0.8375 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004453/0.758, allocations: 1.903 MB / 0.8393 GB, free: 14.51 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.758, allocations: 0 / 0.8393 GB, free: 14.51 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.352e-06/0.758, allocations: 0 / 0.8393 GB, free: 14.51 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.758, allocations: 0 / 0.8393 GB, free: 14.51 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003182/0.7612, allocations: 1.587 MB / 0.8409 GB, free: 12.87 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.7612, allocations: 16.03 kB / 0.8409 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.763, allocations: 243.1 kB / 0.8411 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.7646, allocations: 0.7954 MB / 0.8419 GB, free: 11.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.7649, allocations: 184.7 kB / 0.8421 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.7651, allocations: 75.95 kB / 0.8421 GB, free: 11.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.7669, allocations: 0.8219 MB / 0.8429 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.7669, allocations: 0 / 0.8429 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-05/0.767, allocations: 35.94 kB / 0.843 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.767, allocations: 16 kB / 0.843 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.7686, allocations: 0.648 MB / 0.8436 GB, free: 9.961 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.00486/0.7734, allocations: 3.225 MB / 0.8468 GB, free: 6.441 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.7748, allocations: 0.5638 MB / 0.8473 GB, free: 5.863 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007241/0.7755, allocations: 330.3 kB / 0.8476 GB, free: 5.539 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000812/0.7764, allocations: 0.8952 MB / 0.8485 GB, free: 4.441 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.7764, allocations: 39.12 kB / 0.8486 GB, free: 4.395 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 3.958e-06/0.7764, allocations: 0 / 0.8486 GB, free: 4.395 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.005088/0.7815, allocations: 1.679 MB / 0.8502 GB, free: 2.645 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.7815, allocations: 63.97 kB / 0.8503 GB, free: 2.57 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009861/0.7825, allocations: 0.669 MB / 0.8509 GB, free: 1.891 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.7826, allocations: 33.7 kB / 0.8509 GB, free: 1.852 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.783, allocations: 444.8 kB / 0.8514 GB, free: 1.414 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.7832, allocations: 206.1 kB / 0.8516 GB, free: 1.211 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.7834, allocations: 114.2 kB / 0.8517 GB, free: 1.094 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.7836, allocations: 330 kB / 0.852 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.7842, allocations: 257 kB / 0.8522 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/0.7848, allocations: 252.9 kB / 0.8525 GB, free: 276 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.7861, allocations: 0.5312 MB / 0.853 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7861, allocations: 4 kB / 0.853 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002831/0.789, allocations: 1.012 MB / 0.854 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.789, allocations: 8 kB / 0.854 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.789, allocations: 0 / 0.854 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008633/0.7899, allocations: 230.4 kB / 0.8542 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007849/0.7907, allocations: 139.8 kB / 0.8543 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/0.7971, allocations: 5.102 MB / 0.8593 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007105/0.7978, allocations: 67.69 kB / 0.8594 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.88e-05/0.7979, allocations: 35.98 kB / 0.8594 GB, free: 8.691 MB / 0.6856 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.000404/0.7983, allocations: 209.6 kB / 0.8596 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.7985, allocations: 91.39 kB / 0.8597 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003635/0.8021, allocations: 1.413 MB / 0.8611 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.8021, allocations: 7.938 kB / 0.8611 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8021, allocations: 4 kB / 0.8611 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.8021, allocations: 3.984 kB / 0.8611 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004523/0.8066, allocations: 2.094 MB / 0.8632 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.8066, allocations: 0 / 0.8632 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/0.8074, allocations: 139.8 kB / 0.8633 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007805/0.8082, allocations: 242.4 kB / 0.8635 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/0.8083, allocations: 27.91 kB / 0.8635 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.324/1.132, allocations: 5.093 MB / 0.8685 GB, free: 233.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.132, allocations: 5.188 kB / 0.8685 GB, free: 233.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/1.136, allocations: 1.413 MB / 0.8699 GB, free: 233.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/1.136, allocations: 218.1 kB / 0.8701 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.136, allocations: 18.05 kB / 0.8701 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/1.137, allocations: 37.56 kB / 0.8702 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/1.137, allocations: 64.14 kB / 0.8702 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/1.137, allocations: 30.69 kB / 0.8703 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005537/1.137, allocations: 488.5 kB / 0.8707 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/1.137, allocations: 0 / 0.8707 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00102/1.138, allocations: 371 kB / 0.8711 GB, free: 233.3 MB / 0.6856 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.0008755/1.139, allocations: 0.4885 MB / 0.8715 GB, free: 233.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00222/1.142, allocations: 1.041 MB / 0.8726 GB, free: 232.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.142, allocations: 0 / 0.8726 GB, free: 232.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/1.143, allocations: 0.7797 MB / 0.8733 GB, free: 232.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/1.144, allocations: 201.1 kB / 0.8735 GB, free: 232.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/1.148, allocations: 1.865 MB / 0.8753 GB, free: 231.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/1.148, allocations: 0.996 MB / 0.8763 GB, free: 230.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001075/1.149, allocations: 442.9 kB / 0.8767 GB, free: 230.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/1.15, allocations: 112.1 kB / 0.8768 GB, free: 230.6 MB / 0.6856 GB Notification: Performance of SimCode: time 1.433e-06/1.15, allocations: 0 / 0.8768 GB, free: 230.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.03258/1.182, allocations: 16.32 MB / 0.8928 GB, free: 225.1 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.100659814663231]