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.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.001583/0.001583, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001778/0.001778, allocations: 214.1 kB / 22.99 MB, free: 4.941 MB / 14.72 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 1.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.737/0.737, allocations: 100.9 MB / 414 MB, free: 2.855 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 84.7 kB / 0.5653 GB, free: 35.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1167, allocations: 74.62 MB / 0.6382 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4925/0.6092, allocations: 176 MB / 0.81 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.6216, allocations: 13.5 MB / 0.8232 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008049/0.6224, allocations: 61.41 kB / 0.8232 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.6236, allocations: 468.6 kB / 0.8237 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.6268, allocations: 1.367 MB / 0.825 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.63, allocations: 1.398 MB / 0.8264 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.6314, allocations: 1.387 MB / 0.8277 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.6316, allocations: 165.5 kB / 0.8279 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.6335, allocations: 1.135 MB / 0.829 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004987/0.634, allocations: 474.9 kB / 0.8294 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.14e-05/0.6341, allocations: 76.03 kB / 0.8295 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.6379, allocations: 2.436 MB / 0.8319 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.6381, allocations: 204.9 kB / 0.8321 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003542/0.6384, allocations: 411 kB / 0.8325 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.6408, allocations: 1.893 MB / 0.8343 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6408, allocations: 0 / 0.8343 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.163e-06/0.6408, allocations: 0 / 0.8343 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.6408, allocations: 4 kB / 0.8343 GB, free: 8.844 MB / 0.5919 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.002486/0.6433, allocations: 1.502 MB / 0.8358 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.6433, allocations: 14.53 kB / 0.8358 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.6449, allocations: 254.2 kB / 0.8361 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.6463, allocations: 0.7012 MB / 0.8367 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002881/0.6465, allocations: 288.8 kB / 0.837 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.6467, allocations: 77.94 kB / 0.8371 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.6481, allocations: 0.7972 MB / 0.8379 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6481, allocations: 0 / 0.8379 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.6482, allocations: 32.44 kB / 0.8379 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.6482, allocations: 16.09 kB / 0.8379 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.6496, allocations: 0.6792 MB / 0.8386 GB, free: 5.922 MB / 0.5919 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.003311/0.6529, allocations: 1.837 MB / 0.8404 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.6542, allocations: 0.5559 MB / 0.8409 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.6548, allocations: 300.6 kB / 0.8412 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.655, allocations: 76.66 kB / 0.8413 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.655, allocations: 48.41 kB / 0.8413 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 1.783e-06/0.655, allocations: 0 / 0.8413 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.004568/0.6596, allocations: 1.473 MB / 0.8428 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.6596, allocations: 57.25 kB / 0.8428 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006747/0.6603, allocations: 0.6128 MB / 0.8434 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.6604, allocations: 40.89 kB / 0.8435 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.6607, allocations: 457.6 kB / 0.8439 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.6609, allocations: 207.8 kB / 0.8441 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.661, allocations: 110.6 kB / 0.8442 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6612, allocations: 326.8 kB / 0.8445 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000532/0.6617, allocations: 228 kB / 0.8447 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.6623, allocations: 298.3 kB / 0.845 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.6634, allocations: 0.508 MB / 0.8455 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6634, allocations: 0 / 0.8455 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002218/0.6657, allocations: 0.9265 MB / 0.8464 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.6657, allocations: 7.656 kB / 0.8464 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.6657, allocations: 4.062 kB / 0.8464 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007171/0.6664, allocations: 216.2 kB / 0.8466 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.6669, allocations: 115 kB / 0.8467 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/0.6725, allocations: 4.657 MB / 0.8513 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.673, allocations: 71.67 kB / 0.8514 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/0.6731, allocations: 37.55 kB / 0.8514 GB, free: 12.43 MB / 0.6075 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 (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 {(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.0003327/0.6734, allocations: 196.6 kB / 0.8516 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.6736, allocations: 84.78 kB / 0.8517 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.6765, allocations: 1.303 MB / 0.8529 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.6765, allocations: 5.188 kB / 0.8529 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6766, allocations: 6.125 kB / 0.8529 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6766, allocations: 6.75 kB / 0.8529 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/0.6801, allocations: 1.628 MB / 0.8545 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.6801, allocations: 1.281 kB / 0.8545 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/0.6806, allocations: 109.4 kB / 0.8546 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006778/0.6813, allocations: 218.8 kB / 0.8549 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.6813, allocations: 26.14 kB / 0.8549 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005626/0.687, allocations: 4.651 MB / 0.8594 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.687, allocations: 2.562 kB / 0.8594 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002973/0.6899, allocations: 1.327 MB / 0.8607 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.6903, allocations: 127.2 kB / 0.8608 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.6904, allocations: 27.94 kB / 0.8609 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.6908, allocations: 39.97 kB / 0.8609 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.691, allocations: 56.56 kB / 0.861 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/0.691, allocations: 31.98 kB / 0.861 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005748/0.6916, allocations: 451 kB / 0.8614 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6916, allocations: 0 / 0.8614 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001021/0.6926, allocations: 359.1 kB / 0.8618 GB, free: 4.16 MB / 0.6075 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.0007558/0.6934, allocations: 466.1 kB / 0.8622 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002015/0.6954, allocations: 0.9551 MB / 0.8631 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6954, allocations: 4 kB / 0.8631 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.6967, allocations: 0.7137 MB / 0.8638 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/0.6975, allocations: 188.4 kB / 0.864 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.7009, allocations: 1.886 MB / 0.8659 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.7013, allocations: 408.5 kB / 0.8662 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.7017, allocations: 123.4 kB / 0.8664 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.7017, allocations: 0 / 0.8664 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of Templates: time 0.03341/0.7351, allocations: 26.32 MB / 0.8921 GB, free: 5 MB / 0.6387 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/jenkins1/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: 11.092741364147514]