Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.001572/0.001572, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001772/0.001772, allocations: 210 kB / 22.25 MB, free: 4.855 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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 0.7701/0.7701, allocations: 100.9 MB / 413.3 MB, free: 2.879 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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") [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.002495/0.002495, allocations: 90.55 kB / 0.5646 GB, free: 35.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1158, allocations: 74.61 MB / 0.6374 GB, free: 5.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.03867/0.1545, allocations: 34.21 MB / 0.6708 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01848/0.173, allocations: 13.78 MB / 0.6843 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.1743, allocations: 67.38 kB / 0.6843 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.1767, allocations: 0.89 MB / 0.6852 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.1807, allocations: 1.363 MB / 0.6865 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.1836, allocations: 1.032 MB / 0.6876 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002676/0.1863, allocations: 1.957 MB / 0.6895 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.1867, allocations: 211.5 kB / 0.6897 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.1884, allocations: 1.086 MB / 0.6907 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008486/0.1893, allocations: 0.641 MB / 0.6914 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.1894, allocations: 92 kB / 0.6914 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.1914, allocations: 0.8038 MB / 0.6922 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.1917, allocations: 322.5 kB / 0.6925 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000587/0.1923, allocations: 0.5708 MB / 0.6931 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003318/0.1956, allocations: 2.105 MB / 0.6951 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1956, allocations: 0 / 0.6951 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1956, allocations: 0 / 0.6951 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.904e-05/0.1956, allocations: 0 / 0.6951 GB, free: 10.6 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003661/0.1993, allocations: 2.03 MB / 0.6971 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1993, allocations: 13.47 kB / 0.6971 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004733/0.1998, allocations: 223 kB / 0.6974 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.2019, allocations: 1.127 MB / 0.6985 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.202, allocations: 58 kB / 0.6985 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.2021, allocations: 87.92 kB / 0.6986 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.2035, allocations: 0.8995 MB / 0.6995 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.2036, allocations: 4 kB / 0.6995 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.2036, allocations: 36 kB / 0.6995 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.2036, allocations: 27.88 kB / 0.6995 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.205, allocations: 0.8003 MB / 0.7003 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.209, allocations: 2.207 MB / 0.7025 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.21, allocations: 0.6013 MB / 0.7031 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.2106, allocations: 298.7 kB / 0.7033 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002468/0.213, allocations: 1.125 MB / 0.7044 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.2131, allocations: 43.16 kB / 0.7045 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.565e-06/0.2131, allocations: 0 / 0.7045 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002593/0.2157, allocations: 1.068 MB / 0.7055 GB, free: 15.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.2157, allocations: 60.06 kB / 0.7056 GB, free: 15.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.2174, allocations: 1.29 MB / 0.7068 GB, free: 14.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.2174, allocations: 37.7 kB / 0.7069 GB, free: 14.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/0.218, allocations: 0.6319 MB / 0.7075 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.2182, allocations: 273.7 kB / 0.7078 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.2184, allocations: 138.6 kB / 0.7079 GB, free: 13.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2186, allocations: 333.9 kB / 0.7082 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.219, allocations: 201.9 kB / 0.7084 GB, free: 12.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.2195, allocations: 371.4 kB / 0.7088 GB, free: 12.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009768/0.2205, allocations: 0.5397 MB / 0.7093 GB, free: 11.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.2205, allocations: 4 kB / 0.7093 GB, free: 11.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001613/0.2221, allocations: 0.8219 MB / 0.7101 GB, free: 10.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2221, allocations: 7.984 kB / 0.7101 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.2221, allocations: 4 kB / 0.7101 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004385/0.2226, allocations: 113.8 kB / 0.7102 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.2231, allocations: 135.8 kB / 0.7103 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.226, allocations: 2.951 MB / 0.7132 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.2266, allocations: 55.62 kB / 0.7133 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/0.2266, allocations: 31.98 kB / 0.7133 GB, free: 7.445 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005298/0.2272, allocations: 319.3 kB / 0.7136 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.2274, allocations: 151 kB / 0.7138 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.2294, allocations: 1.094 MB / 0.7148 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.2294, allocations: 8 kB / 0.7148 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2294, allocations: 0 / 0.7148 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.2295, allocations: 7.984 kB / 0.7148 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.2324, allocations: 1.697 MB / 0.7165 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2324, allocations: 0 / 0.7165 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.2328, allocations: 115.8 kB / 0.7166 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004095/0.2332, allocations: 113.7 kB / 0.7167 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/0.2333, allocations: 27.92 kB / 0.7167 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.2361, allocations: 2.947 MB / 0.7196 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2361, allocations: 0 / 0.7196 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.2382, allocations: 1.184 MB / 0.7208 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005721/0.2387, allocations: 264.7 kB / 0.721 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.2389, allocations: 20 kB / 0.721 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.2393, allocations: 19.98 kB / 0.7211 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.2394, allocations: 60.48 kB / 0.7211 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.2395, allocations: 23.98 kB / 0.7211 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001258/0.2407, allocations: 0.9212 MB / 0.722 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2407, allocations: 0 / 0.722 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001044/0.2418, allocations: 395.1 kB / 0.7224 GB, free: 13.77 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001897/0.2437, allocations: 0.7378 MB / 0.7231 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.2452, allocations: 0.776 MB / 0.7239 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2452, allocations: 0 / 0.7239 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008347/0.246, allocations: 0.5406 MB / 0.7244 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.2476, allocations: 383 kB / 0.7248 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.2521, allocations: 2.475 MB / 0.7272 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/0.2528, allocations: 0.618 MB / 0.7278 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000773/0.2536, allocations: 228.5 kB / 0.728 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.2538, allocations: 111.4 kB / 0.7281 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.2538, allocations: 4 kB / 0.7281 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of Templates: time 0.03786/0.2917, allocations: 22.25 MB / 0.7499 GB, free: 2.055 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.222744097933173]