Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.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.001048/0.001048, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001053/0.001053, allocations: 165 kB / 23.01 MB, free: 1.555 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 1.028/1.028, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7146/0.7146, allocations: 118.6 MB / 378.6 MB, free: 1.488 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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 483.6 MB, free: 8.203 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.72e-05, allocations: 2.312 kB / 483.6 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1411/0.1412, allocations: 133.5 MB / 0.6026 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004632/0.1458, allocations: 2.862 MB / 0.6054 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009981/0.1468, allocations: 63.38 kB / 0.6055 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008488/0.1476, allocations: 217.9 kB / 0.6057 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.1496, allocations: 0.7059 MB / 0.6064 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1511, allocations: 0.5568 MB / 0.6069 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002246/0.1533, allocations: 1.569 MB / 0.6085 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/0.1538, allocations: 199.7 kB / 0.6087 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.1554, allocations: 0.8608 MB / 0.6095 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007893/0.1562, allocations: 0.5727 MB / 0.6101 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.1563, allocations: 76 kB / 0.6101 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008738/0.1572, allocations: 419.4 kB / 0.6105 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1573, allocations: 207 kB / 0.6107 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.1577, allocations: 375 kB / 0.6111 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.1594, allocations: 1.132 MB / 0.6122 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1594, allocations: 0 / 0.6122 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1594, allocations: 4 kB / 0.6122 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.776e-05/0.1594, allocations: 0 / 0.6122 GB, free: 0.9023 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001993/0.1614, allocations: 1.538 MB / 0.6137 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1614, allocations: 12.03 kB / 0.6137 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/0.1618, allocations: 211.9 kB / 0.6139 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.1633, allocations: 0.8404 MB / 0.6147 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.1633, allocations: 50.38 kB / 0.6148 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/0.1634, allocations: 76.33 kB / 0.6149 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.1641, allocations: 0.5646 MB / 0.6154 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.1641, allocations: 4.188 kB / 0.6154 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.1642, allocations: 31.94 kB / 0.6154 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.1642, allocations: 20 kB / 0.6155 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.1647, allocations: 319.7 kB / 0.6158 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.1673, allocations: 2.192 MB / 0.6179 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008774/0.1682, allocations: 0.5004 MB / 0.6184 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.1684, allocations: 165.1 kB / 0.6185 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.1696, allocations: 0.8209 MB / 0.6194 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.1697, allocations: 45.89 kB / 0.6194 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=49): time 4.148e-06/0.1697, allocations: 0 / 0.6194 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.002061/0.1717, allocations: 1.197 MB / 0.6206 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.1718, allocations: 55.91 kB / 0.6206 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000933/0.1727, allocations: 0.7308 MB / 0.6213 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.1727, allocations: 37.7 kB / 0.6214 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.173, allocations: 0.55 MB / 0.6219 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.1731, allocations: 174.4 kB / 0.6221 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1732, allocations: 99.78 kB / 0.6222 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1734, allocations: 0.4887 MB / 0.6226 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.1735, allocations: 80.94 kB / 0.6227 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.1737, allocations: 186.5 kB / 0.6229 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.174, allocations: 303 kB / 0.6232 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1741, allocations: 0 / 0.6232 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008551/0.1749, allocations: 0.5118 MB / 0.6237 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.1749, allocations: 8 kB / 0.6237 GB, free: 4.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1749, allocations: 0 / 0.6237 GB, free: 4.738 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/0.1754, allocations: 119.7 kB / 0.6238 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.1756, allocations: 95.83 kB / 0.6239 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.1775, allocations: 2.154 MB / 0.626 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.178, allocations: 20.02 kB / 0.626 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.1781, allocations: 24 kB / 0.626 GB, free: 2.207 MB / 0.5417 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.1784, allocations: 180.5 kB / 0.6262 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.1787, allocations: 123.3 kB / 0.6263 GB, free: 1.898 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.1797, allocations: 0.6573 MB / 0.627 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1797, allocations: 8 kB / 0.627 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1798, allocations: 0 / 0.627 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.1798, allocations: 3.984 kB / 0.627 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.1819, allocations: 1.212 MB / 0.6282 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.1819, allocations: 3.938 kB / 0.6282 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.1821, allocations: 75.91 kB / 0.6282 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003617/0.1824, allocations: 131.6 kB / 0.6284 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.1825, allocations: 16 kB / 0.6284 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.184, allocations: 2.144 MB / 0.6305 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.184, allocations: 4 kB / 0.6305 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009981/0.185, allocations: 0.7713 MB / 0.6312 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.1852, allocations: 135.2 kB / 0.6314 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.1853, allocations: 12 kB / 0.6314 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.1854, allocations: 20.05 kB / 0.6314 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.573e-05/0.1855, allocations: 48.3 kB / 0.6314 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.1856, allocations: 19.98 kB / 0.6315 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004457/0.186, allocations: 0.4922 MB / 0.6319 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.186, allocations: 0 / 0.6319 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007114/0.1867, allocations: 271.6 kB / 0.6322 GB, free: 11.61 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance1.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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003994/0.1871, allocations: 226.7 kB / 0.6324 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007627/0.1879, allocations: 0.5084 MB / 0.6329 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1879, allocations: 0 / 0.6329 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000411/0.1883, allocations: 413 kB / 0.6333 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009754/0.1893, allocations: 342.7 kB / 0.6336 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.1923, allocations: 1.651 MB / 0.6352 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.1924, allocations: 179.5 kB / 0.6354 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004045/0.1928, allocations: 142.3 kB / 0.6356 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.193, allocations: 80.47 kB / 0.6356 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of SimCode: time 2.525e-06/0.193, allocations: 0 / 0.6356 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of Templates: time 0.2928/0.4858, allocations: 14.43 MB / 0.6497 GB, free: 49.32 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_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.736761191859841]