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.001978/0.001978, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002486/0.002486, allocations: 218.5 kB / 22.26 MB, free: 5.078 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7897/0.7897, allocations: 94.56 MB / 407 MB, free: 9.188 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.2..m_flow|splitterN.outlets.3..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.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_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.002781/0.002781, allocations: 88.09 kB / 0.5554 GB, free: 38.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1168, allocations: 73.05 MB / 0.6268 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.5099/0.6267, allocations: 142.2 MB / 0.7656 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004609/0.6313, allocations: 4.226 MB / 0.7697 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005269/0.6318, allocations: 26.06 kB / 0.7697 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.6325, allocations: 160.9 kB / 0.7699 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006941/0.6332, allocations: 224.7 kB / 0.7701 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.6336, allocations: 126.4 kB / 0.7702 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.6341, allocations: 406.4 kB / 0.7706 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.6343, allocations: 64.47 kB / 0.7707 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004594/0.6348, allocations: 204.5 kB / 0.7709 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.6351, allocations: 174.6 kB / 0.771 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.6351, allocations: 18.2 kB / 0.771 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005529/0.6357, allocations: 272.7 kB / 0.7713 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.6357, allocations: 50.42 kB / 0.7714 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.6359, allocations: 148.4 kB / 0.7715 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006464/0.6366, allocations: 383.7 kB / 0.7719 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6366, allocations: 4 kB / 0.7719 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6366, allocations: 1.203 kB / 0.7719 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.6366, allocations: 0 / 0.7719 GB, free: 2.234 MB / 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.001074/0.6376, allocations: 0.5415 MB / 0.7724 GB, free: 17.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6377, allocations: 9.469 kB / 0.7724 GB, free: 17.85 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.89e-05/0.6378, allocations: 38.67 kB / 0.7724 GB, free: 17.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.6384, allocations: 313.7 kB / 0.7727 GB, free: 17.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.6384, allocations: 11.5 kB / 0.7728 GB, free: 17.65 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.6384, allocations: 20.19 kB / 0.7728 GB, free: 17.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.6388, allocations: 234.9 kB / 0.773 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.6389, allocations: 0.6562 kB / 0.773 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.6389, allocations: 8.062 kB / 0.773 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.6389, allocations: 4.906 kB / 0.773 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.6392, allocations: 139.4 kB / 0.7731 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.6404, allocations: 0.7226 MB / 0.7738 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.6407, allocations: 136.2 kB / 0.774 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.6409, allocations: 56.44 kB / 0.774 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.641, allocations: 22.86 kB / 0.7741 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.641, allocations: 38.41 kB / 0.7741 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.641, allocations: 0 / 0.7741 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001816/0.6428, allocations: 0.6162 MB / 0.7747 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.6429, allocations: 53.62 kB / 0.7747 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.6434, allocations: 338 kB / 0.7751 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.6434, allocations: 32.73 kB / 0.7751 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.6435, allocations: 166.9 kB / 0.7753 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.6436, allocations: 65.72 kB / 0.7753 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.6436, allocations: 31.19 kB / 0.7753 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.6438, allocations: 348.5 kB / 0.7757 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.6439, allocations: 47.14 kB / 0.7757 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.644, allocations: 69.61 kB / 0.7758 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.6443, allocations: 123.9 kB / 0.7759 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6443, allocations: 0 / 0.7759 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005042/0.6448, allocations: 271.1 kB / 0.7762 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.6448, allocations: 9.766 kB / 0.7762 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6448, allocations: 1.156 kB / 0.7762 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/0.6452, allocations: 91.06 kB / 0.7763 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.271e-05/0.6453, allocations: 23.47 kB / 0.7763 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.6474, allocations: 1.84 MB / 0.7781 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.6475, allocations: 1.562 kB / 0.7781 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.6476, allocations: 14.94 kB / 0.7781 GB, free: 14.87 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.0001698/0.6477, allocations: 145.3 kB / 0.7782 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.6478, allocations: 31.19 kB / 0.7783 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.6483, allocations: 282.7 kB / 0.7785 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6483, allocations: 1.031 kB / 0.7785 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6483, allocations: 6.062 kB / 0.7785 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.6483, allocations: 3.047 kB / 0.7785 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008465/0.6492, allocations: 0.5923 MB / 0.7791 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6492, allocations: 1.5 kB / 0.7791 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.6492, allocations: 12.31 kB / 0.7791 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/0.6495, allocations: 96.83 kB / 0.7792 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.6495, allocations: 6.938 kB / 0.7792 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.6518, allocations: 1.854 MB / 0.7811 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6518, allocations: 8.219 kB / 0.7811 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006029/0.6524, allocations: 401.2 kB / 0.7814 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.6525, allocations: 33.92 kB / 0.7815 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.6525, allocations: 11.19 kB / 0.7815 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.6526, allocations: 3.953 kB / 0.7815 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.6527, allocations: 21.17 kB / 0.7815 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.6527, allocations: 6.188 kB / 0.7815 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003586/0.6531, allocations: 255.8 kB / 0.7818 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6531, allocations: 0 / 0.7818 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004357/0.6535, allocations: 77.75 kB / 0.7818 GB, free: 12.76 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.0002917/0.6538, allocations: 167.6 kB / 0.782 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006441/0.6544, allocations: 289 kB / 0.7823 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6544, allocations: 5.406 kB / 0.7823 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.6549, allocations: 233.4 kB / 0.7825 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.6555, allocations: 110.7 kB / 0.7826 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.6568, allocations: 0.7243 MB / 0.7833 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.6572, allocations: 0.7834 MB / 0.7841 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.6574, allocations: 38.77 kB / 0.7841 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.6574, allocations: 25.14 kB / 0.7841 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.6574, allocations: 0 / 0.7841 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.01094/0.6683, allocations: 5.384 MB / 0.7894 GB, free: 10.74 MB / 0.5919 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.158225669991225]