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.001657/0.001657, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001956/0.001956, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.388/1.388, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7466/0.7466, allocations: 80.2 MB / 339.4 MB, free: 10.88 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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 1.793e-06/1.793e-06, allocations: 0 / 0.4928 GB, free: 25.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.595e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.146/0.146, allocations: 125 MB / 0.6149 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003777/0.1498, allocations: 2.528 MB / 0.6174 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.1501, allocations: 19.81 kB / 0.6174 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006561/0.1508, allocations: 166.7 kB / 0.6176 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.1519, allocations: 437.2 kB / 0.618 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008517/0.1528, allocations: 298.7 kB / 0.6183 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007916/0.1536, allocations: 0.6024 MB / 0.6189 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1537, allocations: 57.92 kB / 0.6189 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007407/0.1545, allocations: 358.8 kB / 0.6193 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.1548, allocations: 207.4 kB / 0.6195 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.1549, allocations: 24 kB / 0.6195 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009012/0.1558, allocations: 431.1 kB / 0.6199 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.1559, allocations: 71.62 kB / 0.62 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.1561, allocations: 123.6 kB / 0.6201 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009796/0.1571, allocations: 0.5763 MB / 0.6207 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1571, allocations: 0 / 0.6207 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1571, allocations: 0 / 0.6207 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.1571, allocations: 0 / 0.6207 GB, free: 12.3 MB / 0.5294 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.001409/0.1585, allocations: 0.6936 MB / 0.6213 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1585, allocations: 9.469 kB / 0.6213 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.1586, allocations: 48.66 kB / 0.6214 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/0.1593, allocations: 342.4 kB / 0.6217 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.1593, allocations: 20.88 kB / 0.6217 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.1594, allocations: 24.38 kB / 0.6218 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.1599, allocations: 275.5 kB / 0.622 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1599, allocations: 0 / 0.622 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.16, allocations: 8 kB / 0.622 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.16, allocations: 12 kB / 0.622 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/0.1605, allocations: 225.8 kB / 0.6223 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.1619, allocations: 0.8033 MB / 0.623 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.1624, allocations: 218.5 kB / 0.6232 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1627, allocations: 96.81 kB / 0.6233 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00082/0.1635, allocations: 480.4 kB / 0.6238 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003683/0.1639, allocations: 160.2 kB / 0.6239 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.1639, allocations: 0 / 0.6239 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23): time 0.001211/0.1651, allocations: 384.6 kB / 0.6243 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1652, allocations: 59.41 kB / 0.6244 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.1655, allocations: 349.6 kB / 0.6247 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.1656, allocations: 29.7 kB / 0.6247 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.1657, allocations: 208.4 kB / 0.6249 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.1658, allocations: 79.31 kB / 0.625 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/0.1659, allocations: 57.66 kB / 0.6251 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1661, allocations: 346.8 kB / 0.6254 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.1663, allocations: 117.6 kB / 0.6255 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.1666, allocations: 145.1 kB / 0.6256 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/0.1671, allocations: 231.5 kB / 0.6259 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1671, allocations: 7.938 kB / 0.6259 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008115/0.1679, allocations: 384 kB / 0.6262 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.1679, allocations: 33.69 kB / 0.6263 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.168, allocations: 0 / 0.6263 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.1682, allocations: 40.83 kB / 0.6263 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.1684, allocations: 52 kB / 0.6264 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.1698, allocations: 1.386 MB / 0.6277 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.17, allocations: 27.91 kB / 0.6277 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.17, allocations: 15.92 kB / 0.6278 GB, free: 4.641 MB / 0.5294 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.0001834/0.1702, allocations: 145.8 kB / 0.6279 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/0.1703, allocations: 43.83 kB / 0.6279 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008419/0.1711, allocations: 334 kB / 0.6283 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1712, allocations: 3.938 kB / 0.6283 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1712, allocations: 4 kB / 0.6283 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1712, allocations: 0 / 0.6283 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.1724, allocations: 0.6649 MB / 0.6289 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1724, allocations: 0 / 0.6289 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.1726, allocations: 31.98 kB / 0.6289 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.1728, allocations: 48.75 kB / 0.629 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.1728, allocations: 11.98 kB / 0.629 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.1741, allocations: 1.386 MB / 0.6304 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1741, allocations: 4.031 kB / 0.6304 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.1751, allocations: 0.4974 MB / 0.6308 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.1752, allocations: 39.72 kB / 0.6309 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.1753, allocations: 8 kB / 0.6309 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.1755, allocations: 16.11 kB / 0.6309 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.1756, allocations: 31.89 kB / 0.6309 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.1756, allocations: 11.98 kB / 0.6309 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002879/0.1759, allocations: 243.2 kB / 0.6312 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1759, allocations: 0 / 0.6312 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005069/0.1764, allocations: 127.7 kB / 0.6313 GB, free: 0.8281 MB / 0.5294 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.0004114/0.1768, allocations: 237.6 kB / 0.6315 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008787/0.1777, allocations: 415.4 kB / 0.6319 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1777, allocations: 0 / 0.6319 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004764/0.1782, allocations: 239.5 kB / 0.6321 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008642/0.179, allocations: 146.7 kB / 0.6323 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.1808, allocations: 0.711 MB / 0.633 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.181, allocations: 187.2 kB / 0.6332 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002153/0.1812, allocations: 54.7 kB / 0.6332 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.1813, allocations: 40.48 kB / 0.6333 GB, free: 14.75 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.1813, allocations: 0 / 0.6333 GB, free: 14.75 MB / 0.545 GB Notification: Performance of Templates: time 0.01521/0.1965, allocations: 7.584 MB / 0.6407 GB, free: 7.293 MB / 0.545 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.41017297655344]