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.001975/0.001975, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002217/0.002217, allocations: 216.7 kB / 22.25 MB, free: 5.082 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.008 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.7889/0.7889, allocations: 100.3 MB / 412.7 MB, free: 3.625 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.00258/0.00258, allocations: 88.22 kB / 0.5638 GB, free: 35.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1137, allocations: 74.47 MB / 0.6365 GB, free: 7.113 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04659/0.1603, allocations: 37.81 MB / 0.6734 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.181, allocations: 15.2 MB / 0.6882 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.1822, allocations: 71.31 kB / 0.6883 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.1846, allocations: 0.9601 MB / 0.6893 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.1888, allocations: 1.383 MB / 0.6906 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.192, allocations: 1.058 MB / 0.6916 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003074/0.1951, allocations: 1.964 MB / 0.6936 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005672/0.1957, allocations: 215.5 kB / 0.6938 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.1977, allocations: 1.082 MB / 0.6948 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.1989, allocations: 0.7113 MB / 0.6955 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.1992, allocations: 92 kB / 0.6956 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.2018, allocations: 0.9013 MB / 0.6965 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.2022, allocations: 318.5 kB / 0.6968 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008955/0.2031, allocations: 0.7299 MB / 0.6975 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.207, allocations: 2.124 MB / 0.6996 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2071, allocations: 4 kB / 0.6996 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2071, allocations: 0 / 0.6996 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.344e-05/0.2071, allocations: 0 / 0.6996 GB, free: 6.238 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.003904/0.211, allocations: 2.026 MB / 0.7016 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.211, allocations: 9.469 kB / 0.7016 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003442/0.2114, allocations: 203 kB / 0.7018 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.2136, allocations: 1.142 MB / 0.7029 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.2137, allocations: 62 kB / 0.7029 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.2138, allocations: 80 kB / 0.703 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.2153, allocations: 0.8688 MB / 0.7039 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.2153, allocations: 4 kB / 0.7039 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-05/0.2154, allocations: 28 kB / 0.7039 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.2154, allocations: 23.94 kB / 0.7039 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.2168, allocations: 0.816 MB / 0.7047 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004951/0.2218, allocations: 3.553 MB / 0.7082 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.2229, allocations: 0.5727 MB / 0.7087 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/0.2234, allocations: 298.7 kB / 0.709 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002733/0.2262, allocations: 1.299 MB / 0.7103 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.2262, allocations: 43.22 kB / 0.7103 GB, free: 10.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 4.368e-06/0.2262, allocations: 4 kB / 0.7103 GB, free: 10.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002721/0.2289, allocations: 1.084 MB / 0.7114 GB, free: 9.676 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.229, allocations: 64 kB / 0.7115 GB, free: 9.598 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.2309, allocations: 1.344 MB / 0.7128 GB, free: 8.242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.231, allocations: 37.7 kB / 0.7128 GB, free: 8.199 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/0.2316, allocations: 0.6323 MB / 0.7134 GB, free: 7.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.2318, allocations: 261.7 kB / 0.7137 GB, free: 7.301 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.232, allocations: 146.5 kB / 0.7138 GB, free: 7.152 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2322, allocations: 330 kB / 0.7141 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/0.2327, allocations: 217.9 kB / 0.7143 GB, free: 6.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/0.2333, allocations: 310.2 kB / 0.7146 GB, free: 6.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.2343, allocations: 0.5419 MB / 0.7152 GB, free: 5.719 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2343, allocations: 0 / 0.7152 GB, free: 5.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001728/0.236, allocations: 0.8337 MB / 0.716 GB, free: 4.871 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2361, allocations: 7.938 kB / 0.716 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.2361, allocations: 7.938 kB / 0.716 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.2365, allocations: 109.8 kB / 0.7161 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.2371, allocations: 139.8 kB / 0.7162 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.2403, allocations: 3.009 MB / 0.7192 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.2408, allocations: 67.5 kB / 0.7192 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.2409, allocations: 27.98 kB / 0.7193 GB, free: 1.273 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0005138/0.2414, allocations: 329.7 kB / 0.7196 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.2417, allocations: 162.9 kB / 0.7197 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.2439, allocations: 1.124 MB / 0.7208 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2439, allocations: 8 kB / 0.7208 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.2439, allocations: 7.984 kB / 0.7208 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.244, allocations: 7.938 kB / 0.7208 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/0.2475, allocations: 1.987 MB / 0.7228 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.2475, allocations: 3.938 kB / 0.7228 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.248, allocations: 127.8 kB / 0.7229 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004118/0.2484, allocations: 113.8 kB / 0.723 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.2484, allocations: 27.98 kB / 0.723 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/0.2513, allocations: 3.016 MB / 0.726 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2514, allocations: 0 / 0.726 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.2536, allocations: 1.233 MB / 0.7272 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005959/0.2542, allocations: 276.6 kB / 0.7275 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.2544, allocations: 23.95 kB / 0.7275 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.2549, allocations: 24.05 kB / 0.7275 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.255, allocations: 64.48 kB / 0.7276 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-05/0.2551, allocations: 31.92 kB / 0.7276 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001427/0.2565, allocations: 0.9545 MB / 0.7285 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2565, allocations: 0 / 0.7285 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001171/0.2577, allocations: 423 kB / 0.7289 GB, free: 6.988 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 (67): * Single equations (assignments): 65 * 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.00204/0.2597, allocations: 0.7643 MB / 0.7297 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.2614, allocations: 0.8033 MB / 0.7305 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2614, allocations: 0 / 0.7305 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00097/0.2624, allocations: 0.5406 MB / 0.731 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.2643, allocations: 426.5 kB / 0.7314 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.2688, allocations: 2.487 MB / 0.7338 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009318/0.2697, allocations: 1.208 MB / 0.735 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008551/0.2706, allocations: 245.3 kB / 0.7352 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.2709, allocations: 123.4 kB / 0.7354 GB, free: 448 kB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/0.2709, allocations: 0 / 0.7354 GB, free: 448 kB / 0.5606 GB Notification: Performance of Templates: time 0.2838/0.5547, allocations: 22.02 MB / 0.7569 GB, free: 108.6 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/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.635045543778688]