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.001264/0.001264, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001321/0.001321, allocations: 163.7 kB / 23.01 MB, free: 4.602 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.356/1.356, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 179] 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.7278/0.7278, allocations: 79.61 MB / 339.4 MB, free: 11 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.002482/0.002482, allocations: 89.73 kB / 0.4924 GB, free: 26.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1117, allocations: 74.58 MB / 0.5652 GB, free: 6.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.03966/0.1514, allocations: 34.21 MB / 0.5986 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.1693, allocations: 13.79 MB / 0.6121 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.1706, allocations: 67.38 kB / 0.6121 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.1729, allocations: 0.8822 MB / 0.613 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003752/0.1766, allocations: 1.367 MB / 0.6143 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.1796, allocations: 1.027 MB / 0.6153 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002847/0.1824, allocations: 1.957 MB / 0.6172 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004741/0.1829, allocations: 219.5 kB / 0.6174 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.1849, allocations: 1.082 MB / 0.6185 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.1859, allocations: 0.6449 MB / 0.6191 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.1862, allocations: 88 kB / 0.6192 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.1884, allocations: 0.796 MB / 0.62 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.1888, allocations: 330.5 kB / 0.6203 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006795/0.1895, allocations: 0.5669 MB / 0.6209 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.1928, allocations: 2.112 MB / 0.6229 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1928, allocations: 0 / 0.6229 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1928, allocations: 0 / 0.6229 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.1928, allocations: 0 / 0.6229 GB, free: 10.66 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.003488/0.1963, allocations: 2.03 MB / 0.6249 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1963, allocations: 9.469 kB / 0.6249 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004792/0.1968, allocations: 219 kB / 0.6251 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.1989, allocations: 1.131 MB / 0.6262 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.1989, allocations: 62 kB / 0.6263 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.199, allocations: 87.98 kB / 0.6264 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.2005, allocations: 0.8995 MB / 0.6272 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2006, allocations: 3.984 kB / 0.6273 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/0.2006, allocations: 36 kB / 0.6273 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.2007, allocations: 23.94 kB / 0.6273 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.202, allocations: 0.7964 MB / 0.6281 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.2063, allocations: 2.214 MB / 0.6303 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.2074, allocations: 0.6046 MB / 0.6308 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.2079, allocations: 290.7 kB / 0.6311 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002434/0.2103, allocations: 1.137 MB / 0.6322 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.2104, allocations: 39.22 kB / 0.6323 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.755e-06/0.2104, allocations: 0 / 0.6323 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002599/0.213, allocations: 1.065 MB / 0.6333 GB, free: 15.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.213, allocations: 56.06 kB / 0.6334 GB, free: 15.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.2147, allocations: 1.294 MB / 0.6346 GB, free: 14.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.2148, allocations: 37.7 kB / 0.6347 GB, free: 14.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005643/0.2154, allocations: 0.6319 MB / 0.6353 GB, free: 13.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.2156, allocations: 269.6 kB / 0.6355 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.2158, allocations: 138.6 kB / 0.6357 GB, free: 13.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.216, allocations: 334 kB / 0.636 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.2164, allocations: 205.9 kB / 0.6362 GB, free: 12.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.217, allocations: 367.4 kB / 0.6365 GB, free: 12.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.218, allocations: 0.5436 MB / 0.6371 GB, free: 11.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.218, allocations: 0 / 0.6371 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00163/0.2196, allocations: 0.8297 MB / 0.6379 GB, free: 11.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2196, allocations: 8 kB / 0.6379 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2196, allocations: 3.984 kB / 0.6379 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004292/0.2201, allocations: 109.6 kB / 0.638 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.2206, allocations: 139.8 kB / 0.6381 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.2235, allocations: 2.948 MB / 0.641 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.2241, allocations: 59.61 kB / 0.6411 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/0.2242, allocations: 28 kB / 0.6411 GB, free: 7.512 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.0005258/0.2247, allocations: 328.2 kB / 0.6414 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.225, allocations: 151 kB / 0.6415 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.227, allocations: 1.092 MB / 0.6426 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.227, allocations: 4 kB / 0.6426 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.227, allocations: 4 kB / 0.6426 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.2271, allocations: 3.984 kB / 0.6426 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.23, allocations: 1.693 MB / 0.6443 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.23, allocations: 4 kB / 0.6443 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.2304, allocations: 115.8 kB / 0.6444 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/0.2308, allocations: 113.7 kB / 0.6445 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.2309, allocations: 23.98 kB / 0.6445 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/0.2337, allocations: 2.944 MB / 0.6474 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2337, allocations: 4.125 kB / 0.6474 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.2358, allocations: 1.184 MB / 0.6485 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000516/0.2363, allocations: 264.6 kB / 0.6488 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.2364, allocations: 16 kB / 0.6488 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.2369, allocations: 28.05 kB / 0.6488 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.237, allocations: 60.48 kB / 0.6489 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.237, allocations: 23.98 kB / 0.6489 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001261/0.2383, allocations: 0.9096 MB / 0.6498 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2383, allocations: 0 / 0.6498 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00108/0.2394, allocations: 399.1 kB / 0.6502 GB, free: 13.84 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.001905/0.2413, allocations: 0.7446 MB / 0.6509 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.243, allocations: 0.7801 MB / 0.6517 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.243, allocations: 0 / 0.6517 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009165/0.2439, allocations: 0.5398 MB / 0.6522 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.2456, allocations: 382.7 kB / 0.6526 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.25, allocations: 2.467 MB / 0.655 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007628/0.2508, allocations: 0.6196 MB / 0.6556 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007487/0.2515, allocations: 231.2 kB / 0.6558 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.2518, allocations: 116.5 kB / 0.6559 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.2518, allocations: 0 / 0.6559 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of Templates: time 0.03723/0.289, allocations: 20.43 MB / 0.6759 GB, free: 3.926 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 -s ida -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: 5.744293262017891]