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.0009922/0.0009922, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001083/0.001083, allocations: 169 kB / 23.28 MB, free: 1.223 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 0.9393/0.9393, allocations: 177.1 MB / 203.7 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7035/0.7035, allocations: 118.6 MB / 378.9 MB, free: 1.371 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.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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="Time|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.763e-06/1.763e-06, allocations: 0 / 484.1 MB, free: 8.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.438e-05, allocations: 6.031 kB / 484.1 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 0.1486/0.1486, allocations: 162.5 MB / 0.6314 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.1613, allocations: 7.238 MB / 0.6384 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00417/0.1654, allocations: 340.9 kB / 0.6388 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.168, allocations: 0.9255 MB / 0.6397 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009482/0.1775, allocations: 4.421 MB / 0.644 GB, free: 444 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2677/0.4452, allocations: 1.751 MB / 0.6457 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01082/0.456, allocations: 10.35 MB / 0.6558 GB, free: 16.2 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.4587, allocations: 1.42 MB / 0.6572 GB, free: 31.89 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01181/0.4705, allocations: 5.715 MB / 0.6628 GB, free: 31.34 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00727/0.4778, allocations: 3.655 MB / 0.6663 GB, free: 30.95 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.002447/0.4802, allocations: 0.6016 MB / 0.6669 GB, free: 30.95 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007401/0.4876, allocations: 2.219 MB / 0.6691 GB, free: 30.91 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003801/0.4914, allocations: 2.124 MB / 0.6712 GB, free: 30.6 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.006486/0.4979, allocations: 2.411 MB / 0.6735 GB, free: 30.31 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008974/0.5069, allocations: 7.144 MB / 0.6805 GB, free: 29.31 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5069, allocations: 0.9688 kB / 0.6805 GB, free: 29.31 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5069, allocations: 3.375 kB / 0.6805 GB, free: 29.31 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002137/0.5071, allocations: 2.125 kB / 0.6805 GB, free: 29.31 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.01123/0.5183, allocations: 8.099 MB / 0.6884 GB, free: 26.29 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5184, allocations: 9.5 kB / 0.6884 GB, free: 26.29 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.5203, allocations: 1.194 MB / 0.6896 GB, free: 25.86 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006473/0.5268, allocations: 4.811 MB / 0.6943 GB, free: 24.82 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.5269, allocations: 329.3 kB / 0.6946 GB, free: 24.81 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006181/0.5276, allocations: 456.9 kB / 0.695 GB, free: 24.8 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005081/0.5326, allocations: 3.501 MB / 0.6984 GB, free: 24.36 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.397e-05/0.5327, allocations: 3.188 kB / 0.6984 GB, free: 24.36 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002923/0.533, allocations: 178.1 kB / 0.6986 GB, free: 24.36 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003153/0.5333, allocations: 414.5 kB / 0.699 GB, free: 24.34 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002961/0.5363, allocations: 2.171 MB / 0.7011 GB, free: 24.23 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/0.5591, allocations: 16.1 MB / 0.7169 GB, free: 19 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.5619, allocations: 1.988 MB / 0.7188 GB, free: 18.57 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.5633, allocations: 1.213 MB / 0.72 GB, free: 18.42 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005901/0.5639, allocations: 380.7 kB / 0.7203 GB, free: 18.35 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.564, allocations: 83.64 kB / 0.7204 GB, free: 18.27 MB / 0.573 GB Notification: Performance of pre-optimization done (n=476): time 8.165e-06/0.564, allocations: 1.062 kB / 0.7204 GB, free: 18.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=480): time 0.01569/0.5797, allocations: 8.86 MB / 0.7291 GB, free: 14.63 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.5797, allocations: 138.1 kB / 0.7292 GB, free: 14.48 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/0.5822, allocations: 2.916 MB / 0.7321 GB, free: 12.07 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002439/0.5824, allocations: 101.2 kB / 0.7322 GB, free: 11.97 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.5839, allocations: 2.458 MB / 0.7346 GB, free: 9.668 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.585, allocations: 1.732 MB / 0.7362 GB, free: 8.039 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009882/0.586, allocations: 0.7866 MB / 0.737 GB, free: 7.336 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003648/0.5864, allocations: 481.3 kB / 0.7375 GB, free: 6.863 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.5875, allocations: 0.761 MB / 0.7382 GB, free: 6.102 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.5888, allocations: 1.172 MB / 0.7394 GB, free: 4.969 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.5916, allocations: 2.37 MB / 0.7417 GB, free: 2.637 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.5916, allocations: 0 / 0.7417 GB, free: 2.637 MB / 0.573 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005854/0.5974, allocations: 3.787 MB / 0.7454 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.5975, allocations: 10.81 kB / 0.7454 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.5975, allocations: 8.75 kB / 0.7454 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003392/0.6009, allocations: 1.286 MB / 0.7466 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.6025, allocations: 0.7121 MB / 0.7473 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007781/0.6103, allocations: 10.99 MB / 0.7581 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.6129, allocations: 87.28 kB / 0.7582 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005309/0.6134, allocations: 231.9 kB / 0.7584 GB, free: 1.461 MB / 0.5886 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), (1,5), (1,5), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001524/0.6149, allocations: 357.6 kB / 0.7587 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/0.6163, allocations: 0.6594 MB / 0.7594 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008384/0.6246, allocations: 7.256 MB / 0.7665 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.18e-05/0.6247, allocations: 48 kB / 0.7665 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.754e-05/0.6247, allocations: 16 kB / 0.7665 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/0.6248, allocations: 28.59 kB / 0.7665 GB, free: 9.645 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.6382, allocations: 8.481 MB / 0.7748 GB, free: 1.621 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.6382, allocations: 0 / 0.7748 GB, free: 1.621 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.6395, allocations: 0.6477 MB / 0.7755 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003526/0.6431, allocations: 1.337 MB / 0.7768 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004649/0.6435, allocations: 171 kB / 0.7769 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007997/0.6515, allocations: 11.05 MB / 0.7877 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6515, allocations: 4 kB / 0.7877 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008562/0.6601, allocations: 5.286 MB / 0.7929 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/0.6621, allocations: 1.027 MB / 0.7939 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005113/0.6626, allocations: 91.44 kB / 0.794 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.6637, allocations: 86.47 kB / 0.794 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004922/0.6642, allocations: 373.6 kB / 0.7944 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003655/0.6646, allocations: 207.9 kB / 0.7946 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001957/0.6665, allocations: 1.665 MB / 0.7962 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.6665, allocations: 0 / 0.7962 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004145/0.6707, allocations: 1.612 MB / 0.7978 GB, free: 10.2 MB / 0.6355 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.001129/0.6718, allocations: 481 kB / 0.7983 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005905/0.6777, allocations: 3.499 MB / 0.8017 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.6777, allocations: 4.062 kB / 0.8017 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004042/0.6818, allocations: 2.444 MB / 0.8041 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008281/0.6901, allocations: 2.267 MB / 0.8063 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/0.7082, allocations: 9.772 MB / 0.8158 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.7097, allocations: 1.213 MB / 0.817 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.006297/0.716, allocations: 2.174 MB / 0.8191 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005036/0.7211, allocations: 1.735 MB / 0.8208 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of SimCode: time 2.224e-06/0.7211, allocations: 0 / 0.8208 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of Templates: time 0.3804/1.101, allocations: 112.9 MB / 0.9311 GB, free: 198.4 MB / 0.7292 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 -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.349789930973202]