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.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.001767/0.001767, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002127/0.002127, allocations: 166 kB / 22.45 MB, free: 5.375 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.498/1.498, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.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.9954/0.9954, allocations: 116 MB / 375.2 MB, free: 7.539 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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,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 1.342e-06/1.342e-06, allocations: 0 / 0.5537 GB, free: 13.78 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.603e-05, allocations: 2.281 kB / 0.5537 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5831/0.5831, allocations: 191.3 MB / 0.7406 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.5984, allocations: 12.51 MB / 0.7528 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.6003, allocations: 80.97 kB / 0.7529 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.602, allocations: 0.5709 MB / 0.7534 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005335/0.6073, allocations: 1.923 MB / 0.7553 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.6117, allocations: 1.728 MB / 0.757 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002332/0.6141, allocations: 1.982 MB / 0.7589 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004109/0.6145, allocations: 179.6 kB / 0.7591 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/0.6174, allocations: 1.615 MB / 0.7607 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006742/0.618, allocations: 0.4957 MB / 0.7612 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.6182, allocations: 92.97 kB / 0.7612 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006019/0.6242, allocations: 3.333 MB / 0.7645 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.6245, allocations: 260 kB / 0.7647 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005958/0.6251, allocations: 438.3 kB / 0.7652 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.6296, allocations: 2.54 MB / 0.7676 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6296, allocations: 0 / 0.7676 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6296, allocations: 0 / 0.7676 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.745e-05/0.6296, allocations: 2.656 kB / 0.7676 GB, free: 2.594 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003124/0.6328, allocations: 1.869 MB / 0.7695 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.6328, allocations: 11.78 kB / 0.7695 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.6349, allocations: 312.7 kB / 0.7698 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.6365, allocations: 0.8806 MB / 0.7706 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.6367, allocations: 298 kB / 0.7709 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.6368, allocations: 95.42 kB / 0.771 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.6385, allocations: 1.002 MB / 0.772 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.6386, allocations: 4 kB / 0.772 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.6387, allocations: 36.31 kB / 0.772 GB, free: 96 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.6387, allocations: 22.81 kB / 0.7721 GB, free: 96 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.6407, allocations: 0.852 MB / 0.7729 GB, free: 15.91 MB / 0.6075 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.004701/0.6454, allocations: 2.726 MB / 0.7755 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.6473, allocations: 0.8139 MB / 0.7763 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007484/0.6481, allocations: 377 kB / 0.7767 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003457/0.6484, allocations: 108.1 kB / 0.7768 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.6485, allocations: 38.69 kB / 0.7768 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.735e-06/0.6485, allocations: 0 / 0.7768 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.00571/0.6542, allocations: 1.717 MB / 0.7785 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.6542, allocations: 58.16 kB / 0.7786 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009982/0.6552, allocations: 0.789 MB / 0.7793 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.921e-05/0.6553, allocations: 39.67 kB / 0.7794 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.6558, allocations: 0.5476 MB / 0.7799 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.6561, allocations: 296.6 kB / 0.7802 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.6564, allocations: 149.2 kB / 0.7803 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6565, allocations: 336.8 kB / 0.7807 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/0.6572, allocations: 287.5 kB / 0.7809 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.658, allocations: 387.8 kB / 0.7813 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.6596, allocations: 0.6723 MB / 0.782 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6596, allocations: 0 / 0.782 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00308/0.6626, allocations: 1.169 MB / 0.7831 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6627, allocations: 6.906 kB / 0.7831 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.6627, allocations: 2.531 kB / 0.7831 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008687/0.6635, allocations: 234.4 kB / 0.7833 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.6643, allocations: 178.1 kB / 0.7835 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006601/0.6709, allocations: 4.835 MB / 0.7882 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009052/0.6718, allocations: 84.78 kB / 0.7883 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.6719, allocations: 56.31 kB / 0.7884 GB, free: 4.91 MB / 0.6075 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.0005068/0.6725, allocations: 227.4 kB / 0.7886 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.6727, allocations: 121.3 kB / 0.7887 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/0.6771, allocations: 1.733 MB / 0.7904 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.6771, allocations: 7.969 kB / 0.7904 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.6772, allocations: 18.59 kB / 0.7904 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.6772, allocations: 7.969 kB / 0.7904 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/0.6826, allocations: 2.034 MB / 0.7924 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.6826, allocations: 0 / 0.7924 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008808/0.6835, allocations: 166.1 kB / 0.7926 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008444/0.6843, allocations: 234.5 kB / 0.7928 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.6844, allocations: 47 kB / 0.7928 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006584/0.691, allocations: 4.77 MB / 0.7975 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.691, allocations: 0 / 0.7975 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004253/0.6953, allocations: 1.659 MB / 0.7991 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/0.6958, allocations: 187 kB / 0.7993 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.6959, allocations: 27.94 kB / 0.7993 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.6965, allocations: 43.95 kB / 0.7994 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.6967, allocations: 75.97 kB / 0.7994 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.964e-05/0.6968, allocations: 47.97 kB / 0.7995 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007584/0.6976, allocations: 0.5369 MB / 0.8 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.6976, allocations: 0 / 0.8 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001531/0.6991, allocations: 0.4988 MB / 0.8005 GB, free: 9.07 MB / 0.6231 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.001149/0.7003, allocations: 0.5917 MB / 0.8011 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.7031, allocations: 1.186 MB / 0.8022 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.7031, allocations: 0 / 0.8022 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.7047, allocations: 0.8141 MB / 0.803 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.7066, allocations: 364.1 kB / 0.8034 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/0.712, allocations: 2.245 MB / 0.8056 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.7126, allocations: 0.5081 MB / 0.8061 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001631/0.7142, allocations: 0.6271 MB / 0.8067 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004646/0.7147, allocations: 148.4 kB / 0.8068 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of SimCode: time 1.723e-06/0.7147, allocations: 4 kB / 0.8068 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of Templates: time 0.04171/0.7564, allocations: 22.11 MB / 0.8284 GB, free: 12.81 MB / 0.6544 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.415350321680307]