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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6212/0.6212, allocations: 94.58 MB / 399.1 MB, free: 15.8 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002382/0.002382, allocations: 79.88 kB / 0.5448 GB, free: 12.06 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3883, allocations: 71.84 MB / 0.615 GB, free: 4.102 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.014/1.403, allocations: 0.5626 GB / 1.178 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6025/2.005, allocations: 48.77 MB / 1.225 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004631/2.01, allocations: 223 kB / 1.225 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01096/2.021, allocations: 4.117 MB / 1.229 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.05165/2.072, allocations: 19.11 MB / 1.248 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.02179/2.094, allocations: 6.481 MB / 1.254 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01658/2.111, allocations: 9.242 MB / 1.263 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004671/2.115, allocations: 1.374 MB / 1.265 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01335/2.129, allocations: 4.696 MB / 1.269 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009312/2.138, allocations: 4.02 MB / 1.273 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002942/2.141, allocations: 0.6015 MB / 1.274 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07735/2.218, allocations: 37.28 MB / 1.31 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004918/2.223, allocations: 1.957 MB / 1.312 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.01028/2.233, allocations: 3.345 MB / 1.315 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.07439/2.308, allocations: 23.03 MB / 1.338 GB, free: 320 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/2.308, allocations: 0 / 1.338 GB, free: 320 kB / 0.8731 GB Notification: Performance of FrontEnd: time 1.443e-06/2.308, allocations: 3.938 kB / 1.338 GB, free: 316 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002749/2.308, allocations: 3.984 kB / 1.338 GB, free: 312 kB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1158 * Number of variables: 1158 Notification: Performance of Generate backend data structure: time 0.03077/2.339, allocations: 10.36 MB / 1.348 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/2.339, allocations: 12.02 kB / 1.348 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/2.342, allocations: 0.6871 MB / 1.349 GB, free: 6.391 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/2.352, allocations: 4.465 MB / 1.353 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004201/2.353, allocations: 325.2 kB / 1.353 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/2.355, allocations: 447 kB / 1.354 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01744/2.372, allocations: 7.332 MB / 1.361 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.947e-05/2.372, allocations: 0 / 1.361 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005137/2.373, allocations: 189 kB / 1.361 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005924/2.373, allocations: 412.8 kB / 1.362 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/2.389, allocations: 8.303 MB / 1.37 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04922/2.438, allocations: 30.96 MB / 1.4 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/2.446, allocations: 3.967 MB / 1.404 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00555/2.451, allocations: 3.16 MB / 1.407 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008176/2.459, allocations: 8.107 MB / 1.415 GB, free: 252 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/2.459, allocations: 89.5 kB / 1.415 GB, free: 156 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=476): time 2.033e-05/2.459, allocations: 0 / 1.415 GB, free: 156 kB / 0.9512 GB Notification: Performance of matching and sorting (n=480): time 0.04738/2.507, allocations: 20.54 MB / 1.435 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/2.507, allocations: 133 kB / 1.435 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005643/2.513, allocations: 3.244 MB / 1.438 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/2.514, allocations: 106.4 kB / 1.438 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/2.516, allocations: 2.095 MB / 1.44 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002828/2.518, allocations: 1.68 MB / 1.442 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001875/2.52, allocations: 0.7496 MB / 1.443 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000136/2.52, allocations: 301.1 kB / 1.443 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004833/2.525, allocations: 2.553 MB / 1.446 GB, free: 484 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005502/2.531, allocations: 2.811 MB / 1.448 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/2.542, allocations: 5.792 MB / 1.454 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/2.542, allocations: 0 / 1.454 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01607/2.558, allocations: 7.371 MB / 1.461 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/2.558, allocations: 4 kB / 1.461 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/2.558, allocations: 4 kB / 1.461 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007329/2.565, allocations: 1.753 MB / 1.463 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/2.569, allocations: 0.7058 MB / 1.464 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/2.586, allocations: 12.2 MB / 1.475 GB, free: 1.496 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/2.589, allocations: 111.4 kB / 1.476 GB, free: 1.391 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009235/2.59, allocations: 263.5 kB / 1.476 GB, free: 1.137 MB / 1.014 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 (404): * Single equations (assignments): 367 * 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), (1,5), (1,5), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.003091/2.593, allocations: 1.291 MB / 1.477 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/2.594, allocations: 496.8 kB / 1.478 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02382/2.618, allocations: 11 MB / 1.488 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002401/2.619, allocations: 48 kB / 1.488 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.595e-05/2.619, allocations: 15.94 kB / 1.488 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001394/2.619, allocations: 23.91 kB / 1.488 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/2.653, allocations: 15.23 MB / 1.503 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/2.653, allocations: 0 / 1.503 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003047/2.656, allocations: 0.6906 MB / 1.504 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007283/2.663, allocations: 1.778 MB / 1.506 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009978/2.664, allocations: 183.9 kB / 1.506 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/2.68, allocations: 12.23 MB / 1.518 GB, free: 6.043 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/2.68, allocations: 0 / 1.518 GB, free: 6.043 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02366/2.704, allocations: 11.78 MB / 1.529 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/2.706, allocations: 0.5173 MB / 1.53 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001524/2.707, allocations: 97.55 kB / 1.53 GB, free: 9.625 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/2.71, allocations: 109.4 kB / 1.53 GB, free: 9.523 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009969/2.711, allocations: 365.5 kB / 1.53 GB, free: 9.168 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006938/2.711, allocations: 254.2 kB / 1.531 GB, free: 8.922 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.004149/2.716, allocations: 2.319 MB / 1.533 GB, free: 6.598 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.51e-07/2.716, allocations: 0 / 1.533 GB, free: 6.598 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.01319/2.729, allocations: 3.563 MB / 1.536 GB, free: 3.035 MB / 1.076 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 (400): * Single equations (assignments): 363 * 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), (2,4), (1,5), (2,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01324/2.742, allocations: 4.063 MB / 1.54 GB, free: 15.32 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01535/2.757, allocations: 6.767 MB / 1.547 GB, free: 8.586 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/2.757, allocations: 4 kB / 1.547 GB, free: 8.582 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.009252/2.767, allocations: 3.898 MB / 1.551 GB, free: 4.75 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009409/2.776, allocations: 1.629 MB / 1.552 GB, free: 3.199 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/2.799, allocations: 11.58 MB / 1.564 GB, free: 7.613 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003877/2.803, allocations: 3.32 MB / 1.567 GB, free: 4.258 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.007132/2.81, allocations: 2.901 MB / 1.57 GB, free: 1.5 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/2.812, allocations: 0.5031 MB / 1.57 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of SimCode: time 1.292e-06/2.812, allocations: 0 / 1.57 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of Templates: time 0.5013/3.313, allocations: 151.7 MB / 1.718 GB, free: 0.5262 GB / 1.123 GB " [Timeout remaining time 657] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.863765611313283]