Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 112.7 kB / 16.43 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 189.2 kB / 17.36 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.8083/0.8083, allocations: 89.46 MB / 380.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.148e-05, allocations: 5.797 kB / 0.515 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.5614/0.5614, allocations: 143.7 MB / 0.6553 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004794/0.5663, allocations: 3.565 MB / 0.6588 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.5666, allocations: 3.938 kB / 0.6588 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.5674, allocations: 179 kB / 0.659 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009446/0.5683, allocations: 365.9 kB / 0.6593 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008738/0.5693, allocations: 287 kB / 0.6596 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006298/0.5699, allocations: 0.5096 MB / 0.6601 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.5701, allocations: 50.23 kB / 0.6602 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004536/0.5705, allocations: 215.1 kB / 0.6604 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.5708, allocations: 219.1 kB / 0.6606 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.5709, allocations: 24 kB / 0.6606 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.572, allocations: 0.5341 MB / 0.6611 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.0004652/0.5725, allocations: 0.5372 MB / 0.6616 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0002144/0.5727, allocations: 348.2 kB / 0.662 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.5728, allocations: 51.81 kB / 0.662 GB, free: 176 kB / 0.4981 GB Notification: Performance of FrontEnd: time 7.508e-05/0.5729, allocations: 8 kB / 0.662 GB, free: 168 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 (48) * Number of variables: 51 (51) Notification: Performance of Bindings: time 0.001383/0.5743, allocations: 1.262 MB / 0.6633 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0001243/0.5744, allocations: 64.44 kB / 0.6633 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.0006263/0.5751, allocations: 0.5714 MB / 0.6639 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0001541/0.5752, allocations: 112.3 kB / 0.664 GB, free: 14 MB / 0.5137 GB Notification: Performance of Alias: time 0.00114/0.5764, allocations: 0.7033 MB / 0.6647 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simplify2: time 0.0001021/0.5765, allocations: 94.03 kB / 0.6648 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0002501/0.5767, allocations: 140 kB / 0.6649 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of Events: time 0.0001421/0.5769, allocations: 80.03 kB / 0.665 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0002489/0.5771, allocations: 130.9 kB / 0.6651 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of Causalize: time 0.0008308/0.578, allocations: 0.5895 MB / 0.6657 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.0003665/0.5784, allocations: 362.4 kB / 0.666 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of Inline: time 0.0009857/0.5794, allocations: 0.8397 MB / 0.6668 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of Partitioning: time 4.527e-05/0.5794, allocations: 30.95 kB / 0.6669 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0001072/0.5795, allocations: 124.4 kB / 0.667 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of Causalize: time 0.001269/0.5808, allocations: 0.882 MB / 0.6678 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0003741/0.5812, allocations: 337.3 kB / 0.6682 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of Initialization: time 4.11e-07/0.5812, allocations: 0 / 0.6682 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0002817/0.5815, allocations: 336.7 kB / 0.6685 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of Categorize: time 1.02e-05/0.5815, allocations: 4 kB / 0.6685 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of Solve: time 0.0002033/0.5817, allocations: 102.3 kB / 0.6686 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of Jacobian: time 0.000274/0.582, allocations: 331.1 kB / 0.6689 GB, free: 8.727 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {checkValve.m_flow} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 30 (scalar:30, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 48 (scalar:48, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 4.942e-05/0.5821, allocations: 36.94 kB / 0.6689 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003546/0.5856, allocations: 2.03 MB / 0.6709 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of Templates: time 0.00999/0.5956, allocations: 4.666 MB / 0.6755 GB, free: 1.996 MB / 0.5137 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,pulse.T_start,pulse.count,source.outlet.m_flow Variables in the result:checkValve.L,checkValve.clip_p_out,checkValve.dr_corr,checkValve.initM_flow,checkValve.m_acceleration_0,checkValve.m_flow,checkValve.m_flowStateSelect,checkValve.m_flow_0,checkValve.m_flow_ref,checkValve.p_min,checkValve.p_ref,dropOfCommons.L,dropOfCommons.assertionLevel,dropOfCommons.g,dropOfCommons.k_volume_damping,dropOfCommons.m_flow_reg,dropOfCommons.omega_reg,dropOfCommons.p_min,dropOfCommons.rho_min,flowResistance.D_h,flowResistance.L,flowResistance.L_value,flowResistance.a,flowResistance.areaCross,flowResistance.areaCrossInput,flowResistance.areaHydraulic,flowResistance.b,flowResistance.clip_p_out,flowResistance.computeL,flowResistance.initM_flow,flowResistance.l,flowResistance.m_acceleration_0,flowResistance.m_flowStateSelect,flowResistance.m_flow_0,flowResistance.mu_in,flowResistance.p_min,flowResistance.perimeter,flowResistance.perimeterInput,flowResistance.r,flowResistance.rho_min,flowResistance.shape,pulse.T_start,pulse.amplitude,pulse.count,pulse.nperiod,pulse.offset,pulse.period,pulse.startTime,pulse.width,sink.L,sink.p0,sink.p0_par,sink.pressureFromInput,source.L,source.T0,source.T0_par,source.enthalpyFromInput,source.h0,source.h0_par,source.outlet.m_flow,source.p0_par,source.pressureFromInput,source.setEnthalpy,source.temperatureFromInput,source.xiFromInput,time