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.001836/0.001836, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.002006/0.002006, allocations: 169.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.024/1.024, allocations: 118.6 MB / 378.2 MB, free: 1.504 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 482.9 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.722e-05, allocations: 3.438 kB / 482.9 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.2028/0.2029, allocations: 137.7 MB / 0.606 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002489/0.2053, allocations: 1.608 MB / 0.6076 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.2055, allocations: 31.75 kB / 0.6076 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005662/0.2061, allocations: 142.9 kB / 0.6077 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005894/0.2067, allocations: 246.3 kB / 0.608 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.2071, allocations: 135.5 kB / 0.6081 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.2077, allocations: 465.6 kB / 0.6085 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.2079, allocations: 66.86 kB / 0.6086 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005407/0.2084, allocations: 283 kB / 0.6089 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.2087, allocations: 151.6 kB / 0.609 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.2088, allocations: 24 kB / 0.609 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.2093, allocations: 223.6 kB / 0.6092 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.2093, allocations: 55.7 kB / 0.6093 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.2095, allocations: 95.72 kB / 0.6094 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006748/0.2102, allocations: 414.6 kB / 0.6098 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2102, allocations: 0 / 0.6098 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2102, allocations: 0 / 0.6098 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.2102, allocations: 0 / 0.6098 GB, free: 3.059 MB / 0.5261 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.001092/0.2113, allocations: 0.694 MB / 0.6105 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2113, allocations: 8.031 kB / 0.6105 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.2114, allocations: 56.7 kB / 0.6105 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.2121, allocations: 358.9 kB / 0.6109 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2121, allocations: 16.75 kB / 0.6109 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.2121, allocations: 24.33 kB / 0.6109 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.2126, allocations: 224.1 kB / 0.6111 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.2126, allocations: 4.172 kB / 0.6111 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.2126, allocations: 8.125 kB / 0.6111 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.2126, allocations: 11.94 kB / 0.6111 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.2129, allocations: 107.9 kB / 0.6112 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.2145, allocations: 0.8138 MB / 0.612 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.2149, allocations: 135 kB / 0.6122 GB, free: 496 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.215, allocations: 63.66 kB / 0.6122 GB, free: 428 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.834e-05/0.2151, allocations: 19.98 kB / 0.6122 GB, free: 408 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.2151, allocations: 33.39 kB / 0.6123 GB, free: 364 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.2151, allocations: 0 / 0.6123 GB, free: 364 kB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001684/0.2168, allocations: 0.6321 MB / 0.6129 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.2169, allocations: 55.41 kB / 0.6129 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.2173, allocations: 382.2 kB / 0.6133 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.2173, allocations: 25.7 kB / 0.6133 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.2175, allocations: 239.2 kB / 0.6136 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.2176, allocations: 75.47 kB / 0.6136 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.2177, allocations: 39.38 kB / 0.6137 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003146/0.218, allocations: 0.5274 MB / 0.6142 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.683e-05/0.2181, allocations: 43.98 kB / 0.6142 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.2182, allocations: 82.55 kB / 0.6143 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.2184, allocations: 131.3 kB / 0.6144 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2184, allocations: 0 / 0.6144 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005348/0.219, allocations: 271.4 kB / 0.6147 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.219, allocations: 4 kB / 0.6147 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.219, allocations: 3.984 kB / 0.6147 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003987/0.2194, allocations: 99.56 kB / 0.6148 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.2195, allocations: 31.86 kB / 0.6148 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/0.2223, allocations: 2.346 MB / 0.6171 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.553e-05/0.2224, allocations: 12 kB / 0.6171 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.2224, allocations: 4 kB / 0.6171 GB, free: 11.13 MB / 0.5417 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.0001913/0.2226, allocations: 192.5 kB / 0.6173 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.2227, allocations: 39.75 kB / 0.6174 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006119/0.2233, allocations: 302.7 kB / 0.6176 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.2233, allocations: 4 kB / 0.6176 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2233, allocations: 0 / 0.6176 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2233, allocations: 0 / 0.6176 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.2243, allocations: 0.664 MB / 0.6183 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2243, allocations: 0 / 0.6183 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.2244, allocations: 8 kB / 0.6183 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/0.2247, allocations: 111.6 kB / 0.6184 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2247, allocations: 4 kB / 0.6184 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002993/0.2277, allocations: 2.35 MB / 0.6207 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2277, allocations: 0 / 0.6207 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007306/0.2285, allocations: 477.3 kB / 0.6212 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.2286, allocations: 31.8 kB / 0.6212 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.2286, allocations: 8 kB / 0.6212 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.2287, allocations: 144 / 0.6212 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.2288, allocations: 23.95 kB / 0.6212 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.2288, allocations: 4 kB / 0.6212 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002947/0.2291, allocations: 267.1 kB / 0.6215 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.2291, allocations: 0 / 0.6215 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004096/0.2295, allocations: 75.98 kB / 0.6216 GB, free: 6.344 MB / 0.5417 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.0002936/0.2298, allocations: 183.4 kB / 0.6217 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007213/0.2305, allocations: 372.9 kB / 0.6221 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2305, allocations: 0 / 0.6221 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.231, allocations: 313.3 kB / 0.6224 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.2316, allocations: 67.95 kB / 0.6224 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2328, allocations: 0.6715 MB / 0.6231 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.2331, allocations: 185.1 kB / 0.6233 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.422e-05/0.2331, allocations: 38.48 kB / 0.6233 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.2332, allocations: 28.48 kB / 0.6233 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of SimCode: time 5.11e-07/0.2332, allocations: 0 / 0.6233 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of Templates: time 0.01141/0.2446, allocations: 4.662 MB / 0.6279 GB, free: 15.83 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] 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: 5.998130372026935]