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.001408/0.001408, 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.001549/0.001549, allocations: 216.4 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.7965/0.7965, allocations: 100.9 MB / 414.1 MB, free: 2.875 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.002534/0.002534, allocations: 88.83 kB / 0.5653 GB, free: 35.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1208, allocations: 74.62 MB / 0.6382 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04116/0.162, allocations: 34.2 MB / 0.6716 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01897/0.181, allocations: 13.79 MB / 0.685 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.1822, allocations: 71.31 kB / 0.6851 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.1845, allocations: 0.8784 MB / 0.6859 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.1883, allocations: 1.371 MB / 0.6873 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.1914, allocations: 1.029 MB / 0.6883 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0028/0.1942, allocations: 1.961 MB / 0.6902 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004571/0.1946, allocations: 215.4 kB / 0.6904 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.1964, allocations: 1.078 MB / 0.6915 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009078/0.1973, allocations: 0.6488 MB / 0.6921 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.1975, allocations: 92 kB / 0.6922 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.1995, allocations: 0.7998 MB / 0.693 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.1999, allocations: 318.5 kB / 0.6933 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006108/0.2005, allocations: 0.5669 MB / 0.6938 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.2037, allocations: 2.116 MB / 0.6959 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2037, allocations: 0 / 0.6959 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2037, allocations: 0 / 0.6959 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.2037, allocations: 0 / 0.6959 GB, free: 10.62 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.003575/0.2073, allocations: 2.03 MB / 0.6979 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2073, allocations: 13.47 kB / 0.6979 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000464/0.2078, allocations: 219 kB / 0.6981 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.21, allocations: 1.135 MB / 0.6992 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.2101, allocations: 58 kB / 0.6993 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.2102, allocations: 80 kB / 0.6993 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.2117, allocations: 0.9034 MB / 0.7002 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2117, allocations: 0 / 0.7002 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.2118, allocations: 36 kB / 0.7002 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.2118, allocations: 23.94 kB / 0.7003 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.2133, allocations: 0.7964 MB / 0.7011 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.2173, allocations: 2.207 MB / 0.7032 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.2184, allocations: 0.6052 MB / 0.7038 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.2189, allocations: 298.6 kB / 0.7041 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002405/0.2213, allocations: 1.129 MB / 0.7052 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.2214, allocations: 43.16 kB / 0.7052 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.2214, allocations: 0 / 0.7052 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002527/0.2239, allocations: 1.065 MB / 0.7063 GB, free: 15.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.2239, allocations: 60.06 kB / 0.7063 GB, free: 15.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.2256, allocations: 1.29 MB / 0.7076 GB, free: 14.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.2256, allocations: 37.7 kB / 0.7076 GB, free: 14.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005443/0.2262, allocations: 0.6319 MB / 0.7082 GB, free: 13.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.2264, allocations: 269.6 kB / 0.7085 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.2266, allocations: 142.6 kB / 0.7086 GB, free: 13.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2268, allocations: 330 kB / 0.7089 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.2272, allocations: 209.9 kB / 0.7091 GB, free: 12.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.2277, allocations: 371.3 kB / 0.7095 GB, free: 12.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/0.2287, allocations: 0.5436 MB / 0.71 GB, free: 11.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.2287, allocations: 4 kB / 0.71 GB, free: 11.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001584/0.2303, allocations: 0.8219 MB / 0.7108 GB, free: 10.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2303, allocations: 4 kB / 0.7108 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2303, allocations: 4 kB / 0.7108 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004397/0.2308, allocations: 117.6 kB / 0.711 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.2314, allocations: 136 kB / 0.7111 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00304/0.2344, allocations: 2.943 MB / 0.714 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.2349, allocations: 59.61 kB / 0.714 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.235, allocations: 28.12 kB / 0.714 GB, free: 7.469 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.0004992/0.2355, allocations: 321.7 kB / 0.7143 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.2357, allocations: 151 kB / 0.7145 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.2377, allocations: 1.097 MB / 0.7156 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2377, allocations: 8 kB / 0.7156 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2377, allocations: 0 / 0.7156 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.2377, allocations: 7.984 kB / 0.7156 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.2406, allocations: 1.689 MB / 0.7172 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2406, allocations: 3.984 kB / 0.7172 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.2411, allocations: 115.8 kB / 0.7173 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003633/0.2414, allocations: 117.8 kB / 0.7175 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.2415, allocations: 27.92 kB / 0.7175 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002764/0.2442, allocations: 2.944 MB / 0.7204 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2442, allocations: 0 / 0.7204 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.2463, allocations: 1.18 MB / 0.7215 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005283/0.2468, allocations: 264.7 kB / 0.7218 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.247, allocations: 23.98 kB / 0.7218 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.2474, allocations: 20.12 kB / 0.7218 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.2475, allocations: 60.48 kB / 0.7219 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.2475, allocations: 27.92 kB / 0.7219 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001257/0.2488, allocations: 0.9135 MB / 0.7228 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2488, allocations: 0 / 0.7228 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001033/0.2498, allocations: 395.1 kB / 0.7232 GB, free: 13.8 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.001922/0.2518, allocations: 0.7464 MB / 0.7239 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.2533, allocations: 0.776 MB / 0.7246 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2533, allocations: 0 / 0.7246 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008574/0.2542, allocations: 0.5367 MB / 0.7252 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.2557, allocations: 386.6 kB / 0.7255 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.2599, allocations: 2.53 MB / 0.728 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/0.2606, allocations: 0.6257 MB / 0.7286 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.2609, allocations: 131.4 kB / 0.7287 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/0.2609, allocations: 0 / 0.7287 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of Templates: time 0.29/0.5509, allocations: 31.73 MB / 0.7597 GB, free: 108.1 MB / 0.5762 GB " [Timeout remaining time 659] 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/jenkins1/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: 10.939389729406685]