Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0009351/0.0009351, 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.0009934/0.0009934, allocations: 169 kB / 23.02 MB, free: 1.551 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.04/1.04, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7491/0.7491, allocations: 118.7 MB / 378.6 MB, free: 1.504 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.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 483.6 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.685e-05, allocations: 2.312 kB / 483.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1309/0.1309, allocations: 133.5 MB / 0.6027 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003142/0.134, allocations: 2.854 MB / 0.6054 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.1344, allocations: 63.38 kB / 0.6055 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.1349, allocations: 221.9 kB / 0.6057 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009199/0.1358, allocations: 0.6942 MB / 0.6064 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.1366, allocations: 0.5685 MB / 0.6069 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.1377, allocations: 1.569 MB / 0.6085 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.138, allocations: 199.7 kB / 0.6087 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00096/0.139, allocations: 0.8686 MB / 0.6095 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006419/0.1396, allocations: 0.5688 MB / 0.6101 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.1397, allocations: 76 kB / 0.6101 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006223/0.1404, allocations: 419.3 kB / 0.6105 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1405, allocations: 215 kB / 0.6107 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.1408, allocations: 367 kB / 0.6111 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.1419, allocations: 1.136 MB / 0.6122 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1419, allocations: 0 / 0.6122 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1419, allocations: 0 / 0.6122 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.142, allocations: 0 / 0.6122 GB, free: 0.9336 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.00157/0.1435, allocations: 1.534 MB / 0.6137 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1436, allocations: 8.031 kB / 0.6137 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.1438, allocations: 207.9 kB / 0.6139 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000903/0.1447, allocations: 0.8442 MB / 0.6147 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.1447, allocations: 58.38 kB / 0.6148 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/0.1448, allocations: 72.33 kB / 0.6149 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008026/0.1456, allocations: 0.5685 MB / 0.6154 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1457, allocations: 192 / 0.6154 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.1457, allocations: 35.94 kB / 0.6154 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.1457, allocations: 16 kB / 0.6155 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.1462, allocations: 319.7 kB / 0.6158 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.1486, allocations: 2.2 MB / 0.6179 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.1493, allocations: 0.5006 MB / 0.6184 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.1495, allocations: 153.9 kB / 0.6186 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009851/0.1505, allocations: 0.8209 MB / 0.6194 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1506, allocations: 41.89 kB / 0.6194 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=49): time 1.633e-06/0.1506, allocations: 0 / 0.6194 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.00173/0.1523, allocations: 1.197 MB / 0.6206 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1523, allocations: 59.84 kB / 0.6206 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/0.1529, allocations: 0.7347 MB / 0.6213 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1529, allocations: 37.7 kB / 0.6214 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.1532, allocations: 0.5422 MB / 0.6219 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.1533, allocations: 182.4 kB / 0.6221 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1534, allocations: 95.8 kB / 0.6222 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1536, allocations: 0.4926 MB / 0.6227 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1537, allocations: 76.95 kB / 0.6227 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.1539, allocations: 178.6 kB / 0.6229 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.1542, allocations: 307 kB / 0.6232 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1542, allocations: 4 kB / 0.6232 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006335/0.1549, allocations: 0.5157 MB / 0.6237 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1549, allocations: 4 kB / 0.6237 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1549, allocations: 4 kB / 0.6237 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/0.1552, allocations: 119.6 kB / 0.6238 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.1554, allocations: 91.89 kB / 0.6239 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.1568, allocations: 2.154 MB / 0.626 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.1569, allocations: 12 kB / 0.626 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.1569, allocations: 20 kB / 0.626 GB, free: 2.25 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.000156/0.1571, allocations: 176.5 kB / 0.6262 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.1572, allocations: 131.2 kB / 0.6263 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007746/0.158, allocations: 0.6612 MB / 0.627 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.158, allocations: 4 kB / 0.627 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.158, allocations: 4 kB / 0.627 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.158, allocations: 3.984 kB / 0.627 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.1592, allocations: 1.216 MB / 0.6282 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1592, allocations: 4 kB / 0.6282 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.1594, allocations: 71.91 kB / 0.6282 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002879/0.1597, allocations: 128.3 kB / 0.6284 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.1597, allocations: 23.98 kB / 0.6284 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.1609, allocations: 2.146 MB / 0.6305 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1609, allocations: 0 / 0.6305 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/0.1617, allocations: 0.7791 MB / 0.6313 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.1619, allocations: 131.2 kB / 0.6314 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.1619, allocations: 20.06 kB / 0.6314 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.1621, allocations: 12 kB / 0.6314 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.1622, allocations: 44.36 kB / 0.6314 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.1622, allocations: 19.98 kB / 0.6315 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004202/0.1626, allocations: 500 kB / 0.6319 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.1626, allocations: 0 / 0.6319 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005011/0.1631, allocations: 275.6 kB / 0.6322 GB, free: 11.64 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.0003211/0.1634, allocations: 237.3 kB / 0.6324 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006476/0.1641, allocations: 0.5084 MB / 0.6329 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1641, allocations: 0 / 0.6329 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.1644, allocations: 401 kB / 0.6333 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.1653, allocations: 337.1 kB / 0.6336 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.1677, allocations: 1.644 MB / 0.6352 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.1679, allocations: 191.4 kB / 0.6354 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002875/0.1682, allocations: 138.3 kB / 0.6356 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.1683, allocations: 80.47 kB / 0.6356 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of SimCode: time 1.443e-06/0.1683, allocations: 0 / 0.6356 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of Templates: time 0.2483/0.4166, allocations: 14.44 MB / 0.6497 GB, free: 49.25 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.494866910856217]