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.001614/0.001614, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001808/0.001808, allocations: 159.2 kB / 23.01 MB, free: 4.949 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.41/1.41, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.7201/0.7201, allocations: 74.91 MB / 334.7 MB, free: 15.52 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.002607/0.002607, allocations: 86.28 kB / 496.4 MB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1178, allocations: 73.03 MB / 0.5561 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1583/0.2761, allocations: 121.9 MB / 0.6751 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004994/0.2811, allocations: 3.842 MB / 0.6789 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.2814, allocations: 27.81 kB / 0.6789 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.282, allocations: 131.1 kB / 0.679 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006096/0.2826, allocations: 218.6 kB / 0.6792 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.283, allocations: 131.6 kB / 0.6794 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005361/0.2835, allocations: 406.1 kB / 0.6798 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.2837, allocations: 62.53 kB / 0.6798 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.2841, allocations: 195.2 kB / 0.68 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.2844, allocations: 171.2 kB / 0.6802 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.2845, allocations: 16.05 kB / 0.6802 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.2849, allocations: 231.7 kB / 0.6804 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.285, allocations: 59.7 kB / 0.6805 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.2852, allocations: 111.4 kB / 0.6806 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005762/0.2857, allocations: 382.4 kB / 0.6809 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2857, allocations: 4 kB / 0.6809 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2857, allocations: 0 / 0.6809 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.2858, allocations: 0 / 0.6809 GB, free: 15.22 MB / 0.5919 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.0009833/0.2867, allocations: 0.5437 MB / 0.6815 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2868, allocations: 12.03 kB / 0.6815 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.2869, allocations: 40.64 kB / 0.6815 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.2874, allocations: 305 kB / 0.6818 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2874, allocations: 16.75 kB / 0.6818 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.2875, allocations: 16.38 kB / 0.6818 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.2879, allocations: 229.8 kB / 0.6821 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2879, allocations: 4 kB / 0.6821 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.2879, allocations: 8 kB / 0.6821 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2879, allocations: 4 kB / 0.6821 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.2881, allocations: 135.8 kB / 0.6822 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.2892, allocations: 0.6288 MB / 0.6828 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.2895, allocations: 122.5 kB / 0.6829 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.2897, allocations: 64.78 kB / 0.683 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.227e-05/0.2897, allocations: 15.98 kB / 0.683 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.2898, allocations: 34.84 kB / 0.683 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 4.579e-06/0.2898, allocations: 3.984 kB / 0.683 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001489/0.2913, allocations: 0.6124 MB / 0.6836 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2913, allocations: 51.41 kB / 0.6837 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.2916, allocations: 264.6 kB / 0.6839 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.2916, allocations: 29.7 kB / 0.684 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.2918, allocations: 176.3 kB / 0.6841 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.2918, allocations: 63.47 kB / 0.6842 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.2919, allocations: 37.7 kB / 0.6842 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.292, allocations: 334.8 kB / 0.6846 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.2921, allocations: 47.92 kB / 0.6846 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.2923, allocations: 71.06 kB / 0.6847 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.2925, allocations: 123.8 kB / 0.6848 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.2925, allocations: 3.984 kB / 0.6848 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000485/0.293, allocations: 258 kB / 0.685 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.293, allocations: 7.938 kB / 0.685 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.293, allocations: 0 / 0.685 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/0.2933, allocations: 100.7 kB / 0.6851 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.2934, allocations: 15.94 kB / 0.6852 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.2956, allocations: 1.805 MB / 0.6869 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.2957, allocations: 4 kB / 0.6869 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.2957, allocations: 8 kB / 0.6869 GB, free: 8.746 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.0001572/0.2959, allocations: 145.8 kB / 0.6871 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.2959, allocations: 23.86 kB / 0.6871 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.2965, allocations: 275.3 kB / 0.6873 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2965, allocations: 7.938 kB / 0.6874 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.2965, allocations: 0 / 0.6874 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2965, allocations: 3.938 kB / 0.6874 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008014/0.2973, allocations: 0.5363 MB / 0.6879 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2973, allocations: 4 kB / 0.6879 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.2973, allocations: 7.984 kB / 0.6879 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002978/0.2976, allocations: 108.7 kB / 0.688 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2976, allocations: 8 kB / 0.688 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.2998, allocations: 1.804 MB / 0.6898 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2998, allocations: 96 / 0.6898 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.3004, allocations: 413.3 kB / 0.6902 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.3004, allocations: 23.81 kB / 0.6902 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.3004, allocations: 4 kB / 0.6902 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3006, allocations: 4 kB / 0.6902 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.3006, allocations: 19.91 kB / 0.6902 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3006, allocations: 8 kB / 0.6902 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002142/0.3008, allocations: 195.1 kB / 0.6904 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3008, allocations: 0 / 0.6904 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003962/0.3012, allocations: 75.94 kB / 0.6905 GB, free: 4.895 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.0002521/0.3015, allocations: 163.4 kB / 0.6906 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006199/0.3021, allocations: 290.4 kB / 0.6909 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3021, allocations: 0 / 0.6909 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.3025, allocations: 234.7 kB / 0.6911 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3029, allocations: 42.02 kB / 0.6912 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3041, allocations: 0.7321 MB / 0.6919 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.3043, allocations: 176.8 kB / 0.6921 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.25e-05/0.3044, allocations: 18.3 kB / 0.6921 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.3044, allocations: 20.5 kB / 0.6921 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.3044, allocations: 0 / 0.6921 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of Templates: time 0.2585/0.5629, allocations: 3.815 MB / 0.6958 GB, free: 141.8 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 -s ida -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: 5.733920568949543]