Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.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.000729/0.000729, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001757, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006994/0.0006994, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009334/0.001633, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9551/0.9551, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09103/1.046, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.6982/0.6982, allocations: 118.6 MB / 362.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05087/0.7491, allocations: 35.84 MB / 398.4 MB, free: 13.25 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.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology") translateModel(ThermofluidStream.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 399.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.788e-05, allocations: 2.312 kB / 399.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 0.3407/0.3407, allocations: 165.1 MB / 0.5516 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.3543, allocations: 7.55 MB / 0.5589 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004161/0.3585, allocations: 344.9 kB / 0.5593 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002671/0.3611, allocations: 0.9668 MB / 0.5602 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00957/0.3707, allocations: 4.341 MB / 0.5645 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.3747, allocations: 1.73 MB / 0.5661 GB, free: 324 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0113/0.386, allocations: 10.38 MB / 0.5763 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.3888, allocations: 1.506 MB / 0.5778 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01121/0.4, allocations: 6.09 MB / 0.5837 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006044/0.406, allocations: 3.502 MB / 0.5871 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001868/0.4079, allocations: 0.6055 MB / 0.5877 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005655/0.4136, allocations: 2.287 MB / 0.5899 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002838/0.4164, allocations: 1.784 MB / 0.5917 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0049/0.4213, allocations: 2.059 MB / 0.5937 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.009751/0.4311, allocations: 6.646 MB / 0.6002 GB, free: 13.21 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.638e-05/0.4311, allocations: 0 / 0.6002 GB, free: 13.21 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4311, allocations: 0 / 0.6002 GB, free: 13.21 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002802/0.4314, allocations: 0 / 0.6002 GB, free: 13.21 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.01322/0.4446, allocations: 9.314 MB / 0.6093 GB, free: 3.805 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4446, allocations: 8.031 kB / 0.6093 GB, free: 3.797 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.4466, allocations: 0.9299 MB / 0.6102 GB, free: 2.867 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007898/0.4545, allocations: 3.797 MB / 0.6139 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.4547, allocations: 328.7 kB / 0.6142 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008143/0.4555, allocations: 451.8 kB / 0.6146 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004458/0.46, allocations: 3.548 MB / 0.6181 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.949e-05/0.4601, allocations: 3.938 kB / 0.6181 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.4603, allocations: 186.1 kB / 0.6183 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003288/0.4606, allocations: 412.8 kB / 0.6187 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00319/0.4638, allocations: 2.1 MB / 0.6207 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0208/0.4846, allocations: 12.8 MB / 0.6332 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.4873, allocations: 1.874 MB / 0.6351 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.4888, allocations: 1.049 MB / 0.6361 GB, free: 7.801 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006065/0.4895, allocations: 260.4 kB / 0.6363 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/0.4895, allocations: 86.5 kB / 0.6364 GB, free: 7.449 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=476): time 9.849e-06/0.4895, allocations: 0 / 0.6364 GB, free: 7.449 MB / 0.6042 GB Notification: Performance of matching and sorting (n=480): time 0.2391/0.7287, allocations: 7.528 MB / 0.6438 GB, free: 97.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.7287, allocations: 131.9 kB / 0.6439 GB, free: 97.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.7324, allocations: 2.668 MB / 0.6465 GB, free: 96.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000825/0.7332, allocations: 104 kB / 0.6466 GB, free: 96.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008247/0.7341, allocations: 1.476 MB / 0.6481 GB, free: 96.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.7353, allocations: 1.682 MB / 0.6497 GB, free: 95.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001982/0.7372, allocations: 0.7075 MB / 0.6504 GB, free: 95.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 2.828e-05/0.7373, allocations: 310.1 kB / 0.6507 GB, free: 95.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.7387, allocations: 0.6596 MB / 0.6513 GB, free: 95.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.7401, allocations: 0.9366 MB / 0.6522 GB, free: 95.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.7431, allocations: 2.172 MB / 0.6544 GB, free: 94.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.7431, allocations: 1.906 kB / 0.6544 GB, free: 94.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.004852/0.7479, allocations: 2.779 MB / 0.6571 GB, free: 94.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.748, allocations: 6.156 kB / 0.6571 GB, free: 94.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.748, allocations: 5.547 kB / 0.6571 GB, free: 94.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/0.7518, allocations: 1.254 MB / 0.6583 GB, free: 94.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/0.7542, allocations: 0.9131 MB / 0.6592 GB, free: 94.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005996/0.7602, allocations: 7.95 MB / 0.667 GB, free: 89.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.7622, allocations: 84.62 kB / 0.667 GB, free: 89.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000473/0.7627, allocations: 217.5 kB / 0.6673 GB, free: 89.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (414): * Single equations (assignments): 377 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (2,4), (2,4), (1,5), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001372/0.764, allocations: 319.8 kB / 0.6676 GB, free: 89.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008255/0.7649, allocations: 446.7 kB / 0.668 GB, free: 89.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008345/0.7732, allocations: 6.179 MB / 0.674 GB, free: 88.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-05/0.7733, allocations: 50.25 kB / 0.6741 GB, free: 88.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.081e-05/0.7733, allocations: 9.531 kB / 0.6741 GB, free: 88.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.48e-05/0.7734, allocations: 25.38 kB / 0.6741 GB, free: 88.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.7856, allocations: 6.781 MB / 0.6807 GB, free: 87.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.7856, allocations: 0.8438 kB / 0.6807 GB, free: 87.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.7873, allocations: 0.8276 MB / 0.6815 GB, free: 87.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/0.7889, allocations: 0.7253 MB / 0.6822 GB, free: 87.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003384/0.7923, allocations: 1.369 MB / 0.6836 GB, free: 87.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004835/0.7928, allocations: 155.9 kB / 0.6837 GB, free: 87.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005158/0.798, allocations: 7.97 MB / 0.6915 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.464e-05/0.798, allocations: 2.969 kB / 0.6915 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006619/0.8046, allocations: 4.304 MB / 0.6957 GB, free: 81.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008852/0.8055, allocations: 88.91 kB / 0.6958 GB, free: 81.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.8072, allocations: 84.23 kB / 0.6959 GB, free: 81.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006224/0.8078, allocations: 363.4 kB / 0.6962 GB, free: 81.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004099/0.8083, allocations: 193.6 kB / 0.6964 GB, free: 81.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00165/0.8099, allocations: 1.507 MB / 0.6979 GB, free: 81.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.8099, allocations: 0 / 0.6979 GB, free: 81.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0041/0.814, allocations: 1.609 MB / 0.6995 GB, free: 81.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (dynamicJunctionNM1.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow3.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow5.inlet.m_flow,dynamicJunctionNM.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow1.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow2.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 (387): * Single equations (assignments): 350 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,4), (1,5), (2,4), (1,5), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/0.8151, allocations: 472.8 kB / 0.6999 GB, free: 81.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004747/0.8198, allocations: 3.073 MB / 0.7029 GB, free: 80.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 0.000125/0.8199, allocations: 84.09 kB / 0.703 GB, free: 80.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002939/0.8229, allocations: 2.131 MB / 0.7051 GB, free: 80.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006538/0.8294, allocations: 2.718 MB / 0.7077 GB, free: 78.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07233/0.9018, allocations: 10 MB / 0.7175 GB, free: 68.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.9028, allocations: 1.163 MB / 0.7186 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003739/0.9066, allocations: 2.157 MB / 0.7207 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/0.9093, allocations: 1.505 MB / 0.7222 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of SimCode: time 2.395e-06/0.9093, allocations: 0 / 0.7222 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of Templates: time 0.1616/1.071, allocations: 117.2 MB / 0.8366 GB, free: 13.82 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.383249903097749]