Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.00129/0.00129, 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.001066/0.001066, allocations: 165 kB / 23.01 MB, free: 1.555 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.075/1.075, allocations: 177.1 MB / 203.4 MB, free: 5.164 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.748/0.748, allocations: 118.6 MB / 378.6 MB, free: 1.453 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.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 3.938 kB / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.186e-05/4.434e-05, allocations: 2.312 kB / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.151/0.1511, allocations: 130.9 MB / 0.6001 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1527, allocations: 1.045 MB / 0.6011 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.153, allocations: 35.69 kB / 0.6011 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.1536, allocations: 138.8 kB / 0.6013 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005659/0.1541, allocations: 317.8 kB / 0.6016 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.1545, allocations: 191.4 kB / 0.6017 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006737/0.1552, allocations: 0.7541 MB / 0.6025 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.1554, allocations: 85.69 kB / 0.6026 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006721/0.1561, allocations: 434.6 kB / 0.603 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.1564, allocations: 275.3 kB / 0.6032 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.1564, allocations: 32 kB / 0.6033 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.1567, allocations: 139.7 kB / 0.6034 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-05/0.1568, allocations: 79.55 kB / 0.6035 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1569, allocations: 139.6 kB / 0.6036 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.1574, allocations: 450.2 kB / 0.604 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1575, allocations: 4 kB / 0.604 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1575, allocations: 0 / 0.604 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.1575, allocations: 0 / 0.604 GB, free: 9.297 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000979/0.1584, allocations: 0.8185 MB / 0.6048 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.1585, allocations: 12.03 kB / 0.6048 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.836e-05/0.1586, allocations: 80.56 kB / 0.6049 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.1591, allocations: 454.2 kB / 0.6054 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.1591, allocations: 21.03 kB / 0.6054 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.1592, allocations: 24.38 kB / 0.6054 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.1596, allocations: 300.8 kB / 0.6057 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1596, allocations: 3.938 kB / 0.6057 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003933/0.16, allocations: 12 kB / 0.6057 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.16, allocations: 8 kB / 0.6057 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1602, allocations: 95.81 kB / 0.6058 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.1616, allocations: 1.769 MB / 0.6075 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.1619, allocations: 149.2 kB / 0.6077 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.162, allocations: 55.08 kB / 0.6077 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.1622, allocations: 55.86 kB / 0.6078 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1622, allocations: 41.39 kB / 0.6078 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 3.466e-06/0.1622, allocations: 3.984 kB / 0.6078 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.000464/0.1627, allocations: 213 kB / 0.608 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.1627, allocations: 106.8 kB / 0.6081 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.1631, allocations: 434.7 kB / 0.6085 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1631, allocations: 25.7 kB / 0.6086 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1633, allocations: 315.2 kB / 0.6089 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.1633, allocations: 59.48 kB / 0.6089 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.1634, allocations: 59.17 kB / 0.609 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1635, allocations: 0.5235 MB / 0.6095 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.1636, allocations: 23.98 kB / 0.6095 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.1637, allocations: 99.41 kB / 0.6096 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1638, allocations: 129.7 kB / 0.6097 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1638, allocations: 0 / 0.6097 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002592/0.1641, allocations: 216.8 kB / 0.6099 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1641, allocations: 11.98 kB / 0.6099 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1641, allocations: 0 / 0.6099 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.1643, allocations: 23.69 kB / 0.61 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1644, allocations: 43.97 kB / 0.61 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009054/0.1653, allocations: 1.736 MB / 0.6117 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.1653, allocations: 27.78 kB / 0.6117 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.1654, allocations: 4 kB / 0.6117 GB, free: 0.8828 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.1655, allocations: 164.6 kB / 0.6119 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.1655, allocations: 51.83 kB / 0.6119 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.1659, allocations: 208 kB / 0.6121 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1659, allocations: 0 / 0.6121 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1659, allocations: 7.938 kB / 0.6122 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1659, allocations: 480 / 0.6122 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.1661, allocations: 276.4 kB / 0.6124 GB, free: 132 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1661, allocations: 4 kB / 0.6124 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.101e-05/0.1662, allocations: 31.98 kB / 0.6125 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-05/0.1663, allocations: 23.67 kB / 0.6125 GB, free: 68 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1663, allocations: 8 kB / 0.6125 GB, free: 60 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.1675, allocations: 1.75 MB / 0.6142 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1675, allocations: 128 / 0.6142 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1678, allocations: 466 kB / 0.6146 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1679, allocations: 59.62 kB / 0.6147 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1679, allocations: 0 / 0.6147 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.168, allocations: 8 kB / 0.6147 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.168, allocations: 23.91 kB / 0.6147 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.168, allocations: 4 kB / 0.6147 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001799/0.1682, allocations: 290.8 kB / 0.615 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.1682, allocations: 0 / 0.615 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002728/0.1685, allocations: 99.78 kB / 0.6151 GB, free: 13.23 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001954/0.1687, allocations: 115.2 kB / 0.6152 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.1691, allocations: 271.1 kB / 0.6155 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1691, allocations: 0 / 0.6155 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.1692, allocations: 233.7 kB / 0.6157 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.1697, allocations: 136.8 kB / 0.6158 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.171, allocations: 0.7808 MB / 0.6166 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.361e-05/0.1711, allocations: 105.3 kB / 0.6167 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.1712, allocations: 59.02 kB / 0.6167 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.1712, allocations: 40.48 kB / 0.6168 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of SimCode: time 8.62e-07/0.1712, allocations: 0 / 0.6168 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of Templates: time 0.007915/0.1791, allocations: 4.648 MB / 0.6213 GB, free: 6.922 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_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.313742129132152]