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.001337/0.001337, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001476/0.001476, allocations: 181 kB / 23.36 MB, free: 1.133 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.8863/0.8863, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.6436/0.6436, allocations: 118.6 MB / 378.9 MB, free: 1.305 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.373e-06/1.373e-06, allocations: 0 / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.364e-05, allocations: 6.312 kB / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 0.3079/0.3079, allocations: 164.6 MB / 0.5814 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.318, allocations: 7.527 MB / 0.5888 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.3192, allocations: 340.9 kB / 0.5891 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.3205, allocations: 0.9635 MB / 0.59 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004959/0.3254, allocations: 4.414 MB / 0.5943 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.3278, allocations: 1.758 MB / 0.5961 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00665/0.3345, allocations: 10.37 MB / 0.6062 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.3359, allocations: 1.504 MB / 0.6077 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005119/0.341, allocations: 5.661 MB / 0.6132 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/0.344, allocations: 3.502 MB / 0.6166 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005238/0.3445, allocations: 0.6016 MB / 0.6172 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.3472, allocations: 2.204 MB / 0.6193 GB, free: 15.51 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.3484, allocations: 2.126 MB / 0.6214 GB, free: 13.38 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002/0.3504, allocations: 2.412 MB / 0.6238 GB, free: 10.96 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005508/0.3559, allocations: 7.148 MB / 0.6308 GB, free: 3.789 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3559, allocations: 0 / 0.6308 GB, free: 3.789 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.143e-06/0.3559, allocations: 0 / 0.6308 GB, free: 3.789 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.143e-05/0.3559, allocations: 0 / 0.6308 GB, free: 3.789 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.008538/0.3645, allocations: 7.768 MB / 0.6383 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3645, allocations: 20.02 kB / 0.6384 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3657, allocations: 0.9293 MB / 0.6393 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004382/0.3701, allocations: 3.791 MB / 0.643 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.3703, allocations: 328.7 kB / 0.6433 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000431/0.3707, allocations: 451.8 kB / 0.6437 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/0.3744, allocations: 3.545 MB / 0.6472 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.635e-05/0.3745, allocations: 3.938 kB / 0.6472 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/0.3747, allocations: 176 kB / 0.6474 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003143/0.375, allocations: 416.8 kB / 0.6478 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.3777, allocations: 2.1 MB / 0.6498 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.3929, allocations: 12.79 MB / 0.6623 GB, free: 2.895 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.3949, allocations: 1.87 MB / 0.6641 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1856/0.5805, allocations: 1.047 MB / 0.6651 GB, free: 90.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008242/0.5813, allocations: 255.7 kB / 0.6654 GB, free: 90.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.5814, allocations: 79.83 kB / 0.6655 GB, free: 90.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=476): time 1.341e-05/0.5814, allocations: 2.531 kB / 0.6655 GB, free: 90.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=480): time 0.01266/0.5941, allocations: 7.525 MB / 0.6728 GB, free: 90.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.5941, allocations: 128.4 kB / 0.6729 GB, free: 90.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.5958, allocations: 2.675 MB / 0.6756 GB, free: 89.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.596, allocations: 104.2 kB / 0.6756 GB, free: 89.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005139/0.5965, allocations: 1.474 MB / 0.6771 GB, free: 89.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006006/0.5971, allocations: 1.69 MB / 0.6787 GB, free: 88.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007843/0.5979, allocations: 0.7087 MB / 0.6794 GB, free: 88.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 2.002e-05/0.5979, allocations: 301.1 kB / 0.6797 GB, free: 88.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009099/0.5988, allocations: 0.6585 MB / 0.6804 GB, free: 88.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009777/0.5998, allocations: 0.9448 MB / 0.6813 GB, free: 88.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.6019, allocations: 2.169 MB / 0.6834 GB, free: 88.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.6019, allocations: 3.25 kB / 0.6834 GB, free: 88.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.003223/0.6051, allocations: 2.78 MB / 0.6861 GB, free: 88.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6052, allocations: 5.781 kB / 0.6861 GB, free: 88.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.6052, allocations: 3.594 kB / 0.6861 GB, free: 88.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/0.608, allocations: 1.264 MB / 0.6874 GB, free: 87.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.6094, allocations: 0.6883 MB / 0.688 GB, free: 87.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.6139, allocations: 7.909 MB / 0.6958 GB, free: 82.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009841/0.6149, allocations: 89.17 kB / 0.6958 GB, free: 82.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/0.6152, allocations: 216.2 kB / 0.6961 GB, free: 82.7 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.0008577/0.616, allocations: 321.5 kB / 0.6964 GB, free: 82.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005383/0.6166, allocations: 445.3 kB / 0.6968 GB, free: 82.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.6225, allocations: 6.191 MB / 0.7028 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.832e-05/0.6226, allocations: 47.34 kB / 0.7029 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/0.6226, allocations: 10.75 kB / 0.7029 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/0.6226, allocations: 23.39 kB / 0.7029 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008257/0.6309, allocations: 6.763 MB / 0.7095 GB, free: 81.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.6309, allocations: 0 / 0.7095 GB, free: 81.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.6322, allocations: 0.6266 MB / 0.7101 GB, free: 81.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/0.6351, allocations: 1.375 MB / 0.7115 GB, free: 81.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/0.6353, allocations: 164.3 kB / 0.7116 GB, free: 81.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004359/0.6397, allocations: 7.931 MB / 0.7194 GB, free: 75.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6397, allocations: 5.312 kB / 0.7194 GB, free: 75.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004683/0.6444, allocations: 4.3 MB / 0.7236 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009597/0.6453, allocations: 0.7319 MB / 0.7243 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/0.6457, allocations: 90.31 kB / 0.7244 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009014/0.6466, allocations: 88.17 kB / 0.7245 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003612/0.647, allocations: 359 kB / 0.7248 GB, free: 74.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/0.6472, allocations: 198.5 kB / 0.725 GB, free: 74.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008921/0.6481, allocations: 1.505 MB / 0.7265 GB, free: 73.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6481, allocations: 0 / 0.7265 GB, free: 73.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002073/0.6502, allocations: 1.611 MB / 0.728 GB, free: 72.54 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.0006487/0.6509, allocations: 454.3 kB / 0.7285 GB, free: 72.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003071/0.6539, allocations: 3.078 MB / 0.7315 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/0.6539, allocations: 36 kB / 0.7315 GB, free: 69.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.6559, allocations: 2.129 MB / 0.7336 GB, free: 67.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004093/0.66, allocations: 2.249 MB / 0.7358 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009629/0.6696, allocations: 9.643 MB / 0.7452 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007596/0.6704, allocations: 1.141 MB / 0.7463 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00275/0.6731, allocations: 2.164 MB / 0.7484 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002778/0.6759, allocations: 1.505 MB / 0.7499 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/0.6759, allocations: 0 / 0.7499 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.1078/0.7837, allocations: 112.8 MB / 0.8601 GB, free: 7.406 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 -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: 6.3238780102692544]