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.001284/0.001284, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001523/0.001523, allocations: 213.5 kB / 22.25 MB, free: 5.262 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.785 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.7988/0.7988, allocations: 100.9 MB / 413.3 MB, free: 2.871 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.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: 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.002475/0.002475, allocations: 88 kB / 0.5646 GB, free: 35.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1292, allocations: 74.61 MB / 0.6374 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5189/0.6482, allocations: 176 MB / 0.8092 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.6625, allocations: 13.67 MB / 0.8226 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.6636, allocations: 65.28 kB / 0.8227 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.6651, allocations: 469.7 kB / 0.8231 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.6688, allocations: 1.379 MB / 0.8245 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.6726, allocations: 1.473 MB / 0.8259 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001889/0.6745, allocations: 1.391 MB / 0.8272 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.6749, allocations: 162.8 kB / 0.8274 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.6773, allocations: 1.141 MB / 0.8285 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008811/0.6782, allocations: 467.3 kB / 0.829 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.6784, allocations: 78.91 kB / 0.829 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004978/0.6834, allocations: 2.535 MB / 0.8315 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.6836, allocations: 207.3 kB / 0.8317 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006028/0.6842, allocations: 411.2 kB / 0.8321 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003779/0.688, allocations: 1.97 MB / 0.834 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.688, allocations: 3.938 kB / 0.834 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.688, allocations: 0 / 0.834 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.662e-05/0.6881, allocations: 0 / 0.834 GB, free: 7.641 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.003142/0.6912, allocations: 1.518 MB / 0.8355 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.6912, allocations: 8.406 kB / 0.8355 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.693, allocations: 257.8 kB / 0.8358 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.6943, allocations: 0.7079 MB / 0.8365 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.6946, allocations: 286.1 kB / 0.8367 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.6947, allocations: 78.67 kB / 0.8368 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.6962, allocations: 0.8014 MB / 0.8376 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.6962, allocations: 3.938 kB / 0.8376 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.6963, allocations: 32.09 kB / 0.8376 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.6963, allocations: 24.11 kB / 0.8376 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.6978, allocations: 0.6923 MB / 0.8383 GB, free: 4.691 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.003328/0.7011, allocations: 1.867 MB / 0.8401 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.7024, allocations: 0.5675 MB / 0.8407 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006105/0.703, allocations: 300.9 kB / 0.841 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.7032, allocations: 76.72 kB / 0.8411 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.7033, allocations: 37.59 kB / 0.8411 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.224e-06/0.7033, allocations: 4 kB / 0.8411 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004548/0.7078, allocations: 1.468 MB / 0.8425 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.7079, allocations: 61.52 kB / 0.8426 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/0.7086, allocations: 0.6294 MB / 0.8432 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.7086, allocations: 36.02 kB / 0.8432 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.709, allocations: 454.1 kB / 0.8437 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.7091, allocations: 206.2 kB / 0.8439 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.7093, allocations: 110.2 kB / 0.844 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.7095, allocations: 331.7 kB / 0.8443 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/0.71, allocations: 234.1 kB / 0.8445 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.7106, allocations: 296.6 kB / 0.8448 GB, free: 404 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.7117, allocations: 0.5173 MB / 0.8453 GB, free: 132 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7117, allocations: 0 / 0.8453 GB, free: 132 kB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002303/0.714, allocations: 0.9468 MB / 0.8462 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.714, allocations: 5.938 kB / 0.8462 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.714, allocations: 0 / 0.8462 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007001/0.7147, allocations: 211.5 kB / 0.8464 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.7152, allocations: 122.7 kB / 0.8466 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005472/0.7207, allocations: 4.664 MB / 0.8511 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.7212, allocations: 71.56 kB / 0.8512 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.7213, allocations: 37.45 kB / 0.8512 GB, free: 11.16 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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.0003141/0.7216, allocations: 196.5 kB / 0.8514 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.7218, allocations: 86.91 kB / 0.8515 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.7246, allocations: 1.31 MB / 0.8528 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7246, allocations: 8.156 kB / 0.8528 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.7247, allocations: 0 / 0.8528 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.7247, allocations: 3.984 kB / 0.8528 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/0.7282, allocations: 1.651 MB / 0.8544 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7282, allocations: 2.688 kB / 0.8544 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004925/0.7287, allocations: 108.9 kB / 0.8545 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006541/0.7293, allocations: 226 kB / 0.8547 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.7294, allocations: 30.47 kB / 0.8547 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005396/0.7348, allocations: 4.64 MB / 0.8593 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7348, allocations: 3.094 kB / 0.8593 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.7377, allocations: 1.347 MB / 0.8606 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.738, allocations: 129.1 kB / 0.8607 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.772e-05/0.7381, allocations: 21.06 kB / 0.8607 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.7386, allocations: 30.88 kB / 0.8608 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.7387, allocations: 69.56 kB / 0.8608 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.7387, allocations: 32.77 kB / 0.8609 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005228/0.7393, allocations: 458.1 kB / 0.8613 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.7393, allocations: 0 / 0.8613 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001099/0.7404, allocations: 402.9 kB / 0.8617 GB, free: 3.02 MB / 0.6075 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.0008659/0.7412, allocations: 0.5005 MB / 0.8622 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.7432, allocations: 0.9711 MB / 0.8631 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7432, allocations: 0 / 0.8631 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.7445, allocations: 0.7134 MB / 0.8638 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/0.7453, allocations: 198.2 kB / 0.864 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.7487, allocations: 1.846 MB / 0.8658 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.7491, allocations: 404.5 kB / 0.8662 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008867/0.75, allocations: 442.8 kB / 0.8666 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.7503, allocations: 107.4 kB / 0.8667 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.7503, allocations: 0 / 0.8667 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.03015/0.7804, allocations: 17.59 MB / 0.8839 GB, free: 12.34 MB / 0.6387 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: 6.603313390165567]