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.001323/0.001323, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001456/0.001456, allocations: 221.1 kB / 23 MB, free: 4.918 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.7583/0.7583, allocations: 100.9 MB / 414.1 MB, free: 2.926 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,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: 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.002551/0.002551, allocations: 87.59 kB / 0.5653 GB, free: 35.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1205, allocations: 74.62 MB / 0.6382 GB, free: 6.008 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4823/0.6028, allocations: 187.2 MB / 0.821 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01897/0.6218, allocations: 15.83 MB / 0.8364 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009783/0.6227, allocations: 71.5 kB / 0.8365 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.6242, allocations: 0.5558 MB / 0.8371 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.6284, allocations: 1.785 MB / 0.8388 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003954/0.6324, allocations: 1.678 MB / 0.8404 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.6341, allocations: 1.716 MB / 0.8421 GB, free: 472 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.6344, allocations: 176.2 kB / 0.8423 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.6365, allocations: 1.254 MB / 0.8435 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006585/0.6371, allocations: 0.5761 MB / 0.8441 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.6373, allocations: 97.25 kB / 0.8442 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005557/0.6428, allocations: 3.328 MB / 0.8474 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.6431, allocations: 252.2 kB / 0.8476 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004901/0.6436, allocations: 0.5027 MB / 0.8481 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.6471, allocations: 2.367 MB / 0.8504 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6471, allocations: 0 / 0.8504 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6471, allocations: 0 / 0.8504 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.6471, allocations: 0 / 0.8504 GB, free: 11.8 MB / 0.6075 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.003139/0.6503, allocations: 1.821 MB / 0.8522 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.6503, allocations: 7.969 kB / 0.8522 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.6522, allocations: 297.8 kB / 0.8525 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.6539, allocations: 0.8461 MB / 0.8533 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/0.6542, allocations: 298.2 kB / 0.8536 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.6543, allocations: 90.69 kB / 0.8537 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.656, allocations: 0.9879 MB / 0.8547 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.656, allocations: 3.984 kB / 0.8547 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/0.6561, allocations: 40.22 kB / 0.8547 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.6561, allocations: 21.34 kB / 0.8547 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.6578, allocations: 0.8271 MB / 0.8555 GB, free: 8.336 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.004217/0.662, allocations: 2.521 MB / 0.858 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.6638, allocations: 0.8035 MB / 0.8588 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006953/0.6645, allocations: 384.6 kB / 0.8592 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.6648, allocations: 101.9 kB / 0.8593 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.6648, allocations: 37.5 kB / 0.8593 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.354e-06/0.6648, allocations: 2.719 kB / 0.8593 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005114/0.6699, allocations: 1.737 MB / 0.861 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.67, allocations: 60.5 kB / 0.8611 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008486/0.6708, allocations: 0.742 MB / 0.8618 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.6709, allocations: 37.7 kB / 0.8618 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.6713, allocations: 0.5203 MB / 0.8623 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.6716, allocations: 297.4 kB / 0.8626 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.6718, allocations: 146.6 kB / 0.8627 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.672, allocations: 337.9 kB / 0.8631 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006641/0.6727, allocations: 289.8 kB / 0.8633 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007411/0.6734, allocations: 371.1 kB / 0.8637 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.6748, allocations: 0.6628 MB / 0.8643 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6748, allocations: 0 / 0.8643 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002765/0.6776, allocations: 1.144 MB / 0.8655 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6776, allocations: 8 kB / 0.8655 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6776, allocations: 0 / 0.8655 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007964/0.6784, allocations: 230.1 kB / 0.8657 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.6791, allocations: 183.7 kB / 0.8659 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006104/0.6853, allocations: 4.782 MB / 0.8705 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.6859, allocations: 79.64 kB / 0.8706 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.686, allocations: 51.98 kB / 0.8707 GB, free: 10.93 MB / 0.6231 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 {(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.0004059/0.6864, allocations: 221.7 kB / 0.8709 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.6866, allocations: 111.2 kB / 0.871 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/0.6905, allocations: 1.743 MB / 0.8727 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.6905, allocations: 12.75 kB / 0.8727 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.6905, allocations: 4 kB / 0.8727 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.6905, allocations: 3.984 kB / 0.8727 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/0.6948, allocations: 2.033 MB / 0.8747 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.6948, allocations: 0 / 0.8747 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007199/0.6956, allocations: 169.1 kB / 0.8748 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007465/0.6963, allocations: 246.2 kB / 0.8751 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/0.6964, allocations: 31.98 kB / 0.8751 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006034/0.7024, allocations: 4.783 MB / 0.8798 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7024, allocations: 0 / 0.8798 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/0.7061, allocations: 1.665 MB / 0.8814 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/0.7065, allocations: 179 kB / 0.8816 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.7067, allocations: 23.94 kB / 0.8816 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/0.7072, allocations: 39.97 kB / 0.8816 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.7073, allocations: 84.73 kB / 0.8817 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-05/0.7074, allocations: 47.98 kB / 0.8818 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006974/0.7081, allocations: 0.5077 MB / 0.8823 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7081, allocations: 0 / 0.8823 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001295/0.7094, allocations: 494.7 kB / 0.8827 GB, free: 14.1 MB / 0.6387 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.0009642/0.7104, allocations: 0.5592 MB / 0.8833 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002362/0.7127, allocations: 1.141 MB / 0.8844 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7127, allocations: 0 / 0.8844 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.7141, allocations: 0.8182 MB / 0.8852 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.7152, allocations: 256.4 kB / 0.8854 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.7197, allocations: 2.399 MB / 0.8878 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.7202, allocations: 0.495 MB / 0.8883 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/0.7208, allocations: 183.3 kB / 0.8884 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/0.7208, allocations: 0 / 0.8884 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of Templates: time 0.04041/0.7612, allocations: 32.66 MB / 0.9203 GB, free: 7.434 MB / 0.67 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/jenkins1/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: 11.628693548962474]