Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.001398/0.001398, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001591/0.001591, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.908/0.908, allocations: 177.1 MB / 203.8 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6368/0.6368, allocations: 118.7 MB / 378.9 MB, free: 1.379 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 430.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.387e-05, allocations: 6.25 kB / 430.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.01335/0.01337, allocations: 12.7 MB / 443.5 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1607/0.1741, allocations: 4.004 MB / 447.5 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007381/0.1748, allocations: 117.2 kB / 447.6 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.1754, allocations: 373.4 kB / 448 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.177, allocations: 1.255 MB / 449.3 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1782, allocations: 0.7962 MB / 450.1 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.1803, allocations: 3.025 MB / 453.1 MB, free: 14.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.1807, allocations: 329.9 kB / 453.4 MB, free: 14.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.1822, allocations: 1.576 MB / 455 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.1829, allocations: 0.7592 MB / 455.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.1831, allocations: 129.8 kB / 455.9 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.1835, allocations: 298.7 kB / 456.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.1837, allocations: 371.1 kB / 456.5 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.1842, allocations: 0.6393 MB / 457.2 MB, free: 13.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.1854, allocations: 1.775 MB / 458.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1854, allocations: 0.9375 kB / 458.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1854, allocations: 0 / 458.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.1854, allocations: 0 / 458.9 MB, free: 12.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002106/0.1875, allocations: 2.385 MB / 461.3 MB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.1875, allocations: 14.03 kB / 461.3 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.1879, allocations: 310.7 kB / 461.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.1891, allocations: 1.292 MB / 462.9 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.1891, allocations: 88.23 kB / 463 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/0.1892, allocations: 129.4 kB / 463.1 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.1898, allocations: 0.9269 MB / 464.1 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.1898, allocations: 384 / 464.1 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.1899, allocations: 55.94 kB / 464.1 MB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.1899, allocations: 28 kB / 464.2 MB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.1903, allocations: 418.6 kB / 464.6 MB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.1925, allocations: 2.651 MB / 467.2 MB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.193, allocations: 0.6458 MB / 467.9 MB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1931, allocations: 216.6 kB / 468.1 MB, free: 5.004 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.1944, allocations: 1.038 MB / 469.1 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.1944, allocations: 43.5 kB / 469.1 MB, free: 3.945 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 1.824e-06/0.1944, allocations: 0 / 469.1 MB, free: 3.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.0009567/0.1953, allocations: 0.7881 MB / 469.9 MB, free: 3.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.566e-05/0.1954, allocations: 68.39 kB / 470 MB, free: 3.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.1959, allocations: 1.219 MB / 471.2 MB, free: 2.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.196, allocations: 45.7 kB / 471.3 MB, free: 2.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1961, allocations: 0.5621 MB / 471.8 MB, free: 1.551 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.677e-05/0.1962, allocations: 358.3 kB / 472.2 MB, free: 1.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1963, allocations: 169.5 kB / 472.3 MB, free: 1.066 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.31e-05/0.1964, allocations: 350.6 kB / 472.7 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1965, allocations: 97.89 kB / 472.8 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.1967, allocations: 0.5522 MB / 473.3 MB, free: 15.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006171/0.1973, allocations: 487.6 kB / 473.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1973, allocations: 0.5625 kB / 473.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0006418/0.1979, allocations: 0.6294 MB / 474.4 MB, free: 14.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.198, allocations: 8 kB / 474.5 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.198, allocations: 4 kB / 474.5 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003857/0.1983, allocations: 175.5 kB / 474.6 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.1987, allocations: 183.7 kB / 474.8 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.2004, allocations: 3.806 MB / 478.6 MB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.2007, allocations: 87.39 kB / 478.7 MB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.2008, allocations: 31.98 kB / 478.7 MB, free: 10.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0002072/0.201, allocations: 176.4 kB / 478.9 MB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.2011, allocations: 131.8 kB / 479 MB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.2021, allocations: 1.107 MB / 480.1 MB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2021, allocations: 11.44 kB / 480.1 MB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2021, allocations: 4 kB / 480.2 MB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.2021, allocations: 4.547 kB / 480.2 MB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.2037, allocations: 1.336 MB / 481.5 MB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2037, allocations: 4 kB / 481.5 MB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.204, allocations: 135.8 kB / 481.6 MB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003538/0.2043, allocations: 187.9 kB / 481.8 MB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.2044, allocations: 23.98 kB / 481.8 MB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.2059, allocations: 3.824 MB / 485.7 MB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2059, allocations: 0 / 485.7 MB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.2067, allocations: 0.8303 MB / 486.5 MB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/0.207, allocations: 194.5 kB / 486.7 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2071, allocations: 39.86 kB / 486.7 MB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.2073, allocations: 27.92 kB / 486.7 MB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.2074, allocations: 68.86 kB / 486.8 MB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.2074, allocations: 23.98 kB / 486.8 MB, free: 2.117 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004462/0.2079, allocations: 0.6671 MB / 487.5 MB, free: 1.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2079, allocations: 0 / 487.5 MB, free: 1.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006074/0.2085, allocations: 455.1 kB / 487.9 MB, free: 1.055 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0001739/0.2087, allocations: 146.1 kB / 488.1 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008803/0.2095, allocations: 0.8163 MB / 488.9 MB, free: 68 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/0.2096, allocations: 16 kB / 488.9 MB, free: 52 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.21, allocations: 0.6294 MB / 489.6 MB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.2114, allocations: 0.7202 MB / 490.3 MB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.2144, allocations: 2.803 MB / 493.1 MB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.2146, allocations: 282 kB / 493.4 MB, free: 11.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005342/0.2151, allocations: 285.3 kB / 493.6 MB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008034/0.2159, allocations: 0.4951 MB / 494.1 MB, free: 10.82 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2159, allocations: 0 / 494.1 MB, free: 10.82 MB / 442.7 MB Notification: Performance of Templates: time 0.03075/0.2466, allocations: 27.9 MB / 0.5098 GB, free: 15.66 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6370639223605394]