Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.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.001478/0.001478, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001275/0.001275, allocations: 173 kB / 23.49 MB, free: 1.059 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.108/1.108, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.7142/0.7142, allocations: 118.6 MB / 378.9 MB, free: 1.523 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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.585e-05, allocations: 7.25 kB / 483.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1566/0.1567, allocations: 138.4 MB / 0.6074 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002744/0.1594, allocations: 2.865 MB / 0.6102 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.1597, allocations: 23.75 kB / 0.6103 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005474/0.1602, allocations: 170.8 kB / 0.6104 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007652/0.161, allocations: 425.2 kB / 0.6108 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006893/0.1617, allocations: 314.7 kB / 0.6111 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008031/0.1625, allocations: 0.6024 MB / 0.6117 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1626, allocations: 53.98 kB / 0.6118 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.1633, allocations: 386.7 kB / 0.6121 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1635, allocations: 211.4 kB / 0.6123 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.1635, allocations: 24 kB / 0.6124 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005705/0.1641, allocations: 419.1 kB / 0.6128 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.1642, allocations: 75.62 kB / 0.6128 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1643, allocations: 127.6 kB / 0.613 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006646/0.165, allocations: 0.5099 MB / 0.6135 GB, free: 4 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.165, allocations: 3.984 kB / 0.6135 GB, free: 0 / 0.5261 GB Notification: Performance of FrontEnd: time 1.403e-06/0.165, allocations: 0 / 0.6135 GB, free: 0 / 0.5261 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.165, allocations: 0 / 0.6135 GB, free: 0 / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001272/0.1663, allocations: 0.8008 MB / 0.6142 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1663, allocations: 12.03 kB / 0.6142 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.1665, allocations: 76.55 kB / 0.6143 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.1669, allocations: 397.9 kB / 0.6147 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.167, allocations: 12.88 kB / 0.6147 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.167, allocations: 28.33 kB / 0.6147 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.1673, allocations: 220.6 kB / 0.615 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1674, allocations: 4.125 kB / 0.615 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.1674, allocations: 11.94 kB / 0.615 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1674, allocations: 8 kB / 0.615 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.1676, allocations: 98.92 kB / 0.6151 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1686, allocations: 0.9328 MB / 0.616 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.1688, allocations: 163 kB / 0.6161 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.1689, allocations: 63.66 kB / 0.6162 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005241/0.1694, allocations: 0.5117 MB / 0.6167 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.1696, allocations: 133.4 kB / 0.6168 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/0.1696, allocations: 0 / 0.6168 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23): time 0.0005989/0.1702, allocations: 294.5 kB / 0.6171 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.1703, allocations: 51.41 kB / 0.6172 GB, free: 12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.1708, allocations: 398.7 kB / 0.6175 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1708, allocations: 33.7 kB / 0.6176 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.171, allocations: 259.1 kB / 0.6178 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.171, allocations: 91.25 kB / 0.6179 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.1711, allocations: 55.36 kB / 0.618 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1712, allocations: 0.5195 MB / 0.6185 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.105e-05/0.1713, allocations: 69.67 kB / 0.6185 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1714, allocations: 116.4 kB / 0.6186 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.1716, allocations: 155.7 kB / 0.6188 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1716, allocations: 0 / 0.6188 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000371/0.172, allocations: 324.6 kB / 0.6191 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.172, allocations: 37.69 kB / 0.6191 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.172, allocations: 3.938 kB / 0.6191 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002392/0.1722, allocations: 51.62 kB / 0.6192 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1724, allocations: 43.92 kB / 0.6192 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009887/0.1734, allocations: 1.818 MB / 0.621 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.1735, allocations: 23.89 kB / 0.621 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.1735, allocations: 15.92 kB / 0.621 GB, free: 7.766 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.1736, allocations: 172.5 kB / 0.6212 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.1737, allocations: 55.66 kB / 0.6213 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.174, allocations: 260.4 kB / 0.6215 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.174, allocations: 7.938 kB / 0.6215 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.174, allocations: 0 / 0.6215 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1741, allocations: 3.984 kB / 0.6215 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.1747, allocations: 0.638 MB / 0.6221 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1747, allocations: 144 / 0.6221 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.1747, allocations: 43.95 kB / 0.6222 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.1749, allocations: 55.61 kB / 0.6222 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1749, allocations: 4 kB / 0.6222 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008333/0.1757, allocations: 1.818 MB / 0.624 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1757, allocations: 4 kB / 0.624 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.1765, allocations: 453.9 kB / 0.6244 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.1765, allocations: 55.67 kB / 0.6245 GB, free: 4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.1766, allocations: 11.98 kB / 0.6245 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.1767, allocations: 4 kB / 0.6245 GB, free: 3.984 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.1768, allocations: 31.95 kB / 0.6245 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1768, allocations: 7.984 kB / 0.6246 GB, free: 3.945 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001895/0.177, allocations: 271.1 kB / 0.6248 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.177, allocations: 0 / 0.6248 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003392/0.1773, allocations: 135.7 kB / 0.6249 GB, free: 3.551 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (flowResistance.inlet.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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002877/0.1776, allocations: 230.5 kB / 0.6252 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004784/0.1781, allocations: 422.8 kB / 0.6256 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1781, allocations: 0 / 0.6256 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.1783, allocations: 265.2 kB / 0.6258 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.1787, allocations: 160.2 kB / 0.626 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.18, allocations: 0.7093 MB / 0.6267 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.013e-05/0.1801, allocations: 97.3 kB / 0.6268 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.1802, allocations: 62.52 kB / 0.6268 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.1803, allocations: 40.48 kB / 0.6269 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of SimCode: time 9.52e-07/0.1803, allocations: 0 / 0.6269 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of Templates: time 0.009899/0.1902, allocations: 7.662 MB / 0.6343 GB, free: 10 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_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.282963569974527]