Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.001417/0.001417, allocations: 80.75 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.00173/0.00173, 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.9479/0.9479, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 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.6612/0.6612, allocations: 118.6 MB / 378.9 MB, free: 1.312 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.896e-05, allocations: 6.312 kB / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.1718/0.1719, allocations: 17.15 MB / 448 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006703/0.1786, allocations: 5.074 MB / 453 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.1797, allocations: 111.9 kB / 453.1 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008268/0.1805, allocations: 0.5442 MB / 453.7 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.183, allocations: 1.943 MB / 455.6 MB, free: 14.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1846, allocations: 0.9682 MB / 456.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002769/0.1874, allocations: 4.374 MB / 461 MB, free: 11.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.1879, allocations: 407.1 kB / 461.4 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.1897, allocations: 2.203 MB / 463.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000924/0.1907, allocations: 1.255 MB / 464.8 MB, free: 9.395 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.1908, allocations: 193.3 kB / 465 MB, free: 9.395 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.1914, allocations: 381.5 kB / 465.4 MB, free: 9.312 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.1916, allocations: 0.5084 MB / 465.9 MB, free: 8.812 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005448/0.1922, allocations: 0.9236 MB / 466.8 MB, free: 7.887 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.1934, allocations: 2.296 MB / 469.1 MB, free: 5.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1934, allocations: 0 / 469.1 MB, free: 5.582 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1934, allocations: 4 kB / 469.1 MB, free: 5.578 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.1935, allocations: 0 / 469.1 MB, free: 5.578 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: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.002283/0.1958, allocations: 2.883 MB / 472 MB, free: 2.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.1958, allocations: 8.031 kB / 472 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005248/0.1963, allocations: 468.5 kB / 472.5 MB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.1975, allocations: 1.294 MB / 473.8 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.1976, allocations: 144.1 kB / 473.9 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.1977, allocations: 196.3 kB / 474.1 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.1989, allocations: 1.455 MB / 475.5 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.1989, allocations: 4.125 kB / 475.6 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-05/0.199, allocations: 76.38 kB / 475.6 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.199, allocations: 51.94 kB / 475.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008886/0.1999, allocations: 0.7515 MB / 476.4 MB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004214/0.2041, allocations: 3.777 MB / 480.2 MB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.2052, allocations: 1.206 MB / 481.4 MB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.2056, allocations: 430.8 kB / 481.8 MB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002655/0.2083, allocations: 2.003 MB / 483.8 MB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006265/0.2089, allocations: 0.7524 MB / 484.6 MB, free: 5.863 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 3.236e-06/0.2089, allocations: 3.938 kB / 484.6 MB, free: 5.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.001707/0.2106, allocations: 1.36 MB / 486 MB, free: 4.488 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.2107, allocations: 154.5 kB / 486.1 MB, free: 4.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.2113, allocations: 1.096 MB / 487.2 MB, free: 3.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.2114, allocations: 57.7 kB / 487.3 MB, free: 3.141 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.2117, allocations: 0.6643 MB / 487.9 MB, free: 2.465 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.212, allocations: 0.6969 MB / 488.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.2123, allocations: 323.3 kB / 488.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.207e-05/0.2124, allocations: 309 kB / 489.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.2127, allocations: 259.7 kB / 489.5 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.2132, allocations: 0.7629 MB / 490.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/0.214, allocations: 0.9008 MB / 491.2 MB, free: 14.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.214, allocations: 4 kB / 491.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001122/0.2151, allocations: 1.107 MB / 492.3 MB, free: 13.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.2151, allocations: 33.7 kB / 492.3 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2151, allocations: 4 kB / 492.3 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/0.2154, allocations: 142.4 kB / 492.4 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.2162, allocations: 367.5 kB / 492.8 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.218, allocations: 3.825 MB / 496.6 MB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.2185, allocations: 158.5 kB / 496.8 MB, free: 9.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.2186, allocations: 63.95 kB / 496.8 MB, free: 9.008 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 1 * 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.0002974/0.2189, allocations: 216.9 kB / 497.1 MB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.2191, allocations: 191.8 kB / 497.2 MB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.2213, allocations: 1.993 MB / 499.2 MB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.2214, allocations: 20 kB / 499.3 MB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2214, allocations: 4 kB / 499.3 MB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.2214, allocations: 11.95 kB / 499.3 MB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.2239, allocations: 2.276 MB / 0.4898 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2239, allocations: 0 / 0.4898 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.2245, allocations: 328.3 kB / 0.4901 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/0.2248, allocations: 147.4 kB / 0.4902 GB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.895e-05/0.2248, allocations: 51.97 kB / 0.4903 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.2267, allocations: 3.835 MB / 0.494 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2267, allocations: 0 / 0.494 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.2282, allocations: 1.525 MB / 0.4955 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.2286, allocations: 310 kB / 0.4958 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.2287, allocations: 47.92 kB / 0.4959 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.229, allocations: 43.98 kB / 0.4959 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.2292, allocations: 153.6 kB / 0.4961 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/0.2293, allocations: 51.95 kB / 0.4961 GB, free: 13.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003778/0.2296, allocations: 0.5744 MB / 0.4967 GB, free: 12.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2296, allocations: 0 / 0.4967 GB, free: 12.95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008517/0.2305, allocations: 0.6863 MB / 0.4973 GB, free: 12.26 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002266/0.2307, allocations: 184.2 kB / 0.4975 GB, free: 12.08 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.2318, allocations: 1.363 MB / 0.4988 GB, free: 10.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/0.2319, allocations: 16.75 kB / 0.4989 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006713/0.2325, allocations: 0.914 MB / 0.4998 GB, free: 9.684 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.2345, allocations: 0.8653 MB / 0.5006 GB, free: 8.863 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.2387, allocations: 3.715 MB / 0.5042 GB, free: 5.082 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.239, allocations: 365.6 kB / 0.5046 GB, free: 4.695 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008285/0.2398, allocations: 459.4 kB / 0.505 GB, free: 4.289 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.2409, allocations: 0.6435 MB / 0.5056 GB, free: 3.625 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2409, allocations: 4 kB / 0.5056 GB, free: 3.621 MB / 458.7 MB Notification: Performance of Templates: time 0.04105/0.2819, allocations: 38.75 MB / 0.5435 GB, free: 13.66 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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: 4.242246665991843]