Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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.001502/0.001502, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001692/0.001692, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 0.9747/0.9747, allocations: 177.1 MB / 203.7 MB, free: 5.477 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.6704/0.6704, allocations: 118.6 MB / 378.9 MB, free: 1.379 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.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 484 MB, free: 8.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.57e-05, allocations: 2.312 kB / 484 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1365/0.1366, allocations: 126.8 MB / 0.5966 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009474/0.1375, allocations: 0.767 MB / 0.5973 GB, free: 432 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.1377, allocations: 31.75 kB / 0.5973 GB, free: 400 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.138, allocations: 83.23 kB / 0.5974 GB, free: 316 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.1384, allocations: 178.7 kB / 0.5976 GB, free: 136 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1387, allocations: 127.5 kB / 0.5977 GB, free: 8 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000468/0.1391, allocations: 465.7 kB / 0.5982 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1393, allocations: 58.88 kB / 0.5982 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.1397, allocations: 283.1 kB / 0.5985 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1399, allocations: 151.6 kB / 0.5986 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.1399, allocations: 16 kB / 0.5986 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.1401, allocations: 87.75 kB / 0.5987 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.1401, allocations: 59.7 kB / 0.5988 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.477e-05/0.1402, allocations: 95.72 kB / 0.5989 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.1406, allocations: 298.8 kB / 0.5992 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1406, allocations: 0 / 0.5992 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1406, allocations: 0 / 0.5992 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1406, allocations: 0 / 0.5992 GB, free: 14.52 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006502/0.1412, allocations: 0.6747 MB / 0.5998 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1413, allocations: 8.031 kB / 0.5998 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.1413, allocations: 60.66 kB / 0.5999 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.1417, allocations: 347 kB / 0.6002 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1417, allocations: 16.75 kB / 0.6002 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.1418, allocations: 20.36 kB / 0.6002 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.142, allocations: 159.4 kB / 0.6004 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.142, allocations: 192 / 0.6004 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.142, allocations: 12.12 kB / 0.6004 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.142, allocations: 8 kB / 0.6004 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.824e-05/0.1421, allocations: 47.91 kB / 0.6005 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007025/0.1428, allocations: 0.6741 MB / 0.6011 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.143, allocations: 111 kB / 0.6012 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.143, allocations: 39.55 kB / 0.6013 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.21e-05/0.1431, allocations: 23.92 kB / 0.6013 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1431, allocations: 37.38 kB / 0.6013 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.1431, allocations: 0 / 0.6013 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0008367/0.144, allocations: 479.9 kB / 0.6018 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.144, allocations: 51.41 kB / 0.6018 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1442, allocations: 326.2 kB / 0.6021 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1442, allocations: 33.7 kB / 0.6022 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1443, allocations: 235.1 kB / 0.6024 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.1444, allocations: 67.45 kB / 0.6025 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.1444, allocations: 39.36 kB / 0.6025 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.1446, allocations: 0.5156 MB / 0.603 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/0.1446, allocations: 19.98 kB / 0.603 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.1446, allocations: 49.34 kB / 0.6031 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.564e-05/0.1447, allocations: 63.34 kB / 0.6031 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1447, allocations: 0 / 0.6031 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002674/0.145, allocations: 200.8 kB / 0.6033 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.145, allocations: 8 kB / 0.6033 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.145, allocations: 0 / 0.6033 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.1452, allocations: 75.56 kB / 0.6034 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.1453, allocations: 27.98 kB / 0.6034 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.1466, allocations: 2.027 MB / 0.6054 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.1466, allocations: 8 kB / 0.6054 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1467, allocations: 4 kB / 0.6054 GB, free: 7.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * 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 {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.079e-05/0.1467, allocations: 160.6 kB / 0.6056 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.1468, allocations: 43.7 kB / 0.6056 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.1471, allocations: 218 kB / 0.6058 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1471, allocations: 0 / 0.6058 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1471, allocations: 4 kB / 0.6058 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1471, allocations: 0 / 0.6058 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.1476, allocations: 0.5542 MB / 0.6064 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1476, allocations: 3.938 kB / 0.6064 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.1477, allocations: 12 kB / 0.6064 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/0.1479, allocations: 95.62 kB / 0.6065 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1479, allocations: 11.98 kB / 0.6065 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.1491, allocations: 2.04 MB / 0.6085 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1491, allocations: 4 kB / 0.6085 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.1494, allocations: 401.5 kB / 0.6089 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.1495, allocations: 43.73 kB / 0.6089 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1495, allocations: 12 kB / 0.6089 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.1496, allocations: 4 kB / 0.6089 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.1496, allocations: 19.91 kB / 0.6089 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1496, allocations: 11.98 kB / 0.6089 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001262/0.1498, allocations: 223 kB / 0.6092 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1498, allocations: 0 / 0.6092 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003129/0.1501, allocations: 68 kB / 0.6092 GB, free: 3.578 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.m_flow) * 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 (7): * Single equations (assignments): 6 * 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 {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001343/0.1502, allocations: 103.2 kB / 0.6093 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.1506, allocations: 324.8 kB / 0.6096 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1506, allocations: 0 / 0.6096 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.1509, allocations: 299.3 kB / 0.6099 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.1513, allocations: 77.5 kB / 0.61 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1524, allocations: 0.6819 MB / 0.6107 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.858e-05/0.1525, allocations: 108.5 kB / 0.6108 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.816e-05/0.1525, allocations: 26.98 kB / 0.6108 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1527, allocations: 126.1 kB / 0.6109 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of SimCode: time 9.01e-07/0.1527, allocations: 0 / 0.6109 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of Templates: time 0.00703/0.1597, allocations: 4.2 MB / 0.615 GB, free: 13.63 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_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: 3.9101432487368584]