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.001887/0.001887, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002338/0.002338, allocations: 216.6 kB / 22.25 MB, free: 5.125 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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.8042/0.8042, allocations: 100.3 MB / 412.7 MB, free: 3.613 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.2..m_flow|splitterN.outlets.3..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.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 81.69 kB / 0.5637 GB, free: 35.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1277, allocations: 74.46 MB / 0.6365 GB, free: 7.137 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4894/0.6172, allocations: 142.1 MB / 0.7753 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003581/0.6207, allocations: 4.235 MB / 0.7794 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.621, allocations: 27.14 kB / 0.7794 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.6215, allocations: 161.1 kB / 0.7796 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004249/0.622, allocations: 217.4 kB / 0.7798 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.6223, allocations: 136.9 kB / 0.7799 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.6227, allocations: 405.1 kB / 0.7803 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.6228, allocations: 65.94 kB / 0.7804 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.6232, allocations: 203.3 kB / 0.7806 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.6235, allocations: 172.7 kB / 0.7807 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.6236, allocations: 17.91 kB / 0.7807 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005947/0.6242, allocations: 282.1 kB / 0.781 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.6242, allocations: 49.14 kB / 0.7811 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.6244, allocations: 144.9 kB / 0.7812 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006026/0.625, allocations: 385.4 kB / 0.7816 GB, free: 204 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.625, allocations: 0 / 0.7816 GB, free: 204 kB / 0.5762 GB Notification: Performance of FrontEnd: time 9.72e-07/0.625, allocations: 0.5312 kB / 0.7816 GB, free: 204 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.625, allocations: 0 / 0.7816 GB, free: 204 kB / 0.5762 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.001016/0.626, allocations: 0.5461 MB / 0.7821 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6261, allocations: 10.62 kB / 0.7821 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.6261, allocations: 38.52 kB / 0.7821 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.6267, allocations: 307.7 kB / 0.7824 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.6267, allocations: 16.22 kB / 0.7825 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.6267, allocations: 19.59 kB / 0.7825 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.6271, allocations: 234.2 kB / 0.7827 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6271, allocations: 0 / 0.7827 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.6271, allocations: 9 kB / 0.7827 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6271, allocations: 4.719 kB / 0.7827 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.6273, allocations: 133.7 kB / 0.7828 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.6284, allocations: 0.7303 MB / 0.7836 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.6287, allocations: 124.6 kB / 0.7837 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.6288, allocations: 64.39 kB / 0.7837 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.318e-05/0.6288, allocations: 14.39 kB / 0.7837 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.6289, allocations: 35.84 kB / 0.7838 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.6289, allocations: 5.094 kB / 0.7838 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001529/0.6304, allocations: 0.6208 MB / 0.7844 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.6305, allocations: 53.59 kB / 0.7844 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.6308, allocations: 336.5 kB / 0.7848 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.6308, allocations: 26.77 kB / 0.7848 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.631, allocations: 175.8 kB / 0.785 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.631, allocations: 60.38 kB / 0.785 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.6311, allocations: 36.86 kB / 0.785 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6313, allocations: 343.9 kB / 0.7854 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.886e-05/0.6314, allocations: 48.83 kB / 0.7854 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.6315, allocations: 69.41 kB / 0.7855 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.6317, allocations: 122.1 kB / 0.7856 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6317, allocations: 6.578 kB / 0.7856 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005114/0.6322, allocations: 267.2 kB / 0.7859 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6322, allocations: 9.188 kB / 0.7859 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6322, allocations: 0 / 0.7859 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.6325, allocations: 90.06 kB / 0.786 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.6326, allocations: 24.22 kB / 0.786 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.6349, allocations: 1.841 MB / 0.7878 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.635, allocations: 3.906 kB / 0.7878 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.635, allocations: 8.062 kB / 0.7878 GB, free: 12.77 MB / 0.5919 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.0001773/0.6352, allocations: 154.5 kB / 0.7879 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.6352, allocations: 39.48 kB / 0.788 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.6358, allocations: 276.2 kB / 0.7882 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.6358, allocations: 0.8438 kB / 0.7882 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6358, allocations: 6.75 kB / 0.7883 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6358, allocations: 3.938 kB / 0.7883 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/0.6366, allocations: 0.5837 MB / 0.7888 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6366, allocations: 10.45 kB / 0.7888 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.6366, allocations: 9.172 kB / 0.7888 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/0.6369, allocations: 92.81 kB / 0.7889 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.6369, allocations: 12.48 kB / 0.7889 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.6389, allocations: 1.846 MB / 0.7907 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.6389, allocations: 4.812 kB / 0.7908 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/0.6395, allocations: 407.9 kB / 0.7911 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.6395, allocations: 37.09 kB / 0.7912 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.6396, allocations: 12.86 kB / 0.7912 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.6397, allocations: 1.188 kB / 0.7912 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.6397, allocations: 19.52 kB / 0.7912 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.6398, allocations: 6.953 kB / 0.7912 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002645/0.64, allocations: 250.9 kB / 0.7915 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.64, allocations: 0 / 0.7915 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004217/0.6404, allocations: 77.83 kB / 0.7915 GB, free: 10.61 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (5): * Single equations (assignments): 4 * 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.0002748/0.6407, allocations: 169.3 kB / 0.7917 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006016/0.6413, allocations: 291.7 kB / 0.792 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6413, allocations: 1.188 kB / 0.792 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.6417, allocations: 245.5 kB / 0.7922 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.6424, allocations: 103.8 kB / 0.7923 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.6436, allocations: 0.7306 MB / 0.793 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.644, allocations: 0.7777 MB / 0.7938 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.6441, allocations: 35.16 kB / 0.7938 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.6441, allocations: 24.7 kB / 0.7938 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6441, allocations: 0 / 0.7938 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of Templates: time 0.01038/0.6545, allocations: 5.395 MB / 0.7991 GB, free: 8.559 MB / 0.5919 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.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: 6.06280174292624]