Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.000834/0.000834, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008054/0.0008054, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8479/0.8479, allocations: 177.1 MB / 203.5 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.6151/0.6151, allocations: 116 MB / 376 MB, free: 4.207 MB / 346.7 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.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 0.5545 GB, free: 12.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.399e-05, allocations: 6.281 kB / 0.5545 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.424/0.4241, allocations: 179.9 MB / 0.7302 GB, free: 0.8281 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.008382/0.4324, allocations: 10.31 MB / 0.7402 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007954/0.4332, allocations: 68.38 kB / 0.7403 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.4344, allocations: 491.1 kB / 0.7408 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.4369, allocations: 1.474 MB / 0.7422 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.4394, allocations: 1.507 MB / 0.7437 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0009958/0.4404, allocations: 1.602 MB / 0.7452 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.4406, allocations: 166.7 kB / 0.7454 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.4421, allocations: 1.429 MB / 0.7468 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.4424, allocations: 411.6 kB / 0.7472 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.4425, allocations: 76.97 kB / 0.7473 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.4452, allocations: 2.532 MB / 0.7497 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.4453, allocations: 216.3 kB / 0.7499 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.4455, allocations: 351 kB / 0.7503 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.4476, allocations: 2.127 MB / 0.7523 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4476, allocations: 0 / 0.7523 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4476, allocations: 0 / 0.7523 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.4476, allocations: 6.812 kB / 0.7524 GB, free: 1.227 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.001724/0.4494, allocations: 1.566 MB / 0.7539 GB, free: 56 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4494, allocations: 10.59 kB / 0.7539 GB, free: 56 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008685/0.4503, allocations: 266.6 kB / 0.7541 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009218/0.4512, allocations: 0.7471 MB / 0.7549 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.4514, allocations: 292.3 kB / 0.7552 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.217e-05/0.4514, allocations: 76.19 kB / 0.7552 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009074/0.4523, allocations: 0.8195 MB / 0.756 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.4524, allocations: 0 / 0.756 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.4524, allocations: 32.25 kB / 0.7561 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.4524, allocations: 15.59 kB / 0.7561 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009004/0.4533, allocations: 0.7026 MB / 0.7568 GB, free: 14.17 MB / 0.6042 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.002239/0.4556, allocations: 2.053 MB / 0.7588 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008217/0.4564, allocations: 0.5637 MB / 0.7593 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.4567, allocations: 310.2 kB / 0.7596 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.4569, allocations: 76.38 kB / 0.7597 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.4569, allocations: 39.06 kB / 0.7597 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=58): time 1.553e-06/0.4569, allocations: 0 / 0.7597 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58): time 0.002817/0.4597, allocations: 1.478 MB / 0.7612 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.4598, allocations: 55.91 kB / 0.7612 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.4603, allocations: 0.673 MB / 0.7619 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.4603, allocations: 37.7 kB / 0.7619 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.4605, allocations: 472.5 kB / 0.7624 GB, free: 8.551 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.4606, allocations: 210.2 kB / 0.7626 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.4608, allocations: 118.3 kB / 0.7627 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.4608, allocations: 326 kB / 0.763 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.4612, allocations: 241.2 kB / 0.7632 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.4615, allocations: 303.3 kB / 0.7635 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.4622, allocations: 0.5317 MB / 0.764 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4622, allocations: 0 / 0.764 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001311/0.4635, allocations: 0.9674 MB / 0.765 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4635, allocations: 8 kB / 0.765 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4635, allocations: 0 / 0.765 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004596/0.464, allocations: 223.3 kB / 0.7652 GB, free: 5.582 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.4643, allocations: 119.8 kB / 0.7653 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/0.4676, allocations: 4.645 MB / 0.7698 GB, free: 0.5078 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.4678, allocations: 71.61 kB / 0.7699 GB, free: 448 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.4679, allocations: 44.05 kB / 0.77 GB, free: 404 kB / 0.6042 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 (60): * Single equations (assignments): 57 * 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.0002092/0.4681, allocations: 203.2 kB / 0.7701 GB, free: 192 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.4682, allocations: 99.38 kB / 0.7702 GB, free: 92 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.4699, allocations: 1.305 MB / 0.7715 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.4699, allocations: 4 kB / 0.7715 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4699, allocations: 12.84 kB / 0.7715 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4699, allocations: 0 / 0.7715 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.4719, allocations: 1.669 MB / 0.7732 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.472, allocations: 4 kB / 0.7732 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.4722, allocations: 112 kB / 0.7733 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/0.4726, allocations: 214.4 kB / 0.7735 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.4726, allocations: 35.34 kB / 0.7735 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/0.476, allocations: 4.649 MB / 0.7781 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.476, allocations: 0 / 0.7781 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.4777, allocations: 1.338 MB / 0.7794 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.4778, allocations: 143.2 kB / 0.7795 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.4779, allocations: 19.94 kB / 0.7795 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.4781, allocations: 35.97 kB / 0.7795 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/0.4782, allocations: 60.28 kB / 0.7796 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.4782, allocations: 31.98 kB / 0.7796 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003533/0.4786, allocations: 479 kB / 0.7801 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.4786, allocations: 0 / 0.7801 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008153/0.4794, allocations: 422.9 kB / 0.7805 GB, free: 5.164 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.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 (50): * Single equations (assignments): 47 * 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.0006249/0.48, allocations: 0.5346 MB / 0.781 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.4814, allocations: 0.9794 MB / 0.782 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4814, allocations: 8 kB / 0.782 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.4821, allocations: 0.7137 MB / 0.7827 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000719/0.4828, allocations: 268.5 kB / 0.7829 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.4847, allocations: 1.8 MB / 0.7847 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.4849, allocations: 418 kB / 0.7851 GB, free: 308 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.4852, allocations: 148.3 kB / 0.7852 GB, free: 160 kB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.4852, allocations: 0 / 0.7852 GB, free: 160 kB / 0.6198 GB Notification: Performance of Templates: time 0.01981/0.505, allocations: 28.18 MB / 0.8128 GB, free: 4.023 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.6376473512500525]