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.001911/0.001911, 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.002404/0.002404, allocations: 159.4 kB / 23.01 MB, free: 4.598 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.487/1.487, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.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.7484/0.7484, allocations: 74.91 MB / 334.7 MB, free: 15.52 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.002631/0.002631, allocations: 89.48 kB / 496.4 MB, free: 29.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1174, allocations: 73.03 MB / 0.5561 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.162/0.2795, allocations: 125.4 MB / 0.6785 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004848/0.2843, allocations: 3.05 MB / 0.6815 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006027/0.2849, allocations: 27.75 kB / 0.6815 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000782/0.2857, allocations: 194.7 kB / 0.6817 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.2871, allocations: 493.2 kB / 0.6821 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.2883, allocations: 406.6 kB / 0.6825 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.2894, allocations: 0.7233 MB / 0.6832 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.2896, allocations: 81.31 kB / 0.6833 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000813/0.2904, allocations: 370.4 kB / 0.6837 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.291, allocations: 338.6 kB / 0.684 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.291, allocations: 36 kB / 0.684 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.2923, allocations: 0.4992 MB / 0.6845 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.2924, allocations: 91.56 kB / 0.6846 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.2927, allocations: 199 kB / 0.6848 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.294, allocations: 0.7238 MB / 0.6855 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.294, allocations: 0 / 0.6855 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.294, allocations: 0 / 0.6855 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.294, allocations: 0 / 0.6855 GB, free: 10.67 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.001633/0.2957, allocations: 0.78 MB / 0.6863 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2957, allocations: 12.03 kB / 0.6863 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.2959, allocations: 60.61 kB / 0.6863 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007202/0.2966, allocations: 363.1 kB / 0.6867 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.2966, allocations: 29.38 kB / 0.6867 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.2967, allocations: 32.38 kB / 0.6867 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007961/0.2975, allocations: 428.1 kB / 0.6871 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.2975, allocations: 3.984 kB / 0.6871 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.2975, allocations: 16 kB / 0.6872 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.2975, allocations: 11.94 kB / 0.6872 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.2983, allocations: 378.4 kB / 0.6875 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.3004, allocations: 1.223 MB / 0.6887 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/0.3013, allocations: 326.6 kB / 0.689 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.3016, allocations: 148.8 kB / 0.6892 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0018/0.3034, allocations: 0.6989 MB / 0.6899 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004924/0.3039, allocations: 218.9 kB / 0.6901 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.445e-06/0.3039, allocations: 0 / 0.6901 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001634/0.3056, allocations: 0.5211 MB / 0.6906 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.3056, allocations: 59.16 kB / 0.6906 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.3061, allocations: 333.6 kB / 0.691 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.3061, allocations: 37.7 kB / 0.691 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3063, allocations: 224.5 kB / 0.6912 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.3065, allocations: 134.9 kB / 0.6913 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.3066, allocations: 70.06 kB / 0.6914 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3068, allocations: 350.8 kB / 0.6917 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.3071, allocations: 142.4 kB / 0.6919 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.3075, allocations: 212.3 kB / 0.6921 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006938/0.3082, allocations: 339.1 kB / 0.6924 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3082, allocations: 3.938 kB / 0.6924 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00114/0.3093, allocations: 498.7 kB / 0.6929 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.3094, allocations: 35.09 kB / 0.6929 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3094, allocations: 4 kB / 0.6929 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.3096, allocations: 48.77 kB / 0.693 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.31, allocations: 75.84 kB / 0.693 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.3115, allocations: 1.406 MB / 0.6944 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.3118, allocations: 35.8 kB / 0.6944 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.3119, allocations: 19.98 kB / 0.6945 GB, free: 1.066 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.0002521/0.3121, allocations: 157.7 kB / 0.6946 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3122, allocations: 47.72 kB / 0.6947 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.3135, allocations: 0.5139 MB / 0.6952 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3135, allocations: 7.938 kB / 0.6952 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3135, allocations: 3.938 kB / 0.6952 GB, free: 332 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3135, allocations: 0 / 0.6952 GB, free: 332 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2843/0.5978, allocations: 0.847 MB / 0.696 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5978, allocations: 0.6875 kB / 0.696 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.5981, allocations: 65.23 kB / 0.6961 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.5983, allocations: 41.11 kB / 0.6961 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.5984, allocations: 14.2 kB / 0.6961 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.5994, allocations: 1.399 MB / 0.6975 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5994, allocations: 4.375 kB / 0.6975 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.6007, allocations: 0.6478 MB / 0.6981 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.6008, allocations: 40.34 kB / 0.6981 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.6009, allocations: 14.2 kB / 0.6982 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.6012, allocations: 15.05 kB / 0.6982 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.6013, allocations: 40.2 kB / 0.6982 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.6013, allocations: 9.594 kB / 0.6982 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002903/0.6016, allocations: 243.8 kB / 0.6985 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6016, allocations: 2.156 kB / 0.6985 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006614/0.6023, allocations: 173.7 kB / 0.6986 GB, free: 140.8 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.0004385/0.6027, allocations: 242.5 kB / 0.6989 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.6037, allocations: 0.5089 MB / 0.6994 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6037, allocations: 0 / 0.6994 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.6043, allocations: 282.9 kB / 0.6996 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000756/0.605, allocations: 109.6 kB / 0.6997 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.6069, allocations: 0.845 MB / 0.7006 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.6071, allocations: 218 kB / 0.7008 GB, free: 139.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002834/0.6074, allocations: 81.66 kB / 0.7008 GB, free: 139.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.6075, allocations: 45.67 kB / 0.7009 GB, free: 139.8 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/0.6075, allocations: 4 kB / 0.7009 GB, free: 139.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.0167/0.6242, allocations: 7.792 MB / 0.7085 GB, free: 137.6 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 -s ida -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: 6.168393630068749]