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.001178/0.001178, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001909/0.003087, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001124/0.001124, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001484/0.002609, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9251/0.9251, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0835/1.009, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6654/0.6654, allocations: 118.7 MB / 362.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06295/0.7284, allocations: 35.84 MB / 398.7 MB, free: 13.09 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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="splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 400 MB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.29e-05, allocations: 2.312 kB / 400 MB, free: 11.8 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3186/0.3186, allocations: 129.2 MB / 0.5168 GB, free: 2.688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3196, allocations: 0.7937 MB / 0.5176 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.3198, allocations: 27.75 kB / 0.5176 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.3201, allocations: 86.17 kB / 0.5177 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.3204, allocations: 170.8 kB / 0.5178 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.3206, allocations: 125.7 kB / 0.518 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004528/0.3211, allocations: 465.7 kB / 0.5184 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.3213, allocations: 63.94 kB / 0.5185 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.3217, allocations: 299.9 kB / 0.5187 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.3219, allocations: 155.6 kB / 0.5189 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.3219, allocations: 19.94 kB / 0.5189 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.3221, allocations: 79.88 kB / 0.519 GB, free: 456 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.3221, allocations: 43.81 kB / 0.519 GB, free: 412 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.3222, allocations: 87.75 kB / 0.5191 GB, free: 324 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.3226, allocations: 288.7 kB / 0.5194 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.53e-05/0.3226, allocations: 0 / 0.5194 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3226, allocations: 0 / 0.5194 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3226, allocations: 0 / 0.5194 GB, free: 36 kB / 490.7 MB 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.0006977/0.3233, allocations: 0.6856 MB / 0.5201 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.3233, allocations: 8.031 kB / 0.5201 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.3234, allocations: 48.89 kB / 0.5201 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.3238, allocations: 337.4 kB / 0.5204 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3238, allocations: 16.75 kB / 0.5205 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.3238, allocations: 20.36 kB / 0.5205 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.3243, allocations: 153.3 kB / 0.5206 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.3243, allocations: 192 / 0.5206 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3243, allocations: 16.38 kB / 0.5206 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3243, allocations: 7.938 kB / 0.5206 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/0.3244, allocations: 50.34 kB / 0.5207 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.3249, allocations: 494.5 kB / 0.5212 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.3251, allocations: 91.25 kB / 0.5212 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.3251, allocations: 48.77 kB / 0.5213 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.369e-05/0.3252, allocations: 4 kB / 0.5213 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.3252, allocations: 42.55 kB / 0.5213 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.3252, allocations: 0 / 0.5213 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0007992/0.326, allocations: 451.1 kB / 0.5218 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.326, allocations: 59.41 kB / 0.5218 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3262, allocations: 275 kB / 0.5221 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.3262, allocations: 25.7 kB / 0.5221 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.3262, allocations: 149.1 kB / 0.5223 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.3263, allocations: 67.41 kB / 0.5223 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.3263, allocations: 37.7 kB / 0.5224 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.97e-05/0.3264, allocations: 350.7 kB / 0.5227 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.3264, allocations: 12 kB / 0.5227 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.249e-05/0.3264, allocations: 35.92 kB / 0.5227 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.298e-05/0.3265, allocations: 67 kB / 0.5228 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3265, allocations: 0 / 0.5228 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000178/0.3267, allocations: 158.8 kB / 0.5229 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3267, allocations: 8 kB / 0.523 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3267, allocations: 0 / 0.523 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.3269, allocations: 71.16 kB / 0.523 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.885e-05/0.3269, allocations: 31.92 kB / 0.5231 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009226/0.3279, allocations: 1.439 MB / 0.5245 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.3279, allocations: 8 kB / 0.5245 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3279, allocations: 4 kB / 0.5245 GB, free: 10.52 MB / 0.4948 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 7.518e-05/0.328, allocations: 124.6 kB / 0.5246 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.328, allocations: 19.98 kB / 0.5246 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.3282, allocations: 200.3 kB / 0.5248 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3282, allocations: 0 / 0.5248 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3282, allocations: 6.188 kB / 0.5248 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3282, allocations: 0 / 0.5248 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.3286, allocations: 427.3 kB / 0.5252 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3286, allocations: 3.938 kB / 0.5252 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.3286, allocations: 15.94 kB / 0.5252 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.3287, allocations: 31.8 kB / 0.5253 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/0.3288, allocations: 88.86 kB / 0.5253 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3289, allocations: 8 kB / 0.5254 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000803/0.3297, allocations: 1.457 MB / 0.5268 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3297, allocations: 0.5625 kB / 0.5268 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.3299, allocations: 304.3 kB / 0.5271 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.3299, allocations: 8 kB / 0.5271 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.33, allocations: 7.938 kB / 0.5271 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.33, allocations: 20.64 kB / 0.5271 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.33, allocations: 4 kB / 0.5271 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.154e-05/0.3301, allocations: 116.7 kB / 0.5272 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-08/0.3301, allocations: 0 / 0.5272 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002095/0.3303, allocations: 68 kB / 0.5273 GB, free: 7.449 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (7): * Single equations (assignments): 6 * 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.0003693/0.3306, allocations: 92.3 kB / 0.5274 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.3309, allocations: 264.3 kB / 0.5276 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.3309, allocations: 4 kB / 0.5276 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.3311, allocations: 231.6 kB / 0.5278 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.3317, allocations: 0.5551 MB / 0.5284 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.337, allocations: 0.6228 MB / 0.529 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.959e-05/0.337, allocations: 101.2 kB / 0.5291 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.904e-05/0.3371, allocations: 26.97 kB / 0.5291 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.3372, allocations: 103.3 kB / 0.5292 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of SimCode: time 1.433e-06/0.3372, allocations: 0 / 0.5292 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of Templates: time 0.007806/0.3451, allocations: 4.288 MB / 0.5334 GB, free: 1.074 MB / 0.4948 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.588198658078909]