Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001655/0.001655, allocations: 89.06 kB / 19.65 MB, free: 276 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.00113/0.00113, allocations: 169 kB / 23.02 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.033/1.033, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.7445/0.7445, allocations: 118.6 MB / 378.6 MB, free: 1.492 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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.822e-05, allocations: 2.312 kB / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1496/0.1496, allocations: 130.4 MB / 0.5996 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1512, allocations: 1.564 MB / 0.6011 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.1514, allocations: 23.75 kB / 0.6011 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.1519, allocations: 87.27 kB / 0.6012 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004967/0.1524, allocations: 333.7 kB / 0.6015 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.1527, allocations: 231.2 kB / 0.6018 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.1532, allocations: 0.6062 MB / 0.6024 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1533, allocations: 57.98 kB / 0.6024 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.1538, allocations: 366.8 kB / 0.6028 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1541, allocations: 215.3 kB / 0.603 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.1541, allocations: 24 kB / 0.603 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.1544, allocations: 223.5 kB / 0.6032 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/0.1545, allocations: 71.62 kB / 0.6033 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1546, allocations: 127.5 kB / 0.6034 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.1551, allocations: 454.4 kB / 0.6038 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1551, allocations: 0 / 0.6038 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.574e-06/0.1551, allocations: 4 kB / 0.6038 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.1551, allocations: 7.938 kB / 0.6038 GB, free: 9.512 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009568/0.1561, allocations: 0.7972 MB / 0.6046 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1561, allocations: 12.03 kB / 0.6046 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.1562, allocations: 72.55 kB / 0.6047 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.1567, allocations: 382 kB / 0.6051 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.1567, allocations: 20.81 kB / 0.6051 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.1567, allocations: 24.38 kB / 0.6051 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.1571, allocations: 216.7 kB / 0.6053 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1571, allocations: 192 / 0.6053 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.1571, allocations: 15.94 kB / 0.6053 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.1571, allocations: 4 kB / 0.6053 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.1575, allocations: 102.9 kB / 0.6054 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009644/0.1585, allocations: 0.9328 MB / 0.6063 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.1587, allocations: 159.1 kB / 0.6065 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/0.1588, allocations: 67.38 kB / 0.6066 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005027/0.1593, allocations: 0.5077 MB / 0.6071 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.1595, allocations: 115.2 kB / 0.6072 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 1.953e-06/0.1595, allocations: 0 / 0.6072 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.0006101/0.1601, allocations: 301.9 kB / 0.6075 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1601, allocations: 55.41 kB / 0.6075 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.1604, allocations: 394.7 kB / 0.6079 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1604, allocations: 29.7 kB / 0.6079 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1606, allocations: 267 kB / 0.6082 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.1606, allocations: 87.25 kB / 0.6083 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.1607, allocations: 59.31 kB / 0.6083 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1608, allocations: 0.5195 MB / 0.6088 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.44e-05/0.1609, allocations: 77.61 kB / 0.6089 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.161, allocations: 116.4 kB / 0.609 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1612, allocations: 167.9 kB / 0.6092 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1612, allocations: 0 / 0.6092 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003779/0.1616, allocations: 316.4 kB / 0.6095 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.1616, allocations: 29.7 kB / 0.6095 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1616, allocations: 12.03 kB / 0.6095 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.1619, allocations: 43.64 kB / 0.6095 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.162, allocations: 43.98 kB / 0.6096 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009554/0.163, allocations: 1.814 MB / 0.6114 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.94e-05/0.1631, allocations: 32 kB / 0.6114 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.1631, allocations: 15.94 kB / 0.6114 GB, free: 1.312 MB / 0.5261 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.0001166/0.1632, allocations: 172.5 kB / 0.6116 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.1632, allocations: 47.7 kB / 0.6116 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.1636, allocations: 268.7 kB / 0.6119 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1636, allocations: 3.938 kB / 0.6119 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1636, allocations: 8 kB / 0.6119 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1636, allocations: 0 / 0.6119 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.1645, allocations: 0.638 MB / 0.6125 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.1645, allocations: 0 / 0.6125 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.383e-05/0.1646, allocations: 35.98 kB / 0.6125 GB, free: 76 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/0.1647, allocations: 47.62 kB / 0.6126 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.1647, allocations: 12.03 kB / 0.6126 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007956/0.1655, allocations: 1.818 MB / 0.6144 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1655, allocations: 3.938 kB / 0.6144 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.1659, allocations: 456.2 kB / 0.6148 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.166, allocations: 67.61 kB / 0.6149 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.166, allocations: 8.062 kB / 0.6149 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.1661, allocations: 12 kB / 0.6149 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.1662, allocations: 27.94 kB / 0.6149 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1662, allocations: 8 kB / 0.6149 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001696/0.1664, allocations: 271 kB / 0.6152 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1664, allocations: 0 / 0.6152 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002894/0.1667, allocations: 119.8 kB / 0.6153 GB, free: 13.1 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.000259/0.1669, allocations: 170.9 kB / 0.6155 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.1674, allocations: 402.6 kB / 0.6158 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1674, allocations: 0 / 0.6158 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.1676, allocations: 270.2 kB / 0.6161 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.168, allocations: 153.6 kB / 0.6162 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.1694, allocations: 0.7046 MB / 0.6169 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.473e-05/0.1694, allocations: 97.3 kB / 0.617 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00012/0.1695, allocations: 63.52 kB / 0.6171 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.1696, allocations: 40.48 kB / 0.6171 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/0.1696, allocations: 0 / 0.6171 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of Templates: time 0.009222/0.1788, allocations: 6.757 MB / 0.6237 GB, free: 4.547 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.230575184337795]