Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001666/0.001666, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001972/0.001972, allocations: 212.8 kB / 22.99 MB, free: 4.945 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.7123/0.7123, allocations: 94.62 MB / 407.8 MB, free: 8.871 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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_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_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.002523/0.002523, allocations: 92.27 kB / 0.5562 GB, free: 38.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.1016, allocations: 73.06 MB / 0.6275 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04046/0.1421, allocations: 34.21 MB / 0.6609 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.1601, allocations: 13.78 MB / 0.6744 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.1612, allocations: 67.38 kB / 0.6744 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.1632, allocations: 0.8822 MB / 0.6753 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003439/0.1666, allocations: 1.375 MB / 0.6766 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.1694, allocations: 1.026 MB / 0.6776 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0026/0.172, allocations: 1.961 MB / 0.6796 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/0.1725, allocations: 219.4 kB / 0.6798 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.1742, allocations: 1.074 MB / 0.6808 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009449/0.1752, allocations: 0.6488 MB / 0.6814 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.1753, allocations: 96 kB / 0.6815 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.1772, allocations: 0.7882 MB / 0.6823 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.1775, allocations: 330.5 kB / 0.6826 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005618/0.1781, allocations: 0.5669 MB / 0.6832 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.1809, allocations: 2.116 MB / 0.6852 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1809, allocations: 3.984 kB / 0.6852 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1809, allocations: 0 / 0.6852 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.1809, allocations: 0 / 0.6852 GB, free: 4.305 MB / 0.5137 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.003377/0.1843, allocations: 2.026 MB / 0.6872 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1843, allocations: 12.03 kB / 0.6872 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.1848, allocations: 219 kB / 0.6874 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.1868, allocations: 1.127 MB / 0.6885 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.575e-05/0.1869, allocations: 62 kB / 0.6886 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.187, allocations: 83.95 kB / 0.6887 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.1885, allocations: 0.9035 MB / 0.6896 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.1885, allocations: 0 / 0.6896 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.1885, allocations: 28 kB / 0.6896 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.1886, allocations: 27.94 kB / 0.6896 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.1899, allocations: 0.7964 MB / 0.6904 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.1938, allocations: 2.199 MB / 0.6925 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1949, allocations: 0.6124 MB / 0.6931 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/0.1954, allocations: 294.7 kB / 0.6934 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002335/0.1977, allocations: 1.125 MB / 0.6945 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.1978, allocations: 39.22 kB / 0.6946 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.174e-06/0.1978, allocations: 4 kB / 0.6946 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.00247/0.2002, allocations: 1.057 MB / 0.6956 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.2003, allocations: 60.06 kB / 0.6957 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.2019, allocations: 1.294 MB / 0.6969 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.202, allocations: 37.7 kB / 0.697 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000544/0.2025, allocations: 0.6397 MB / 0.6976 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.2027, allocations: 261.7 kB / 0.6978 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.2029, allocations: 142.5 kB / 0.698 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2031, allocations: 334 kB / 0.6983 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.2035, allocations: 209.9 kB / 0.6985 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/0.2041, allocations: 367.3 kB / 0.6988 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009912/0.2051, allocations: 0.5436 MB / 0.6994 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2051, allocations: 0 / 0.6994 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001542/0.2066, allocations: 0.8181 MB / 0.7002 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2066, allocations: 4 kB / 0.7002 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2066, allocations: 11.92 kB / 0.7002 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000424/0.207, allocations: 109.8 kB / 0.7003 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.2076, allocations: 139.8 kB / 0.7004 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.2104, allocations: 2.939 MB / 0.7033 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.2109, allocations: 59.64 kB / 0.7033 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.2109, allocations: 28 kB / 0.7034 GB, free: 1.184 MB / 0.5294 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.0004824/0.2114, allocations: 325.8 kB / 0.7037 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.2116, allocations: 155 kB / 0.7038 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.2137, allocations: 1.097 MB / 0.7049 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.2137, allocations: 8 kB / 0.7049 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2137, allocations: 0 / 0.7049 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.2137, allocations: 3.984 kB / 0.7049 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.2165, allocations: 1.704 MB / 0.7066 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2165, allocations: 0 / 0.7066 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.217, allocations: 107.9 kB / 0.7067 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003573/0.2173, allocations: 117.7 kB / 0.7068 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/0.2174, allocations: 23.98 kB / 0.7068 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.2201, allocations: 2.947 MB / 0.7097 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2201, allocations: 4.031 kB / 0.7097 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.2222, allocations: 1.18 MB / 0.7108 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005233/0.2227, allocations: 264.7 kB / 0.7111 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.2228, allocations: 20.19 kB / 0.7111 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.2233, allocations: 23.98 kB / 0.7111 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.2234, allocations: 64.42 kB / 0.7112 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.2234, allocations: 27.98 kB / 0.7112 GB, free: 8.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001251/0.2247, allocations: 0.9057 MB / 0.7121 GB, free: 7.895 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2247, allocations: 0 / 0.7121 GB, free: 7.895 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001004/0.2257, allocations: 403.1 kB / 0.7125 GB, free: 7.5 MB / 0.545 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.001877/0.2276, allocations: 0.7419 MB / 0.7132 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.229, allocations: 0.7683 MB / 0.714 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.229, allocations: 0 / 0.714 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008609/0.2299, allocations: 0.5406 MB / 0.7145 GB, free: 5.547 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.2314, allocations: 396.1 kB / 0.7149 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.2356, allocations: 2.512 MB / 0.7173 GB, free: 2.613 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/0.2363, allocations: 0.6251 MB / 0.7179 GB, free: 1.953 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.2366, allocations: 123.3 kB / 0.7181 GB, free: 1.832 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.2366, allocations: 0 / 0.7181 GB, free: 1.832 MB / 0.545 GB Notification: Performance of Templates: time 0.04033/0.2769, allocations: 31.75 MB / 0.7491 GB, free: 2.129 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 10.797015684656799]