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.001339/0.001339, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001425/0.001425, allocations: 211.5 kB / 23 MB, free: 4.566 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.378/1.378, allocations: 230.6 MB / 256.8 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.7105/0.7105, allocations: 94.56 MB / 407.8 MB, free: 9.227 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.002474/0.002474, allocations: 85.7 kB / 0.5562 GB, free: 38.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1162, allocations: 73.04 MB / 0.6275 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4559/0.5721, allocations: 142.2 MB / 0.7663 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003297/0.5754, allocations: 4.23 MB / 0.7705 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.5757, allocations: 27.09 kB / 0.7705 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.5762, allocations: 156.5 kB / 0.7706 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.5766, allocations: 222.9 kB / 0.7709 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.5769, allocations: 121.7 kB / 0.771 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.5773, allocations: 418.2 kB / 0.7714 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.5774, allocations: 59.5 kB / 0.7714 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.5778, allocations: 194.3 kB / 0.7716 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.578, allocations: 180.2 kB / 0.7718 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.578, allocations: 22.38 kB / 0.7718 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.5784, allocations: 271.8 kB / 0.7721 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.5785, allocations: 50.89 kB / 0.7721 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.5786, allocations: 146.3 kB / 0.7722 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.579, allocations: 387.8 kB / 0.7726 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.579, allocations: 0 / 0.7726 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.32e-07/0.579, allocations: 0 / 0.7726 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.579, allocations: 0 / 0.7726 GB, free: 2.25 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.0009089/0.5799, allocations: 0.5464 MB / 0.7732 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.58, allocations: 7.875 kB / 0.7732 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.58, allocations: 40.64 kB / 0.7732 GB, free: 17.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.5805, allocations: 308.7 kB / 0.7735 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.5805, allocations: 15.28 kB / 0.7735 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.5806, allocations: 19.12 kB / 0.7735 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.581, allocations: 234 kB / 0.7737 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.581, allocations: 0.5 kB / 0.7737 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.581, allocations: 8.5 kB / 0.7738 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.581, allocations: 9.375 kB / 0.7738 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.5813, allocations: 133.4 kB / 0.7739 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.5824, allocations: 0.7242 MB / 0.7746 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.5827, allocations: 125.5 kB / 0.7747 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.5828, allocations: 64.58 kB / 0.7748 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.042e-05/0.5829, allocations: 23.06 kB / 0.7748 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.5829, allocations: 38.88 kB / 0.7748 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.5829, allocations: 0.5625 kB / 0.7748 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001469/0.5844, allocations: 0.6144 MB / 0.7754 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.5845, allocations: 53.41 kB / 0.7755 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.5849, allocations: 339.7 kB / 0.7758 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.5849, allocations: 29.33 kB / 0.7758 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.585, allocations: 170.2 kB / 0.776 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.585, allocations: 59.34 kB / 0.7761 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.5851, allocations: 34.69 kB / 0.7761 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5853, allocations: 344.3 kB / 0.7764 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.5854, allocations: 47.23 kB / 0.7765 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-05/0.5855, allocations: 67.02 kB / 0.7765 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.5857, allocations: 131.3 kB / 0.7767 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5857, allocations: 0 / 0.7767 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004908/0.5861, allocations: 263.9 kB / 0.7769 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5862, allocations: 9.812 kB / 0.7769 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5862, allocations: 5.531 kB / 0.7769 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.5865, allocations: 90.22 kB / 0.777 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.5865, allocations: 17.39 kB / 0.777 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.5885, allocations: 1.852 MB / 0.7788 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.5886, allocations: 4.719 kB / 0.7788 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.5886, allocations: 8.125 kB / 0.7788 GB, free: 14.88 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.0001498/0.5888, allocations: 151.7 kB / 0.779 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.5888, allocations: 33.59 kB / 0.779 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.5893, allocations: 279.2 kB / 0.7793 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5893, allocations: 3.094 kB / 0.7793 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5893, allocations: 12.22 kB / 0.7793 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5893, allocations: 0 / 0.7793 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007607/0.5901, allocations: 0.5922 MB / 0.7799 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5901, allocations: 1.688 kB / 0.7799 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.5901, allocations: 9 kB / 0.7799 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/0.5904, allocations: 102.1 kB / 0.78 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.5904, allocations: 2.75 kB / 0.78 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.5923, allocations: 1.847 MB / 0.7818 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5923, allocations: 8.969 kB / 0.7818 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.5929, allocations: 404.7 kB / 0.7822 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.5929, allocations: 34.03 kB / 0.7822 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.593, allocations: 11.44 kB / 0.7822 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.5931, allocations: 1.125 kB / 0.7822 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.5931, allocations: 18.11 kB / 0.7823 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.5931, allocations: 4.062 kB / 0.7823 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002515/0.5934, allocations: 258 kB / 0.7825 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5934, allocations: 2.156 kB / 0.7825 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004132/0.5938, allocations: 80.62 kB / 0.7826 GB, free: 12.78 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.0002489/0.594, allocations: 167.6 kB / 0.7827 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005595/0.5946, allocations: 287.4 kB / 0.783 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5946, allocations: 1.5 kB / 0.783 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.5949, allocations: 234.7 kB / 0.7832 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.5955, allocations: 113.2 kB / 0.7833 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.5966, allocations: 0.7519 MB / 0.7841 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.597, allocations: 0.7795 MB / 0.7848 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.597, allocations: 23.94 kB / 0.7849 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.597, allocations: 1.203 kB / 0.7849 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.007599/0.6046, allocations: 6.025 MB / 0.7908 GB, free: 10.61 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/jenkins1/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: 8.726799389114603]