Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001315/0.001315, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001451/0.001451, allocations: 174.3 kB / 22.46 MB, free: 5.355 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.39/1.39, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.7447/0.7447, allocations: 80.19 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.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_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_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.4929 GB, free: 25.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.176e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1425/0.1425, allocations: 127 MB / 0.6169 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003836/0.1463, allocations: 2.898 MB / 0.6197 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.1466, allocations: 39.62 kB / 0.6198 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.1473, allocations: 226.4 kB / 0.62 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008703/0.1482, allocations: 417.2 kB / 0.6204 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009879/0.1492, allocations: 470 kB / 0.6208 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008254/0.15, allocations: 0.7619 MB / 0.6216 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.1502, allocations: 89.59 kB / 0.6217 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.1514, allocations: 0.611 MB / 0.6223 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.1518, allocations: 271.2 kB / 0.6225 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.1518, allocations: 31.94 kB / 0.6226 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008981/0.1527, allocations: 474.9 kB / 0.623 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.387e-05/0.1528, allocations: 75.56 kB / 0.6231 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.153, allocations: 143.6 kB / 0.6232 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009156/0.1539, allocations: 0.6736 MB / 0.6239 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1539, allocations: 0 / 0.6239 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1539, allocations: 4 kB / 0.6239 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.1539, allocations: 0 / 0.6239 GB, free: 9.008 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001202/0.1551, allocations: 0.734 MB / 0.6246 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1551, allocations: 9.469 kB / 0.6246 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.944e-05/0.1552, allocations: 56.61 kB / 0.6247 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007353/0.156, allocations: 407.4 kB / 0.625 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.156, allocations: 21.03 kB / 0.6251 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.1561, allocations: 28.38 kB / 0.6251 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.1566, allocations: 318.7 kB / 0.6254 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1566, allocations: 15.92 kB / 0.6254 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.1567, allocations: 12 kB / 0.6254 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1567, allocations: 8 kB / 0.6254 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.1571, allocations: 203.1 kB / 0.6256 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.1588, allocations: 1.338 MB / 0.6269 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.1593, allocations: 171.7 kB / 0.6271 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1594, allocations: 66.64 kB / 0.6272 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004659/0.1599, allocations: 71.84 kB / 0.6272 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1599, allocations: 42.55 kB / 0.6273 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/0.1599, allocations: 0 / 0.6273 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0008787/0.1608, allocations: 278.3 kB / 0.6275 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.1609, allocations: 110.8 kB / 0.6276 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/0.1613, allocations: 381.9 kB / 0.628 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1613, allocations: 29.7 kB / 0.628 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.1615, allocations: 268.2 kB / 0.6283 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.1616, allocations: 63.62 kB / 0.6283 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/0.1616, allocations: 41.7 kB / 0.6284 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1618, allocations: 350.8 kB / 0.6287 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1619, allocations: 59.95 kB / 0.6288 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.1621, allocations: 108.4 kB / 0.6289 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.1625, allocations: 177.8 kB / 0.629 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1625, allocations: 0 / 0.629 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005382/0.163, allocations: 266 kB / 0.6293 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1631, allocations: 8.125 kB / 0.6293 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1631, allocations: 4 kB / 0.6293 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.1632, allocations: 24.84 kB / 0.6293 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.1634, allocations: 47.86 kB / 0.6294 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.1645, allocations: 1.253 MB / 0.6306 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.1646, allocations: 36 kB / 0.6306 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1646, allocations: 4 kB / 0.6306 GB, free: 1.652 MB / 0.5294 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.0001775/0.1648, allocations: 161.7 kB / 0.6308 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.1649, allocations: 43.72 kB / 0.6308 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.1656, allocations: 246.3 kB / 0.6311 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1656, allocations: 4 kB / 0.6311 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1656, allocations: 3.938 kB / 0.6311 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1656, allocations: 0 / 0.6311 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.1659, allocations: 269.1 kB / 0.6313 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.166, allocations: 4 kB / 0.6313 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.1661, allocations: 31.92 kB / 0.6314 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.532e-05/0.1662, allocations: 24.84 kB / 0.6314 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1662, allocations: 4 kB / 0.6314 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009898/0.1672, allocations: 1.276 MB / 0.6326 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1672, allocations: 0 / 0.6326 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.1679, allocations: 452.2 kB / 0.6331 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.1679, allocations: 35.72 kB / 0.6331 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.168, allocations: 7.984 kB / 0.6331 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.1681, allocations: 11.98 kB / 0.6331 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.1682, allocations: 15.97 kB / 0.6331 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1682, allocations: 8 kB / 0.6332 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002832/0.1685, allocations: 267.1 kB / 0.6334 GB, free: 14.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1685, allocations: 0 / 0.6334 GB, free: 14.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004682/0.169, allocations: 107.7 kB / 0.6335 GB, free: 14.55 MB / 0.545 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.0003109/0.1693, allocations: 206.7 kB / 0.6337 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005593/0.1698, allocations: 254.5 kB / 0.634 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1698, allocations: 0 / 0.634 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.1702, allocations: 186.6 kB / 0.6341 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.171, allocations: 132.1 kB / 0.6343 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.1723, allocations: 0.7601 MB / 0.635 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.1725, allocations: 211.1 kB / 0.6352 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.1726, allocations: 50.72 kB / 0.6352 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.929e-05/0.1727, allocations: 44.48 kB / 0.6353 GB, free: 12.65 MB / 0.545 GB Notification: Performance of SimCode: time 4.6e-07/0.1727, allocations: 0 / 0.6353 GB, free: 12.65 MB / 0.545 GB Notification: Performance of Templates: time 0.01222/0.1849, allocations: 5.631 MB / 0.6408 GB, free: 7.121 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.36990799754858]