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.001709/0.001709, 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.001378/0.001378, allocations: 169.3 kB / 23.02 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.132/1.132, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.6517/0.6517, allocations: 118.6 MB / 378.6 MB, free: 1.473 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.114e-06/2.114e-06, allocations: 1.281 kB / 483.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.246e-05, allocations: 9.266 kB / 483.6 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1361/0.1361, allocations: 129.7 MB / 0.599 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.137, allocations: 0.767 MB / 0.5997 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.1371, allocations: 27.75 kB / 0.5997 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006643/0.1378, allocations: 87.22 kB / 0.5998 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.1382, allocations: 174.8 kB / 0.6 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1384, allocations: 131.4 kB / 0.6001 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.1388, allocations: 461.7 kB / 0.6005 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.1389, allocations: 62.86 kB / 0.6006 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.1394, allocations: 283 kB / 0.6009 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1396, allocations: 151.6 kB / 0.601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1396, allocations: 20 kB / 0.601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1397, allocations: 75.81 kB / 0.6011 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.1398, allocations: 59.7 kB / 0.6012 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.816e-05/0.1398, allocations: 91.72 kB / 0.6013 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.1402, allocations: 306.8 kB / 0.6016 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1402, allocations: 4 kB / 0.6016 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1402, allocations: 4 kB / 0.6016 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1402, allocations: 0 / 0.6016 GB, free: 11.84 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.0007059/0.1409, allocations: 0.6591 MB / 0.6022 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1409, allocations: 8.031 kB / 0.6022 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.141, allocations: 60.66 kB / 0.6023 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.1414, allocations: 355 kB / 0.6026 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1414, allocations: 12.75 kB / 0.6026 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.1415, allocations: 20.38 kB / 0.6026 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.1417, allocations: 175.3 kB / 0.6028 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1417, allocations: 192 / 0.6028 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1417, allocations: 12.12 kB / 0.6028 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1417, allocations: 4 kB / 0.6028 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1418, allocations: 59.95 kB / 0.6029 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.1426, allocations: 0.7282 MB / 0.6036 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.1428, allocations: 114.9 kB / 0.6037 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.1429, allocations: 43.67 kB / 0.6037 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.525e-05/0.143, allocations: 4 kB / 0.6037 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.143, allocations: 41.33 kB / 0.6038 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.143, allocations: 0 / 0.6038 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001072/0.1441, allocations: 0.5457 MB / 0.6043 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.1441, allocations: 55.41 kB / 0.6044 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1444, allocations: 330.2 kB / 0.6047 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1444, allocations: 29.7 kB / 0.6047 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1445, allocations: 231.2 kB / 0.6049 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.1445, allocations: 67.45 kB / 0.605 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.1446, allocations: 35.38 kB / 0.605 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1448, allocations: 0.5157 MB / 0.6055 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.1448, allocations: 23.98 kB / 0.6056 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.806e-05/0.1449, allocations: 51.31 kB / 0.6056 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.145, allocations: 77.19 kB / 0.6057 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.145, allocations: 0 / 0.6057 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003013/0.1453, allocations: 212.9 kB / 0.6059 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1453, allocations: 12 kB / 0.6059 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1453, allocations: 0 / 0.6059 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003129/0.1456, allocations: 79.56 kB / 0.606 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.1457, allocations: 23.92 kB / 0.606 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.1474, allocations: 2.077 MB / 0.608 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.1474, allocations: 0 / 0.608 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1474, 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 0.0001048/0.1476, allocations: 164.5 kB / 0.6082 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.1476, allocations: 43.7 kB / 0.6082 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.1479, allocations: 217.7 kB / 0.6084 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.148, allocations: 0 / 0.6084 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.148, allocations: 4 kB / 0.6084 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.148, allocations: 3.984 kB / 0.6084 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/0.1486, allocations: 0.6084 MB / 0.609 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1486, allocations: 0 / 0.609 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.1486, allocations: 19.92 kB / 0.6091 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000233/0.1489, allocations: 99.77 kB / 0.6092 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1489, allocations: 8 kB / 0.6092 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.1503, allocations: 2.08 MB / 0.6112 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1503, allocations: 0 / 0.6112 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.1507, allocations: 421.5 kB / 0.6116 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.1507, allocations: 43.75 kB / 0.6116 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1508, allocations: 8 kB / 0.6116 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.1508, allocations: 0 / 0.6116 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1509, allocations: 27.84 kB / 0.6117 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1509, allocations: 7.984 kB / 0.6117 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001544/0.1511, allocations: 235.1 kB / 0.6119 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.1511, allocations: 0 / 0.6119 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003298/0.1514, allocations: 68 kB / 0.612 GB, free: 0.5234 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.0001882/0.1516, allocations: 107.4 kB / 0.6121 GB, free: 420 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.152, allocations: 330.8 kB / 0.6124 GB, free: 72 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.152, allocations: 0 / 0.6124 GB, free: 72 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.1523, allocations: 297.1 kB / 0.6127 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.1528, allocations: 80.67 kB / 0.6127 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.154, allocations: 0.6839 MB / 0.6134 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.298e-05/0.1541, allocations: 100.6 kB / 0.6135 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.906e-05/0.1541, allocations: 22.97 kB / 0.6135 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.1543, allocations: 32.48 kB / 0.6136 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of SimCode: time 8.02e-07/0.1543, allocations: 0 / 0.6136 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of Templates: time 0.006939/0.1612, allocations: 3.92 MB / 0.6174 GB, free: 10.96 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: 4.2292395462282]