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.001565/0.001565, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001602/0.001602, allocations: 157.1 kB / 23.01 MB, free: 4.602 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.349/1.349, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.1 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.7253/0.7253, allocations: 79.62 MB / 339.4 MB, free: 10.97 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.002457/0.002457, allocations: 83.91 kB / 0.4923 GB, free: 26.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1142, allocations: 74.59 MB / 0.5652 GB, free: 6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1511/0.2653, allocations: 121.9 MB / 0.6842 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004691/0.27, allocations: 3.838 MB / 0.688 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.2702, allocations: 27.75 kB / 0.688 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.2708, allocations: 143 kB / 0.6882 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004751/0.2713, allocations: 210.7 kB / 0.6884 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.2716, allocations: 131.6 kB / 0.6885 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.2721, allocations: 410.1 kB / 0.6889 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.2722, allocations: 58.55 kB / 0.6889 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004209/0.2726, allocations: 195.1 kB / 0.6891 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.2729, allocations: 171.2 kB / 0.6893 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.2729, allocations: 20 kB / 0.6893 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.2733, allocations: 231.7 kB / 0.6895 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.2734, allocations: 51.78 kB / 0.6896 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.2735, allocations: 123.3 kB / 0.6897 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.2741, allocations: 374.5 kB / 0.69 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2741, allocations: 0 / 0.69 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2741, allocations: 0 / 0.69 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2741, allocations: 4 kB / 0.69 GB, free: 5.652 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.0009258/0.275, allocations: 0.5398 MB / 0.6906 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.275, allocations: 17.41 kB / 0.6906 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.2751, allocations: 36.7 kB / 0.6906 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005007/0.2756, allocations: 312.9 kB / 0.6909 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2756, allocations: 12.75 kB / 0.6909 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.2757, allocations: 24.38 kB / 0.691 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.276, allocations: 230.5 kB / 0.6912 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2761, allocations: 0 / 0.6912 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.2761, allocations: 12 kB / 0.6912 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2761, allocations: 4 kB / 0.6912 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.2763, allocations: 135.9 kB / 0.6913 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.2774, allocations: 0.6248 MB / 0.6919 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.2777, allocations: 122.5 kB / 0.6921 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.2778, allocations: 60.83 kB / 0.6921 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.807e-05/0.2779, allocations: 15.98 kB / 0.6921 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.278, allocations: 38.5 kB / 0.6922 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.278, allocations: 0 / 0.6922 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001466/0.2794, allocations: 0.6168 MB / 0.6928 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.2795, allocations: 55.39 kB / 0.6928 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.2797, allocations: 260.6 kB / 0.6931 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.2798, allocations: 29.7 kB / 0.6931 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2799, allocations: 176.3 kB / 0.6933 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.28, allocations: 63.47 kB / 0.6933 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.28, allocations: 33.72 kB / 0.6934 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2802, allocations: 338.8 kB / 0.6937 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.2803, allocations: 43.98 kB / 0.6937 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.2804, allocations: 65.69 kB / 0.6938 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.2806, allocations: 132.2 kB / 0.6939 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2806, allocations: 0 / 0.6939 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004532/0.281, allocations: 266 kB / 0.6942 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.281, allocations: 7.938 kB / 0.6942 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.281, allocations: 0 / 0.6942 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.2814, allocations: 96.73 kB / 0.6943 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.2814, allocations: 19.92 kB / 0.6943 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2441/0.5256, allocations: 1.795 MB / 0.696 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.5257, allocations: 4.094 kB / 0.696 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.5257, allocations: 5.094 kB / 0.696 GB, free: 132.7 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.0001213/0.5258, allocations: 147.7 kB / 0.6962 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.5259, allocations: 29.8 kB / 0.6962 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.5263, allocations: 274.7 kB / 0.6965 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5263, allocations: 1.375 kB / 0.6965 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5263, allocations: 2.672 kB / 0.6965 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5264, allocations: 0.6094 kB / 0.6965 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/0.527, allocations: 0.5311 MB / 0.697 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.527, allocations: 1.156 kB / 0.697 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.527, allocations: 9.125 kB / 0.697 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/0.5273, allocations: 106.4 kB / 0.6971 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.5273, allocations: 8.172 kB / 0.6971 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.5289, allocations: 1.82 MB / 0.6989 GB, free: 131 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5289, allocations: 3.156 kB / 0.6989 GB, free: 131 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.5294, allocations: 403.7 kB / 0.6993 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.5294, allocations: 25.27 kB / 0.6993 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.5294, allocations: 4.312 kB / 0.6993 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.5295, allocations: 5.062 kB / 0.6993 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.5296, allocations: 13.41 kB / 0.6993 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.5296, allocations: 7.578 kB / 0.6993 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001687/0.5298, allocations: 196.6 kB / 0.6995 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5298, allocations: 0 / 0.6995 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003721/0.5301, allocations: 69.17 kB / 0.6996 GB, free: 130.8 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.0001931/0.5303, allocations: 179.1 kB / 0.6998 GB, free: 130.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.5309, allocations: 292.7 kB / 0.7 GB, free: 130.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5309, allocations: 0 / 0.7 GB, free: 130.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.5312, allocations: 241.6 kB / 0.7003 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.5316, allocations: 39.92 kB / 0.7003 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.5325, allocations: 0.7119 MB / 0.701 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.5327, allocations: 180.4 kB / 0.7012 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.882e-05/0.5327, allocations: 31.34 kB / 0.7012 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.5328, allocations: 23.38 kB / 0.7012 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.5328, allocations: 0 / 0.7012 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.007787/0.5405, allocations: 3.828 MB / 0.705 GB, free: 129.2 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 -s ida -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/jenkins1/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: 5.574701788951643]