Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0007291/0.0007291, allocations: 72.19 kB / 9.902 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009854/0.001714, allocations: 443.8 kB / 10.34 MB, free: 360 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.0007022/0.0007022, allocations: 153.2 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009236/0.001626, allocations: 467.6 kB / 11.69 MB, free: 2.48 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.9055/0.9055, allocations: 177.1 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07759/0.983, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.6559/0.6559, allocations: 118.7 MB / 362.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06617/0.7221, allocations: 35.84 MB / 398.5 MB, free: 13.34 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-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.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_dev_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_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 399.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.869e-05, allocations: 2.312 kB / 399.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 0.3344/0.3344, allocations: 165.1 MB / 0.5516 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.3482, allocations: 7.554 MB / 0.559 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004497/0.3527, allocations: 340.9 kB / 0.5593 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.3554, allocations: 0.9712 MB / 0.5603 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.009805/0.3652, allocations: 4.344 MB / 0.5645 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.3696, allocations: 1.718 MB / 0.5662 GB, free: 488 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0122/0.3818, allocations: 10.39 MB / 0.5763 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/0.3846, allocations: 1.508 MB / 0.5778 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01119/0.3958, allocations: 6.086 MB / 0.5838 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00554/0.4013, allocations: 3.502 MB / 0.5872 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.00172/0.403, allocations: 0.6016 MB / 0.5878 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006091/0.4091, allocations: 2.282 MB / 0.59 GB, free: 7.891 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.4113, allocations: 1.788 MB / 0.5917 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.004365/0.4157, allocations: 2.055 MB / 0.5938 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.4267, allocations: 6.646 MB / 0.6002 GB, free: 13.37 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.708e-05/0.4267, allocations: 0 / 0.6002 GB, free: 13.37 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.157e-06/0.4268, allocations: 7.984 kB / 0.6002 GB, free: 13.36 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002407/0.427, allocations: 0 / 0.6002 GB, free: 13.36 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.02985/0.4568, allocations: 9.303 MB / 0.6093 GB, free: 3.965 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4569, allocations: 16.03 kB / 0.6093 GB, free: 3.949 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.4591, allocations: 0.9255 MB / 0.6103 GB, free: 3.023 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/0.4756, allocations: 3.8 MB / 0.614 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.4758, allocations: 328.7 kB / 0.6143 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006698/0.4765, allocations: 455.8 kB / 0.6147 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.4929, allocations: 3.544 MB / 0.6182 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.035e-05/0.493, allocations: 10.11 kB / 0.6182 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004185/0.4934, allocations: 176 kB / 0.6184 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004967/0.4939, allocations: 420.8 kB / 0.6188 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004458/0.4984, allocations: 2.1 MB / 0.6208 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02212/0.5205, allocations: 12.8 MB / 0.6333 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.523, allocations: 1.877 MB / 0.6351 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.5243, allocations: 1.053 MB / 0.6362 GB, free: 7.953 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/0.5249, allocations: 260.4 kB / 0.6364 GB, free: 7.695 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.763e-05/0.525, allocations: 82.5 kB / 0.6365 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=476): time 8.456e-06/0.525, allocations: 4 kB / 0.6365 GB, free: 7.602 MB / 0.6042 GB Notification: Performance of matching and sorting (n=480): time 0.01299/0.538, allocations: 7.534 MB / 0.6438 GB, free: 0 / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.239/0.777, allocations: 124.9 kB / 0.644 GB, free: 98.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/0.7805, allocations: 2.664 MB / 0.6466 GB, free: 98.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0009071/0.7814, allocations: 102.7 kB / 0.6467 GB, free: 98.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008154/0.7822, allocations: 1.475 MB / 0.6481 GB, free: 98.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001237/0.7835, allocations: 1.69 MB / 0.6498 GB, free: 97.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/0.7848, allocations: 0.7036 MB / 0.6504 GB, free: 97.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.386e-05/0.7849, allocations: 308.8 kB / 0.6507 GB, free: 96.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.7864, allocations: 0.6555 MB / 0.6514 GB, free: 96.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.7879, allocations: 0.9394 MB / 0.6523 GB, free: 96.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/0.791, allocations: 2.169 MB / 0.6544 GB, free: 96.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.791, allocations: 1 kB / 0.6544 GB, free: 96.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005116/0.7961, allocations: 2.781 MB / 0.6571 GB, free: 96.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.7961, allocations: 11.48 kB / 0.6571 GB, free: 96.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.7962, allocations: 3.797 kB / 0.6571 GB, free: 96.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/0.7999, allocations: 1.25 MB / 0.6584 GB, free: 96.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/0.8024, allocations: 0.913 MB / 0.6593 GB, free: 96.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006373/0.8087, allocations: 7.959 MB / 0.667 GB, free: 90.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.8111, allocations: 84.72 kB / 0.6671 GB, free: 90.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004592/0.8115, allocations: 217.3 kB / 0.6673 GB, free: 90.97 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.001444/0.813, allocations: 316.8 kB / 0.6676 GB, free: 90.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000826/0.8138, allocations: 450.5 kB / 0.668 GB, free: 90.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00816/0.8219, allocations: 6.185 MB / 0.6741 GB, free: 90.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.103e-05/0.822, allocations: 46.38 kB / 0.6741 GB, free: 90.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/0.822, allocations: 9.812 kB / 0.6741 GB, free: 90.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-05/0.8221, allocations: 29.39 kB / 0.6742 GB, free: 90.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.8335, allocations: 6.767 MB / 0.6808 GB, free: 89.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.8335, allocations: 0.8125 kB / 0.6808 GB, free: 89.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.8353, allocations: 0.8164 MB / 0.6816 GB, free: 89.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/0.8371, allocations: 0.7462 MB / 0.6823 GB, free: 89.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003494/0.8406, allocations: 1.366 MB / 0.6836 GB, free: 88.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004537/0.841, allocations: 160.2 kB / 0.6838 GB, free: 88.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005419/0.8465, allocations: 7.966 MB / 0.6916 GB, free: 83.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.8465, allocations: 0 / 0.6916 GB, free: 83.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006478/0.8529, allocations: 4.309 MB / 0.6958 GB, free: 83.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008344/0.8538, allocations: 88.48 kB / 0.6959 GB, free: 83.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.8552, allocations: 83.92 kB / 0.6959 GB, free: 83.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005352/0.8557, allocations: 359.3 kB / 0.6963 GB, free: 83.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003593/0.8561, allocations: 192.2 kB / 0.6965 GB, free: 83.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001282/0.8574, allocations: 1.506 MB / 0.6979 GB, free: 82.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8574, allocations: 0 / 0.6979 GB, free: 82.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003293/0.8607, allocations: 1.608 MB / 0.6995 GB, free: 82.85 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.0008904/0.8615, allocations: 473.5 kB / 0.7 GB, free: 82.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004244/0.8658, allocations: 3.073 MB / 0.703 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 0.0001406/0.8659, allocations: 85.92 kB / 0.703 GB, free: 82.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002568/0.8685, allocations: 2.137 MB / 0.7051 GB, free: 80.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006166/0.8747, allocations: 2.717 MB / 0.7078 GB, free: 78.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05767/0.9323, allocations: 10.01 MB / 0.7176 GB, free: 69.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.9333, allocations: 1.161 MB / 0.7187 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004156/0.9375, allocations: 2.156 MB / 0.7208 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002896/0.9404, allocations: 1.516 MB / 0.7223 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of SimCode: time 2.244e-06/0.9404, allocations: 0 / 0.7223 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.1257/1.066, allocations: 117.2 MB / 0.8367 GB, free: 14.23 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.10093816742301]