Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.001531/0.001531, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001743/0.001743, allocations: 215.2 kB / 23.01 MB, free: 5.113 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7071/0.7071, allocations: 94.57 MB / 407.8 MB, free: 9.18 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [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.002397/0.002397, allocations: 86.42 kB / 0.5562 GB, free: 38.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.113, allocations: 73.05 MB / 0.6275 GB, free: 128 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.4435/0.5564, allocations: 146 MB / 0.7701 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003254/0.5597, allocations: 3.358 MB / 0.7734 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.56, allocations: 24.38 kB / 0.7734 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.5606, allocations: 205.7 kB / 0.7736 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008499/0.5615, allocations: 0.497 MB / 0.7741 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.5622, allocations: 406.3 kB / 0.7745 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007516/0.563, allocations: 0.7344 MB / 0.7752 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.5631, allocations: 75.66 kB / 0.7753 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007211/0.5639, allocations: 380.7 kB / 0.7756 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.5644, allocations: 362.3 kB / 0.776 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.326e-05/0.5645, allocations: 33 kB / 0.776 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.5657, allocations: 0.5999 MB / 0.7766 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.5658, allocations: 89.42 kB / 0.7767 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.5661, allocations: 238.5 kB / 0.7769 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009701/0.567, allocations: 0.7358 MB / 0.7776 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.567, allocations: 0 / 0.7776 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.567, allocations: 1.125 kB / 0.7776 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.567, allocations: 0 / 0.7776 GB, free: 2.082 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00144/0.5685, allocations: 0.7862 MB / 0.7784 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.5685, allocations: 8.844 kB / 0.7784 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.663e-05/0.5686, allocations: 55.23 kB / 0.7784 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.5692, allocations: 358.5 kB / 0.7788 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.5692, allocations: 25.16 kB / 0.7788 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/0.5693, allocations: 33.06 kB / 0.7788 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.5699, allocations: 439.2 kB / 0.7793 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5699, allocations: 0 / 0.7793 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.5699, allocations: 16.36 kB / 0.7793 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.57, allocations: 8.062 kB / 0.7793 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.5706, allocations: 379.6 kB / 0.7796 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.5726, allocations: 1.819 MB / 0.7814 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.5733, allocations: 321 kB / 0.7817 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.5736, allocations: 152.9 kB / 0.7819 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.575, allocations: 0.7521 MB / 0.7826 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003845/0.5754, allocations: 218.4 kB / 0.7828 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/0.5754, allocations: 1.078 kB / 0.7828 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001183/0.5766, allocations: 0.5183 MB / 0.7833 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.5766, allocations: 65.77 kB / 0.7834 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.5769, allocations: 362.7 kB / 0.7837 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.577, allocations: 34.08 kB / 0.7838 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.5771, allocations: 225.8 kB / 0.784 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.681e-05/0.5772, allocations: 129 kB / 0.7841 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.5773, allocations: 74.39 kB / 0.7842 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5774, allocations: 356.1 kB / 0.7845 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.5777, allocations: 121.8 kB / 0.7846 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.5779, allocations: 179.1 kB / 0.7848 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.5784, allocations: 330 kB / 0.7851 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5784, allocations: 0 / 0.7851 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008132/0.5793, allocations: 481 kB / 0.7856 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.5793, allocations: 31.36 kB / 0.7856 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5793, allocations: 2.625 kB / 0.7856 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.5795, allocations: 43.25 kB / 0.7857 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.5798, allocations: 76.39 kB / 0.7857 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.581, allocations: 1.43 MB / 0.7871 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.5812, allocations: 43.05 kB / 0.7872 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.5813, allocations: 27.75 kB / 0.7872 GB, free: 13.32 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.5814, allocations: 159.3 kB / 0.7873 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.5815, allocations: 44.84 kB / 0.7874 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009006/0.5824, allocations: 0.5136 MB / 0.7879 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5824, allocations: 7.281 kB / 0.7879 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5824, allocations: 3.188 kB / 0.7879 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5824, allocations: 2.531 kB / 0.7879 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.5837, allocations: 0.9409 MB / 0.7888 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.5837, allocations: 0 / 0.7888 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.5839, allocations: 64.75 kB / 0.7889 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.584, allocations: 42.86 kB / 0.7889 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.5841, allocations: 14.56 kB / 0.7889 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.5852, allocations: 1.433 MB / 0.7903 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5852, allocations: 0 / 0.7903 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.5861, allocations: 0.6492 MB / 0.791 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.5862, allocations: 49.42 kB / 0.791 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.5862, allocations: 17.48 kB / 0.791 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.5864, allocations: 13.97 kB / 0.791 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.5865, allocations: 38.22 kB / 0.7911 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.5865, allocations: 17.83 kB / 0.7911 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002367/0.5867, allocations: 268.8 kB / 0.7914 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5867, allocations: 0 / 0.7914 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005189/0.5873, allocations: 167.5 kB / 0.7915 GB, free: 11.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000324/0.5876, allocations: 234.5 kB / 0.7917 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007984/0.5884, allocations: 491.9 kB / 0.7922 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5884, allocations: 0 / 0.7922 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.5888, allocations: 276.8 kB / 0.7925 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.5895, allocations: 134.8 kB / 0.7926 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.5911, allocations: 0.9037 MB / 0.7935 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.5915, allocations: 0.8135 MB / 0.7943 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.5916, allocations: 50.39 kB / 0.7943 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of SimCode: time 4.2e-07/0.5916, allocations: 4 kB / 0.7943 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of Templates: time 0.01075/0.6023, allocations: 9.264 MB / 0.8034 GB, free: 7.688 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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: 8.726310253841802]