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.0009715/0.0009715, 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.0009355/0.0009355, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.009/1.009, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6835/0.6835, 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.884e-06/1.884e-06, allocations: 0 / 483.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.196e-05, allocations: 5.547 kB / 483.6 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1319/0.132, allocations: 133.5 MB / 0.6026 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004388/0.1364, allocations: 2.862 MB / 0.6054 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005777/0.1369, allocations: 67.38 kB / 0.6055 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006179/0.1375, allocations: 221.9 kB / 0.6057 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.1388, allocations: 0.6942 MB / 0.6064 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.1399, allocations: 0.5607 MB / 0.6069 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001432/0.1413, allocations: 1.573 MB / 0.6085 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.1417, allocations: 195.7 kB / 0.6087 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.1427, allocations: 0.8726 MB / 0.6095 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.1433, allocations: 0.5726 MB / 0.6101 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.42e-05/0.1434, allocations: 76 kB / 0.6101 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006622/0.1441, allocations: 427.4 kB / 0.6106 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1442, allocations: 211 kB / 0.6108 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.1445, allocations: 363 kB / 0.6111 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.1456, allocations: 1.136 MB / 0.6122 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1456, allocations: 0 / 0.6122 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1456, allocations: 0 / 0.6122 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.1456, 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.001548/0.1471, allocations: 1.542 MB / 0.6137 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1472, allocations: 8.031 kB / 0.6137 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.1474, allocations: 211.9 kB / 0.6139 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008731/0.1483, allocations: 0.852 MB / 0.6148 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.1483, allocations: 54.38 kB / 0.6148 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.1484, allocations: 72.33 kB / 0.6149 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.1491, allocations: 0.5685 MB / 0.6154 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1491, allocations: 4.188 kB / 0.6154 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.1491, allocations: 35.94 kB / 0.6155 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.1491, allocations: 16 kB / 0.6155 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.1496, allocations: 319.7 kB / 0.6158 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.1516, allocations: 2.192 MB / 0.6179 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/0.1523, allocations: 0.4967 MB / 0.6184 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.1525, allocations: 153.9 kB / 0.6186 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/0.1533, allocations: 0.8248 MB / 0.6194 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1533, allocations: 41.89 kB / 0.6194 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=49): time 1.503e-06/0.1534, allocations: 0 / 0.6194 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.001581/0.1549, allocations: 1.204 MB / 0.6206 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.155, allocations: 63.91 kB / 0.6206 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/0.1555, allocations: 0.7347 MB / 0.6214 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1556, allocations: 29.7 kB / 0.6214 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.1558, allocations: 0.5461 MB / 0.6219 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.391e-05/0.1559, allocations: 182.4 kB / 0.6221 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.156, allocations: 95.8 kB / 0.6222 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1561, allocations: 0.4887 MB / 0.6227 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1562, allocations: 76.94 kB / 0.6227 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.1564, allocations: 182.6 kB / 0.6229 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.1567, allocations: 307 kB / 0.6232 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1567, allocations: 0 / 0.6232 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005983/0.1573, allocations: 0.5118 MB / 0.6237 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1573, allocations: 4 kB / 0.6237 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1573, allocations: 4 kB / 0.6237 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/0.1577, allocations: 123.8 kB / 0.6238 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.1578, allocations: 87.89 kB / 0.6239 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.1592, allocations: 2.153 MB / 0.626 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1594, allocations: 19.98 kB / 0.626 GB, free: 2.219 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.1594, allocations: 16 kB / 0.6261 GB, free: 2.203 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.0001488/0.1595, allocations: 180.5 kB / 0.6262 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1597, allocations: 127.2 kB / 0.6263 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007439/0.1604, allocations: 0.6496 MB / 0.627 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1604, allocations: 4 kB / 0.627 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1604, allocations: 4 kB / 0.627 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1604, allocations: 3.984 kB / 0.627 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.1616, allocations: 1.216 MB / 0.6282 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1616, allocations: 4 kB / 0.6282 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.1618, allocations: 71.91 kB / 0.6283 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002901/0.162, allocations: 139.6 kB / 0.6284 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.1621, allocations: 23.92 kB / 0.6284 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.1632, allocations: 2.139 MB / 0.6305 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1632, allocations: 3.938 kB / 0.6305 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.164, allocations: 0.7791 MB / 0.6313 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.1642, allocations: 139.2 kB / 0.6314 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.1643, allocations: 8 kB / 0.6314 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.1644, allocations: 12 kB / 0.6314 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.1645, allocations: 44.42 kB / 0.6315 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.1645, allocations: 19.98 kB / 0.6315 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003922/0.1649, allocations: 0.4921 MB / 0.632 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.1649, allocations: 0 / 0.632 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005466/0.1655, allocations: 271.6 kB / 0.6322 GB, free: 11.6 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.0003548/0.1658, allocations: 234.1 kB / 0.6324 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006818/0.1665, allocations: 0.5122 MB / 0.6329 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1665, allocations: 0 / 0.6329 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.1669, allocations: 405 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.0008499/0.1677, allocations: 345.1 kB / 0.6337 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.1703, allocations: 1.654 MB / 0.6353 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.1705, allocations: 179.5 kB / 0.6354 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003504/0.1708, allocations: 138.3 kB / 0.6356 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.171, allocations: 80.47 kB / 0.6357 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of SimCode: time 1.222e-06/0.171, allocations: 3.938 kB / 0.6357 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of Templates: time 0.2499/0.4209, allocations: 15.63 MB / 0.6509 GB, free: 49.49 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.212379941251129]