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.0009927/0.0009927, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001021/0.001021, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9339/0.9339, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.6499/0.6499, allocations: 118.7 MB / 379.7 MB, free: 1.359 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 1.322e-06/1.322e-06, allocations: 0 / 484.8 MB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.585e-05, allocations: 6.25 kB / 484.8 MB, free: 8.113 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1502/0.1502, allocations: 126.8 MB / 0.5973 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007064/0.1509, allocations: 0.7825 MB / 0.5981 GB, free: 416 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.151, allocations: 27.75 kB / 0.5981 GB, free: 388 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.1512, allocations: 75.36 kB / 0.5982 GB, free: 312 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.1515, allocations: 190.6 kB / 0.5984 GB, free: 120 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.1517, allocations: 119.6 kB / 0.5985 GB, free: 0 / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.152, allocations: 464.4 kB / 0.5989 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1521, allocations: 58.86 kB / 0.599 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.1524, allocations: 283.1 kB / 0.5992 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.1526, allocations: 155.6 kB / 0.5994 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1526, allocations: 20 kB / 0.5994 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1527, allocations: 83.81 kB / 0.5995 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.1527, allocations: 55.7 kB / 0.5995 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.1528, allocations: 95.72 kB / 0.5996 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.1531, allocations: 302.8 kB / 0.5999 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1531, allocations: 0 / 0.5999 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.31e-07/0.1531, allocations: 0 / 0.5999 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1531, allocations: 4 kB / 0.5999 GB, free: 14.51 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.0005234/0.1536, allocations: 0.6708 MB / 0.6006 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.1536, allocations: 8.031 kB / 0.6006 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.1537, allocations: 56.66 kB / 0.6006 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.154, allocations: 359 kB / 0.601 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.154, allocations: 16.75 kB / 0.601 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.154, allocations: 20.36 kB / 0.601 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1542, allocations: 155.4 kB / 0.6012 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1542, allocations: 192 / 0.6012 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1542, allocations: 16.12 kB / 0.6012 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1542, allocations: 8 kB / 0.6012 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/0.1543, allocations: 47.89 kB / 0.6012 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.1548, allocations: 0.678 MB / 0.6019 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1549, allocations: 107 kB / 0.602 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.155, allocations: 31.67 kB / 0.602 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.155, allocations: 11.98 kB / 0.602 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.155, allocations: 37.39 kB / 0.6021 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.155, allocations: 0 / 0.6021 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0006613/0.1557, allocations: 484.4 kB / 0.6025 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.1557, allocations: 51.41 kB / 0.6026 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1559, allocations: 326.1 kB / 0.6029 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1559, allocations: 29.7 kB / 0.6029 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/0.156, allocations: 243.1 kB / 0.6032 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.156, allocations: 55.47 kB / 0.6032 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.156, allocations: 43.34 kB / 0.6033 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1562, allocations: 0.5156 MB / 0.6038 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.1562, allocations: 15.98 kB / 0.6038 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.905e-05/0.1562, allocations: 53.56 kB / 0.6038 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.473e-05/0.1563, allocations: 67.3 kB / 0.6039 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1563, allocations: 0 / 0.6039 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002107/0.1565, allocations: 202.6 kB / 0.6041 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.1565, allocations: 4 kB / 0.6041 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1565, allocations: 3.984 kB / 0.6041 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/0.1567, allocations: 75.62 kB / 0.6042 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.1568, allocations: 31.92 kB / 0.6042 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.158, allocations: 2.022 MB / 0.6062 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.158, allocations: 15.92 kB / 0.6062 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.158, allocations: 4 kB / 0.6062 GB, free: 7.723 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 8.658e-05/0.1581, allocations: 160.6 kB / 0.6063 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.1581, allocations: 43.7 kB / 0.6064 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.1584, allocations: 212 kB / 0.6066 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1584, allocations: 4 kB / 0.6066 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1584, allocations: 0 / 0.6066 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1584, allocations: 0 / 0.6066 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.1589, allocations: 0.5503 MB / 0.6071 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1589, allocations: 4 kB / 0.6071 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.159, allocations: 11.98 kB / 0.6071 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001512/0.1591, allocations: 95.62 kB / 0.6072 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1591, allocations: 12 kB / 0.6072 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009594/0.1601, allocations: 2.04 MB / 0.6092 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1601, allocations: 4 kB / 0.6092 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.1604, allocations: 401.5 kB / 0.6096 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.1607, allocations: 39.73 kB / 0.6097 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.1607, allocations: 8 kB / 0.6097 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.847e-05/0.1608, allocations: 4 kB / 0.6097 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.1608, allocations: 15.97 kB / 0.6097 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1608, allocations: 11.98 kB / 0.6097 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.167e-05/0.1609, allocations: 223 kB / 0.6099 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.1609, allocations: 4 kB / 0.6099 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002135/0.1611, allocations: 68 kB / 0.61 GB, free: 3.586 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.0001107/0.1612, allocations: 107.1 kB / 0.6101 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.1615, allocations: 334.8 kB / 0.6104 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1615, allocations: 0 / 0.6104 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.1617, allocations: 293.1 kB / 0.6107 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.0002812/0.162, allocations: 73.64 kB / 0.6107 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008394/0.1628, allocations: 0.6855 MB / 0.6114 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.934e-05/0.1629, allocations: 108.5 kB / 0.6115 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.097e-05/0.1629, allocations: 27.09 kB / 0.6115 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.163, allocations: 126.2 kB / 0.6117 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/0.163, allocations: 0 / 0.6117 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of Templates: time 0.005417/0.1685, allocations: 4.267 MB / 0.6158 GB, free: 13.57 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.7273090863600373]