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.0009471/0.0009471, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.0009907/0.0009907, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9354/0.9354, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.6916/0.6916, allocations: 118.6 MB / 378.9 MB, free: 1.352 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.893e-06/1.893e-06, allocations: 0 / 484 MB, free: 8.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.566e-05, allocations: 2.312 kB / 484 MB, free: 8.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1197/0.1198, allocations: 130.5 MB / 0.6002 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003345/0.1231, allocations: 2.838 MB / 0.603 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.1236, allocations: 63.38 kB / 0.603 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.124, allocations: 225.9 kB / 0.6032 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009615/0.125, allocations: 0.702 MB / 0.6039 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009579/0.126, allocations: 0.5607 MB / 0.6045 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009838/0.1269, allocations: 1.569 MB / 0.606 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.1272, allocations: 199.7 kB / 0.6062 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.1283, allocations: 0.8725 MB / 0.607 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.1288, allocations: 0.5804 MB / 0.6076 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.1289, allocations: 76 kB / 0.6077 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.1294, allocations: 415.4 kB / 0.6081 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1295, allocations: 207 kB / 0.6083 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.1298, allocations: 371 kB / 0.6086 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009166/0.1307, allocations: 1.132 MB / 0.6097 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1307, allocations: 8 kB / 0.6097 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.011e-06/0.1307, allocations: 0 / 0.6097 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.1307, allocations: 0 / 0.6097 GB, free: 3.617 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.001378/0.1321, allocations: 1.541 MB / 0.6112 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1321, allocations: 16.03 kB / 0.6113 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.1323, allocations: 215.8 kB / 0.6115 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007831/0.1331, allocations: 0.8364 MB / 0.6123 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.1331, allocations: 54.38 kB / 0.6123 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/0.1332, allocations: 72.31 kB / 0.6124 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.1337, allocations: 0.5216 MB / 0.6129 GB, free: 268 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1337, allocations: 192 / 0.6129 GB, free: 268 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.1337, allocations: 27.94 kB / 0.6129 GB, free: 240 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1337, allocations: 20 kB / 0.613 GB, free: 220 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.134, allocations: 253.7 kB / 0.6132 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.136, allocations: 2.063 MB / 0.6152 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.1366, allocations: 483.3 kB / 0.6157 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1367, allocations: 133.8 kB / 0.6158 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008187/0.1375, allocations: 0.8442 MB / 0.6166 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1375, allocations: 37.89 kB / 0.6167 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=49): time 1.443e-06/0.1375, allocations: 0 / 0.6167 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.001242/0.1388, allocations: 0.9676 MB / 0.6176 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.1388, allocations: 59.84 kB / 0.6177 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.1393, allocations: 0.7147 MB / 0.6184 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1393, allocations: 41.7 kB / 0.6184 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.1395, allocations: 0.5537 MB / 0.6189 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/0.1396, allocations: 182.4 kB / 0.6191 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.1397, allocations: 99.75 kB / 0.6192 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1398, allocations: 0.4926 MB / 0.6197 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.1399, allocations: 56.95 kB / 0.6197 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.14, allocations: 166.6 kB / 0.6199 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1402, allocations: 267 kB / 0.6202 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1402, allocations: 4 kB / 0.6202 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007763/0.141, allocations: 488 kB / 0.6206 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.141, allocations: 4 kB / 0.6206 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.141, allocations: 4 kB / 0.6206 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/0.1413, allocations: 118.8 kB / 0.6207 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.1415, allocations: 87.89 kB / 0.6208 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.1426, allocations: 2.112 MB / 0.6229 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.1427, allocations: 20.03 kB / 0.6229 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.1428, allocations: 19.98 kB / 0.6229 GB, free: 5.602 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.0001369/0.1429, allocations: 180.5 kB / 0.6231 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.143, allocations: 123.2 kB / 0.6232 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.1437, allocations: 0.6259 MB / 0.6238 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1437, allocations: 11.98 kB / 0.6238 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1437, allocations: 0 / 0.6238 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1437, allocations: 0 / 0.6238 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009963/0.1447, allocations: 1.048 MB / 0.6249 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1447, allocations: 0 / 0.6249 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1448, allocations: 79.89 kB / 0.6249 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002616/0.1451, allocations: 127.6 kB / 0.6251 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.1451, allocations: 27.92 kB / 0.6251 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.1462, allocations: 2.087 MB / 0.6271 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1462, allocations: 7.938 kB / 0.6271 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.1471, allocations: 0.7243 MB / 0.6278 GB, free: 316 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1472, allocations: 123.3 kB / 0.628 GB, free: 192 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.1472, allocations: 16 kB / 0.628 GB, free: 176 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1474, allocations: 20.05 kB / 0.628 GB, free: 156 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.1474, allocations: 44.36 kB / 0.628 GB, free: 112 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1475, allocations: 15.98 kB / 0.6281 GB, free: 96 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002793/0.1477, allocations: 467.8 kB / 0.6285 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1477, allocations: 0 / 0.6285 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004149/0.1482, allocations: 267.6 kB / 0.6288 GB, free: 15.36 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.0002615/0.1484, allocations: 234.7 kB / 0.629 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.1489, allocations: 480.6 kB / 0.6294 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1489, allocations: 4.125 kB / 0.6294 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.1492, allocations: 400.9 kB / 0.6298 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007611/0.1499, allocations: 351.8 kB / 0.6302 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.1517, allocations: 1.636 MB / 0.6318 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.1518, allocations: 179.5 kB / 0.6319 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002385/0.1521, allocations: 146.3 kB / 0.6321 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.1525, allocations: 326 kB / 0.6324 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of SimCode: time 1.012e-06/0.1525, allocations: 3.938 kB / 0.6324 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of Templates: time 0.2161/0.3686, allocations: 15.76 MB / 0.6478 GB, free: 49.56 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.083670044783503]