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.001491/0.001491, 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.001646/0.001646, allocations: 211.4 kB / 23.01 MB, free: 4.57 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.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 8 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.7407/0.7407, allocations: 100.3 MB / 413.5 MB, free: 3.656 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.002371/0.002371, allocations: 83.47 kB / 0.5645 GB, free: 35.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1088, allocations: 74.46 MB / 0.6372 GB, free: 7.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.416/0.5248, allocations: 142.1 MB / 0.776 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003604/0.5284, allocations: 4.233 MB / 0.7801 GB, free: 100 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.5287, allocations: 25.28 kB / 0.7801 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.5292, allocations: 158.1 kB / 0.7803 GB, free: 32 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.5298, allocations: 223.4 kB / 0.7805 GB, free: 0 / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.5302, allocations: 135.1 kB / 0.7806 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.5307, allocations: 405.9 kB / 0.781 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.5309, allocations: 65.86 kB / 0.7811 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004614/0.5314, allocations: 199.8 kB / 0.7813 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.5317, allocations: 176.5 kB / 0.7814 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.5317, allocations: 17.91 kB / 0.7815 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006288/0.5324, allocations: 279.8 kB / 0.7817 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.5324, allocations: 49.97 kB / 0.7818 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.5326, allocations: 140.2 kB / 0.7819 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.5333, allocations: 392.9 kB / 0.7823 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5333, allocations: 0 / 0.7823 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5333, allocations: 0.5 kB / 0.7823 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.5333, allocations: 0 / 0.7823 GB, free: 15.8 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.001017/0.5343, allocations: 0.5401 MB / 0.7828 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.5344, allocations: 9.406 kB / 0.7828 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.64e-05/0.5344, allocations: 38.2 kB / 0.7829 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.535, allocations: 311.3 kB / 0.7832 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.535, allocations: 11.03 kB / 0.7832 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.535, allocations: 19.62 kB / 0.7832 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.5354, allocations: 240 kB / 0.7834 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5354, allocations: 3.938 kB / 0.7834 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.5354, allocations: 5.469 kB / 0.7834 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.5354, allocations: 4.562 kB / 0.7834 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.5356, allocations: 137.4 kB / 0.7836 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.5366, allocations: 0.7301 MB / 0.7843 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.5369, allocations: 129 kB / 0.7844 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.942e-05/0.537, allocations: 60.88 kB / 0.7845 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-05/0.5371, allocations: 14.02 kB / 0.7845 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.5371, allocations: 37.84 kB / 0.7845 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.5371, allocations: 0 / 0.7845 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001394/0.5385, allocations: 0.6266 MB / 0.7851 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.5386, allocations: 55.62 kB / 0.7852 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.5389, allocations: 336.6 kB / 0.7855 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.539, allocations: 26.7 kB / 0.7855 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.5391, allocations: 171.8 kB / 0.7857 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.5391, allocations: 61.31 kB / 0.7857 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.5392, allocations: 33.64 kB / 0.7858 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.5394, allocations: 351.2 kB / 0.7861 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.5394, allocations: 47.5 kB / 0.7862 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.5395, allocations: 68.09 kB / 0.7862 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.5397, allocations: 118 kB / 0.7863 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5397, allocations: 0.5625 kB / 0.7863 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004528/0.5402, allocations: 273.6 kB / 0.7866 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5402, allocations: 9.5 kB / 0.7866 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5402, allocations: 0 / 0.7866 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/0.5405, allocations: 96.62 kB / 0.7867 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.5406, allocations: 18.36 kB / 0.7867 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.5426, allocations: 1.845 MB / 0.7885 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.841e-05/0.5427, allocations: 8.625 kB / 0.7885 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.5427, allocations: 11.34 kB / 0.7885 GB, free: 12.37 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.0001321/0.5429, allocations: 143.7 kB / 0.7887 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.5429, allocations: 31.28 kB / 0.7887 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/0.5434, allocations: 281.4 kB / 0.789 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5434, allocations: 1.938 kB / 0.789 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.5434, allocations: 6.031 kB / 0.789 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5434, allocations: 288 / 0.789 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.5441, allocations: 0.5952 MB / 0.7896 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5441, allocations: 0 / 0.7896 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.5442, allocations: 11.25 kB / 0.7896 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002537/0.5444, allocations: 98.31 kB / 0.7897 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.5444, allocations: 8.453 kB / 0.7897 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.5463, allocations: 1.848 MB / 0.7915 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5463, allocations: 5.156 kB / 0.7915 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.5468, allocations: 409.6 kB / 0.7919 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.5468, allocations: 34.92 kB / 0.7919 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.5469, allocations: 8.75 kB / 0.7919 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.547, allocations: 6.547 kB / 0.7919 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.547, allocations: 22.42 kB / 0.7919 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.547, allocations: 3.594 kB / 0.7919 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000228/0.5473, allocations: 251.7 kB / 0.7922 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5473, allocations: 0 / 0.7922 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000351/0.5476, allocations: 78.69 kB / 0.7923 GB, free: 10.22 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.0002177/0.5478, allocations: 167.5 kB / 0.7924 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005356/0.5484, allocations: 290.9 kB / 0.7927 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5484, allocations: 0 / 0.7927 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.5488, allocations: 240.2 kB / 0.7929 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.5493, allocations: 110.1 kB / 0.793 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.5505, allocations: 0.7437 MB / 0.7938 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.5509, allocations: 0.7832 MB / 0.7945 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.5509, allocations: 24.66 kB / 0.7945 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.5509, allocations: 0 / 0.7945 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of Templates: time 0.007239/0.5581, allocations: 6.041 MB / 0.8004 GB, free: 7.613 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/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: 8.368781383847818]