Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001316/0.001316, 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.001529/0.001529, allocations: 173 kB / 23.02 MB, free: 1.551 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.9193/0.9193, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.6765/0.6765, allocations: 118.6 MB / 378.6 MB, free: 1.512 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.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 483.6 MB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.212e-05, allocations: 2.312 kB / 483.6 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1493/0.1493, allocations: 129.7 MB / 0.5989 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.1502, allocations: 0.7825 MB / 0.5997 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.1504, allocations: 27.75 kB / 0.5997 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.1508, allocations: 83.28 kB / 0.5998 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1511, allocations: 178.7 kB / 0.6 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.1514, allocations: 127.5 kB / 0.6001 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.1518, allocations: 465.7 kB / 0.6006 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1519, allocations: 54.88 kB / 0.6006 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.1523, allocations: 287.1 kB / 0.6009 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1525, allocations: 147.6 kB / 0.601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.1525, allocations: 24 kB / 0.601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1526, allocations: 83.75 kB / 0.6011 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.1527, allocations: 55.7 kB / 0.6012 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.1527, allocations: 95.72 kB / 0.6013 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1531, allocations: 306.8 kB / 0.6016 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1531, allocations: 0 / 0.6016 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1531, allocations: 0 / 0.6016 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.1531, allocations: 0 / 0.6016 GB, free: 11.85 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.0006571/0.1538, allocations: 0.6669 MB / 0.6022 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1538, allocations: 8.031 kB / 0.6022 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.222e-05/0.1539, allocations: 60.66 kB / 0.6023 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.1542, allocations: 351 kB / 0.6026 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1542, allocations: 12.75 kB / 0.6026 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.1543, allocations: 20.38 kB / 0.6026 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.1545, allocations: 179.4 kB / 0.6028 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1545, allocations: 192 / 0.6028 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1545, allocations: 12.06 kB / 0.6028 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1545, allocations: 4 kB / 0.6028 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.1546, allocations: 63.95 kB / 0.6029 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007817/0.1554, allocations: 0.7281 MB / 0.6036 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.1556, allocations: 119 kB / 0.6037 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.1557, allocations: 43.61 kB / 0.6038 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.108e-05/0.1557, allocations: 8 kB / 0.6038 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1558, allocations: 33.39 kB / 0.6038 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.1558, allocations: 0 / 0.6038 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0009001/0.1567, allocations: 0.5388 MB / 0.6043 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.1567, allocations: 51.41 kB / 0.6044 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.1569, allocations: 334.2 kB / 0.6047 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1569, allocations: 33.7 kB / 0.6047 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.157, allocations: 227.2 kB / 0.6049 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.157, allocations: 67.47 kB / 0.605 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.1571, allocations: 35.38 kB / 0.605 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1572, allocations: 0.5118 MB / 0.6055 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.1572, allocations: 23.92 kB / 0.6056 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.1573, allocations: 55.31 kB / 0.6056 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.824e-05/0.1574, allocations: 77.75 kB / 0.6057 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1574, allocations: 0 / 0.6057 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002492/0.1576, allocations: 212.9 kB / 0.6059 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1577, allocations: 8 kB / 0.6059 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1577, allocations: 0 / 0.6059 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.1579, allocations: 79.56 kB / 0.606 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.158, allocations: 23.92 kB / 0.606 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.1593, allocations: 2.088 MB / 0.608 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.1593, allocations: 0 / 0.608 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1593, allocations: 8 kB / 0.608 GB, free: 4.82 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.776e-05/0.1594, allocations: 164.6 kB / 0.6082 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.1594, allocations: 43.7 kB / 0.6082 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.1597, allocations: 220 kB / 0.6085 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1597, allocations: 3.938 kB / 0.6085 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1597, allocations: 8 kB / 0.6085 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1597, allocations: 3.984 kB / 0.6085 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.1602, allocations: 0.6006 MB / 0.6091 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1602, allocations: 4.156 kB / 0.6091 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.1603, allocations: 15.98 kB / 0.6091 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/0.1605, allocations: 95.48 kB / 0.6092 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1605, allocations: 8 kB / 0.6092 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.1616, allocations: 2.081 MB / 0.6112 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1616, allocations: 4 kB / 0.6112 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.162, allocations: 423.2 kB / 0.6116 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.162, allocations: 43.75 kB / 0.6117 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.162, allocations: 8 kB / 0.6117 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.1621, allocations: 0 / 0.6117 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1621, allocations: 27.84 kB / 0.6117 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.1621, allocations: 7.984 kB / 0.6117 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001345/0.1623, allocations: 227.1 kB / 0.6119 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.1623, allocations: 4 kB / 0.6119 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002348/0.1625, allocations: 71.98 kB / 0.612 GB, free: 0.5156 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.0001544/0.1626, allocations: 107.4 kB / 0.6121 GB, free: 412 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000388/0.163, allocations: 320.9 kB / 0.6124 GB, free: 72 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.163, allocations: 0 / 0.6124 GB, free: 72 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.1633, allocations: 305.2 kB / 0.6127 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1636, allocations: 71.7 kB / 0.6128 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1647, allocations: 0.6892 MB / 0.6134 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.67e-05/0.1648, allocations: 96.61 kB / 0.6135 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.074e-05/0.1648, allocations: 35.09 kB / 0.6136 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.1649, allocations: 28.48 kB / 0.6136 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/0.1649, allocations: 0 / 0.6136 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of Templates: time 0.006312/0.1712, allocations: 4.149 MB / 0.6176 GB, free: 10.72 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.802944246213883]