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.00186/0.00186, allocations: 85.48 kB / 19.44 MB, free: 344 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.002012/0.002012, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.457 MB / 186.7 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 1.007/1.007, allocations: 118.6 MB / 378.2 MB, free: 1.422 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 482.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.691e-05, allocations: 7.531 kB / 482.9 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.2013/0.2014, allocations: 137.7 MB / 0.606 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.2039, allocations: 1.616 MB / 0.6076 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000413/0.2044, allocations: 31.69 kB / 0.6076 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006586/0.205, allocations: 135 kB / 0.6077 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000689/0.2057, allocations: 246.3 kB / 0.608 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.2061, allocations: 139.4 kB / 0.6081 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006675/0.2068, allocations: 477.6 kB / 0.6085 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.207, allocations: 58.86 kB / 0.6086 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006156/0.2076, allocations: 279.1 kB / 0.6089 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.2079, allocations: 151.5 kB / 0.609 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.2079, allocations: 20 kB / 0.609 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.2085, allocations: 231.6 kB / 0.6092 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.812e-05/0.2085, allocations: 51.7 kB / 0.6093 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.2087, allocations: 103.7 kB / 0.6094 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.2094, allocations: 406.6 kB / 0.6098 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2094, allocations: 0 / 0.6098 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2094, allocations: 0 / 0.6098 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2094, allocations: 0 / 0.6098 GB, free: 3.051 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.001113/0.2105, allocations: 0.6898 MB / 0.6105 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2106, allocations: 12.03 kB / 0.6105 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.2107, allocations: 56.7 kB / 0.6105 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006672/0.2114, allocations: 355 kB / 0.6109 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.2114, allocations: 16.75 kB / 0.6109 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.2114, allocations: 20.33 kB / 0.6109 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.2118, allocations: 228.1 kB / 0.6111 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2119, allocations: 4.125 kB / 0.6111 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.2119, allocations: 16.12 kB / 0.6111 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.2119, allocations: 8 kB / 0.6111 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.2121, allocations: 99.94 kB / 0.6112 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.2135, allocations: 0.8061 MB / 0.612 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.2138, allocations: 135 kB / 0.6122 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.2142, allocations: 67.66 kB / 0.6122 GB, free: 436 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.572e-05/0.2143, allocations: 19.98 kB / 0.6122 GB, free: 416 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.2143, allocations: 37.39 kB / 0.6123 GB, free: 368 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.2143, allocations: 0 / 0.6123 GB, free: 368 kB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001642/0.216, allocations: 0.6255 MB / 0.6129 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.216, allocations: 59.41 kB / 0.6129 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.2164, allocations: 378.2 kB / 0.6133 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.2164, allocations: 29.7 kB / 0.6133 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.2166, allocations: 243.2 kB / 0.6136 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.2167, allocations: 75.42 kB / 0.6136 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.2168, allocations: 39.38 kB / 0.6137 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002981/0.2171, allocations: 0.5274 MB / 0.6142 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.2172, allocations: 43.98 kB / 0.6142 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.2173, allocations: 79.28 kB / 0.6143 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.2175, allocations: 130.3 kB / 0.6144 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2175, allocations: 0 / 0.6144 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000529/0.218, allocations: 272.9 kB / 0.6147 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.218, allocations: 6.812 kB / 0.6147 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.218, allocations: 0 / 0.6147 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.2184, allocations: 107.5 kB / 0.6148 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/0.2185, allocations: 23.88 kB / 0.6148 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.2212, allocations: 2.346 MB / 0.6171 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.2213, allocations: 8 kB / 0.6171 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2213, allocations: 4 kB / 0.6171 GB, free: 11.14 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.0001864/0.2215, allocations: 188.5 kB / 0.6173 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-05/0.2216, allocations: 47.75 kB / 0.6173 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005912/0.2221, allocations: 299.5 kB / 0.6176 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.2221, allocations: 4 kB / 0.6176 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2222, allocations: 0 / 0.6176 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2222, allocations: 0 / 0.6176 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009635/0.2231, allocations: 0.6598 MB / 0.6183 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2231, allocations: 0 / 0.6183 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.2232, allocations: 11.94 kB / 0.6183 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003296/0.2235, allocations: 99.67 kB / 0.6184 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2235, allocations: 12 kB / 0.6184 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002763/0.2263, allocations: 2.349 MB / 0.6207 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2263, allocations: 4 kB / 0.6207 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.227, allocations: 474 kB / 0.6211 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.227, allocations: 31.8 kB / 0.6212 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.2271, allocations: 8 kB / 0.6212 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.2272, allocations: 8 kB / 0.6212 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.2272, allocations: 19.97 kB / 0.6212 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2272, allocations: 4 kB / 0.6212 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002731/0.2275, allocations: 267.1 kB / 0.6215 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2275, allocations: 3.938 kB / 0.6215 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003739/0.2279, allocations: 75.98 kB / 0.6215 GB, free: 6.348 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.0002725/0.2282, allocations: 175 kB / 0.6217 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006882/0.2289, allocations: 376.9 kB / 0.6221 GB, free: 5.781 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2289, allocations: 0 / 0.6221 GB, free: 5.781 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.2294, allocations: 313.2 kB / 0.6224 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.2299, allocations: 63.47 kB / 0.6224 GB, free: 5.395 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.2311, allocations: 0.6793 MB / 0.6231 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.2313, allocations: 185.1 kB / 0.6233 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.734e-05/0.2314, allocations: 30.92 kB / 0.6233 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.2314, allocations: 28.48 kB / 0.6233 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of SimCode: time 5.11e-07/0.2314, allocations: 7.938 kB / 0.6233 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of Templates: time 0.01085/0.2423, allocations: 4.678 MB / 0.6279 GB, free: 15.82 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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_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: 6.027732116985135]