Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001545/0.001545, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001669/0.001669, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.367/1.367, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.7317/0.7317, allocations: 79.61 MB / 339.4 MB, free: 11.01 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.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_dev_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_dev_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.002548/0.002548, allocations: 92.64 kB / 0.4923 GB, free: 26.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.124, allocations: 74.58 MB / 0.5652 GB, free: 6.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1559/0.2799, allocations: 125.4 MB / 0.6876 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004526/0.2844, allocations: 3.058 MB / 0.6906 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.2849, allocations: 19.81 kB / 0.6906 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007927/0.2857, allocations: 190.7 kB / 0.6908 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.2871, allocations: 497.1 kB / 0.6913 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.2884, allocations: 402.7 kB / 0.6916 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.2895, allocations: 0.7272 MB / 0.6924 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.2897, allocations: 77.33 kB / 0.6924 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008785/0.2906, allocations: 378.4 kB / 0.6928 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006012/0.2912, allocations: 334.6 kB / 0.6931 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.2913, allocations: 39.94 kB / 0.6932 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.2924, allocations: 0.4991 MB / 0.6936 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.2925, allocations: 95.55 kB / 0.6937 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.2928, allocations: 191.1 kB / 0.6939 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.294, allocations: 0.7238 MB / 0.6946 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2941, allocations: 0 / 0.6946 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2941, allocations: 0 / 0.6946 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.2941, allocations: 0 / 0.6946 GB, free: 0.9844 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001674/0.2958, allocations: 0.78 MB / 0.6954 GB, free: 168 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2958, allocations: 13.47 kB / 0.6954 GB, free: 156 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.296, allocations: 64.59 kB / 0.6955 GB, free: 92 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2512/0.5472, allocations: 351.9 kB / 0.6958 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.5472, allocations: 29.36 kB / 0.6958 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.5473, allocations: 40.53 kB / 0.6959 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.548, allocations: 423.2 kB / 0.6963 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.548, allocations: 0.6562 kB / 0.6963 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.5481, allocations: 13.62 kB / 0.6963 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.5481, allocations: 9.844 kB / 0.6963 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/0.5488, allocations: 391.2 kB / 0.6967 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.5506, allocations: 1.216 MB / 0.6978 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.5513, allocations: 315.4 kB / 0.6981 GB, free: 133.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.5517, allocations: 150.7 kB / 0.6983 GB, free: 133.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/0.5532, allocations: 0.7137 MB / 0.699 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004019/0.5536, allocations: 216.3 kB / 0.6992 GB, free: 133 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.404e-06/0.5536, allocations: 0 / 0.6992 GB, free: 133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001381/0.555, allocations: 0.5282 MB / 0.6997 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.555, allocations: 56.31 kB / 0.6998 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.5553, allocations: 324.7 kB / 0.7001 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.5554, allocations: 35.67 kB / 0.7001 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.5555, allocations: 228.5 kB / 0.7003 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.5556, allocations: 133.8 kB / 0.7005 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.5557, allocations: 78.97 kB / 0.7005 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.5558, allocations: 348.8 kB / 0.7009 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.5561, allocations: 146 kB / 0.701 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.5564, allocations: 206.6 kB / 0.7012 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.557, allocations: 332.5 kB / 0.7015 GB, free: 131.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.557, allocations: 0 / 0.7015 GB, free: 131.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009386/0.5579, allocations: 0.4955 MB / 0.702 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.5579, allocations: 34.25 kB / 0.702 GB, free: 131.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5579, allocations: 2.25 kB / 0.702 GB, free: 131.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.5582, allocations: 43.89 kB / 0.7021 GB, free: 131.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.5584, allocations: 74.39 kB / 0.7021 GB, free: 131.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009145/0.5593, allocations: 1.4 MB / 0.7035 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.5596, allocations: 42.14 kB / 0.7036 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.5596, allocations: 12.58 kB / 0.7036 GB, free: 129.9 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.0001574/0.5598, allocations: 167.2 kB / 0.7037 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.5599, allocations: 40.17 kB / 0.7038 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.5609, allocations: 0.5348 MB / 0.7043 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5609, allocations: 3.406 kB / 0.7043 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5609, allocations: 1.078 kB / 0.7043 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.561, allocations: 1.641 kB / 0.7043 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.5623, allocations: 0.8501 MB / 0.7051 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.5623, allocations: 0.875 kB / 0.7051 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.5625, allocations: 62.81 kB / 0.7052 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.5627, allocations: 50.95 kB / 0.7052 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.5627, allocations: 12.52 kB / 0.7052 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008222/0.5635, allocations: 1.402 MB / 0.7066 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5635, allocations: 0 / 0.7066 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5646, allocations: 0.6449 MB / 0.7072 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.5646, allocations: 40.7 kB / 0.7073 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.5647, allocations: 11.25 kB / 0.7073 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.5649, allocations: 21.61 kB / 0.7073 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.565, allocations: 33.23 kB / 0.7073 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.5651, allocations: 15.14 kB / 0.7074 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002121/0.5653, allocations: 242.8 kB / 0.7076 GB, free: 127.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5653, allocations: 0 / 0.7076 GB, free: 127.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005748/0.5658, allocations: 165.8 kB / 0.7077 GB, free: 127 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.000347/0.5662, allocations: 252.7 kB / 0.708 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000911/0.5671, allocations: 0.4977 MB / 0.7085 GB, free: 126.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5671, allocations: 320 / 0.7085 GB, free: 126.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.5675, allocations: 286.2 kB / 0.7087 GB, free: 126.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.5682, allocations: 115.4 kB / 0.7089 GB, free: 126.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.57, allocations: 0.85 MB / 0.7097 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.5703, allocations: 212.5 kB / 0.7099 GB, free: 125.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002775/0.5705, allocations: 82.66 kB / 0.71 GB, free: 125.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.5707, allocations: 48.69 kB / 0.71 GB, free: 125.8 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.5707, allocations: 3.938 kB / 0.71 GB, free: 125.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.01496/0.5856, allocations: 7.783 MB / 0.7176 GB, free: 122.7 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 5.806389805977233]