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.001399/0.001399, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.002059/0.002059, allocations: 166.4 kB / 22.46 MB, free: 5.355 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.508/1.508, allocations: 177.1 MB / 202.8 MB, free: 9.164 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 1.026/1.026, allocations: 116 MB / 375.2 MB, free: 7.512 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.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.964e-06/1.964e-06, allocations: 3.938 kB / 0.5537 GB, free: 13.79 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.158e-05, allocations: 7.234 kB / 0.5537 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5713/0.5713, allocations: 179.9 MB / 0.7294 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.5847, allocations: 10.31 MB / 0.7395 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.5863, allocations: 69.34 kB / 0.7396 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.5881, allocations: 481 kB / 0.74 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004959/0.593, allocations: 1.486 MB / 0.7415 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004578/0.5976, allocations: 1.506 MB / 0.7429 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002416/0.6, allocations: 1.6 MB / 0.7445 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004372/0.6005, allocations: 171.4 kB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.6038, allocations: 1.435 MB / 0.7461 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006691/0.6044, allocations: 403.4 kB / 0.7464 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.6046, allocations: 77.47 kB / 0.7465 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005649/0.6102, allocations: 2.535 MB / 0.749 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.6105, allocations: 212.2 kB / 0.7492 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007064/0.6112, allocations: 350.3 kB / 0.7495 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00558/0.6168, allocations: 2.131 MB / 0.7516 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6168, allocations: 0 / 0.7516 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6168, allocations: 0.9375 kB / 0.7516 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.055e-05/0.6168, allocations: 0 / 0.7516 GB, free: 4.406 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003279/0.6201, allocations: 1.558 MB / 0.7531 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.6202, allocations: 9.031 kB / 0.7531 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.6221, allocations: 269.5 kB / 0.7534 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.6239, allocations: 0.7465 MB / 0.7541 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.6242, allocations: 293.8 kB / 0.7544 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.6243, allocations: 80.03 kB / 0.7545 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.626, allocations: 0.819 MB / 0.7553 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.626, allocations: 4.156 kB / 0.7553 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.6261, allocations: 28.97 kB / 0.7553 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.6261, allocations: 20.47 kB / 0.7553 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.6277, allocations: 0.7 MB / 0.756 GB, free: 2.855 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.003957/0.6316, allocations: 2.047 MB / 0.758 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.6331, allocations: 0.5651 MB / 0.7586 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006707/0.6338, allocations: 301.5 kB / 0.7589 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.6341, allocations: 76.17 kB / 0.7589 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.6341, allocations: 44.59 kB / 0.759 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.865e-06/0.6341, allocations: 4 kB / 0.759 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.005255/0.6394, allocations: 1.478 MB / 0.7604 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.6394, allocations: 58.53 kB / 0.7605 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008726/0.6403, allocations: 0.6686 MB / 0.7611 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.032e-05/0.6403, allocations: 37.14 kB / 0.7612 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.6406, allocations: 471.2 kB / 0.7616 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.6408, allocations: 214.1 kB / 0.7618 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.641, allocations: 119.2 kB / 0.7619 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.6411, allocations: 331 kB / 0.7622 GB, free: 436 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006294/0.6417, allocations: 236.5 kB / 0.7625 GB, free: 368 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/0.6423, allocations: 307.9 kB / 0.7628 GB, free: 232 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.6435, allocations: 0.5294 MB / 0.7633 GB, free: 16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.6435, allocations: 2.969 kB / 0.7633 GB, free: 16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002845/0.6464, allocations: 0.9566 MB / 0.7642 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.6464, allocations: 8.312 kB / 0.7642 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.6464, allocations: 3 kB / 0.7642 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008412/0.6472, allocations: 219.5 kB / 0.7644 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/0.6478, allocations: 127.8 kB / 0.7646 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006319/0.6541, allocations: 4.645 MB / 0.7691 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008608/0.655, allocations: 74.73 kB / 0.7692 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.6551, allocations: 35.58 kB / 0.7692 GB, free: 11.56 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 (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.0005509/0.6557, allocations: 214.2 kB / 0.7694 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.656, allocations: 93.36 kB / 0.7695 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/0.6594, allocations: 1.315 MB / 0.7708 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.6594, allocations: 6.094 kB / 0.7708 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6594, allocations: 2.875 kB / 0.7708 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.6594, allocations: 2.859 kB / 0.7708 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.6634, allocations: 1.677 MB / 0.7724 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.6634, allocations: 3.625 kB / 0.7724 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.664, allocations: 107.1 kB / 0.7725 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007553/0.6647, allocations: 216.8 kB / 0.7727 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.126e-05/0.6648, allocations: 31.3 kB / 0.7728 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006415/0.6712, allocations: 4.648 MB / 0.7773 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6712, allocations: 3.469 kB / 0.7773 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00366/0.6749, allocations: 1.347 MB / 0.7786 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/0.6753, allocations: 142 kB / 0.7788 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.6754, allocations: 17.12 kB / 0.7788 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.6759, allocations: 39.33 kB / 0.7788 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.6761, allocations: 55.28 kB / 0.7789 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.89e-05/0.6762, allocations: 32.33 kB / 0.7789 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000639/0.6768, allocations: 478.7 kB / 0.7794 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6768, allocations: 4 kB / 0.7794 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001478/0.6783, allocations: 420.2 kB / 0.7798 GB, free: 4.398 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.001184/0.6795, allocations: 0.5317 MB / 0.7803 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002396/0.6819, allocations: 0.9823 MB / 0.7812 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6819, allocations: 0 / 0.7812 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.6832, allocations: 0.7054 MB / 0.7819 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.6848, allocations: 267.1 kB / 0.7822 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.6883, allocations: 1.76 MB / 0.7839 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.6887, allocations: 425.9 kB / 0.7843 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001129/0.6899, allocations: 445.8 kB / 0.7847 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.6902, allocations: 119.3 kB / 0.7849 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of SimCode: time 1.223e-06/0.6902, allocations: 0 / 0.7849 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.03565/0.7259, allocations: 18.34 MB / 0.8028 GB, free: 248 kB / 0.6231 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.1341417990624905]