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.001642/0.001642, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001838/0.001838, allocations: 215.3 kB / 22.25 MB, free: 5.262 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.793 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.749/0.749, allocations: 94.62 MB / 407 MB, free: 8.902 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.002524/0.002524, allocations: 89.44 kB / 0.5554 GB, free: 38.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1086, allocations: 73.05 MB / 0.6268 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.0405/0.1491, allocations: 34.22 MB / 0.6602 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.168, allocations: 13.78 MB / 0.6736 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1692, allocations: 67.38 kB / 0.6737 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.1713, allocations: 0.8861 MB / 0.6746 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.175, allocations: 1.371 MB / 0.6759 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.1778, allocations: 1.028 MB / 0.6769 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002693/0.1805, allocations: 1.961 MB / 0.6788 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/0.181, allocations: 215.5 kB / 0.679 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.1828, allocations: 1.074 MB / 0.6801 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.1838, allocations: 0.6487 MB / 0.6807 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.184, allocations: 92 kB / 0.6808 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.186, allocations: 0.796 MB / 0.6816 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.1864, allocations: 322.5 kB / 0.6819 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007175/0.1871, allocations: 0.5708 MB / 0.6824 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.1907, allocations: 2.116 MB / 0.6845 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1907, allocations: 0 / 0.6845 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1907, allocations: 0 / 0.6845 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.23e-05/0.1908, allocations: 0 / 0.6845 GB, free: 4.316 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.004842/0.1956, allocations: 2.03 MB / 0.6865 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1957, allocations: 8.031 kB / 0.6865 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/0.1963, allocations: 223 kB / 0.6867 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.1989, allocations: 1.127 MB / 0.6878 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/0.1989, allocations: 58 kB / 0.6879 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.1991, allocations: 91.94 kB / 0.688 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.2008, allocations: 0.8995 MB / 0.6888 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.2008, allocations: 3.938 kB / 0.6888 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/0.2009, allocations: 32 kB / 0.6889 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.2009, allocations: 27.94 kB / 0.6889 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.2025, allocations: 0.7964 MB / 0.6897 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004597/0.2071, allocations: 2.195 MB / 0.6918 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.2082, allocations: 0.6084 MB / 0.6924 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.2087, allocations: 298.7 kB / 0.6927 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00247/0.2112, allocations: 1.125 MB / 0.6938 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.2112, allocations: 39.22 kB / 0.6938 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.304e-06/0.2112, allocations: 0 / 0.6938 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002526/0.2138, allocations: 1.061 MB / 0.6949 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2138, allocations: 60.06 kB / 0.6949 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.2155, allocations: 1.294 MB / 0.6962 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.2156, allocations: 37.7 kB / 0.6962 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/0.2161, allocations: 0.6319 MB / 0.6968 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.2164, allocations: 273.6 kB / 0.6971 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.2166, allocations: 142.5 kB / 0.6972 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2167, allocations: 334 kB / 0.6976 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.2171, allocations: 209.8 kB / 0.6978 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.2177, allocations: 363.4 kB / 0.6981 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.2187, allocations: 0.5436 MB / 0.6986 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.2187, allocations: 3.984 kB / 0.6986 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001604/0.2204, allocations: 0.8142 MB / 0.6994 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2204, allocations: 8 kB / 0.6994 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2204, allocations: 0 / 0.6994 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004361/0.2208, allocations: 113.8 kB / 0.6995 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.2213, allocations: 139.8 kB / 0.6997 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.2243, allocations: 2.947 MB / 0.7026 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.2249, allocations: 59.64 kB / 0.7026 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.225, allocations: 28 kB / 0.7026 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.0005386/0.2255, allocations: 321.7 kB / 0.7029 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.2257, allocations: 158.9 kB / 0.7031 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.2278, allocations: 1.093 MB / 0.7042 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.2278, allocations: 4 kB / 0.7042 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2278, allocations: 4 kB / 0.7042 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.2278, allocations: 3.984 kB / 0.7042 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.2308, allocations: 1.7 MB / 0.7058 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2308, allocations: 4 kB / 0.7058 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.2312, allocations: 107.9 kB / 0.7059 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003692/0.2316, allocations: 117.7 kB / 0.7061 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/0.2316, allocations: 23.98 kB / 0.7061 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/0.2345, allocations: 2.944 MB / 0.709 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.2345, allocations: 7.969 kB / 0.709 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.2366, allocations: 1.18 MB / 0.7101 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005457/0.2371, allocations: 264.6 kB / 0.7104 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.2373, allocations: 19.94 kB / 0.7104 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.2377, allocations: 23.98 kB / 0.7104 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.2378, allocations: 60.48 kB / 0.7105 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/0.2379, allocations: 27.98 kB / 0.7105 GB, free: 8.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001301/0.2392, allocations: 0.9057 MB / 0.7114 GB, free: 7.902 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2392, allocations: 0 / 0.7114 GB, free: 7.902 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00106/0.2402, allocations: 403.1 kB / 0.7118 GB, free: 7.508 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.001923/0.2422, allocations: 0.7427 MB / 0.7125 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.2437, allocations: 0.7683 MB / 0.7132 GB, free: 6.121 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2437, allocations: 0 / 0.7132 GB, free: 6.121 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008835/0.2446, allocations: 0.5483 MB / 0.7138 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.2462, allocations: 385.2 kB / 0.7141 GB, free: 5.188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.2504, allocations: 2.463 MB / 0.7165 GB, free: 2.676 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.2512, allocations: 0.6219 MB / 0.7172 GB, free: 2.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007377/0.2519, allocations: 226.2 kB / 0.7174 GB, free: 1.809 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.2522, allocations: 115.4 kB / 0.7175 GB, free: 1.695 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.2522, allocations: 3.938 kB / 0.7175 GB, free: 1.691 MB / 0.545 GB Notification: Performance of Templates: time 0.03812/0.2903, allocations: 22.24 MB / 0.7392 GB, free: 11.79 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/jenkins/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: 6.4041737876832485]