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.001651/0.001651, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.00188/0.00188, allocations: 159.4 kB / 23.01 MB, free: 4.598 MB / 14.72 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 1.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7295/0.7295, allocations: 74.91 MB / 334.7 MB, free: 15.54 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_ThermofluidStream.Topology.Tests.TestDynamicTopology") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 86.19 kB / 496.4 MB, free: 29.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1197, allocations: 73.03 MB / 0.5561 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.373/1.493, allocations: 0.4945 GB / 1.051 GB, free: 288 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05135/1.544, allocations: 43.95 MB / 1.093 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005132/1.549, allocations: 310.5 kB / 1.094 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.009033/1.559, allocations: 3.46 MB / 1.097 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0477/1.606, allocations: 18.87 MB / 1.116 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0196/1.626, allocations: 6.611 MB / 1.122 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01434/1.64, allocations: 9.264 MB / 1.131 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003821/1.644, allocations: 1.346 MB / 1.132 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01145/1.655, allocations: 4.828 MB / 1.137 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007822/1.663, allocations: 3.832 MB / 1.141 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002374/1.666, allocations: 0.5984 MB / 1.141 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06398/1.73, allocations: 29.56 MB / 1.17 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003838/1.733, allocations: 1.957 MB / 1.172 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.007092/1.741, allocations: 2.686 MB / 1.175 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.05675/1.797, allocations: 22.08 MB / 1.196 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.797, allocations: 4 kB / 1.196 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/1.797, allocations: 0 / 1.196 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002972/1.798, allocations: 0 / 1.196 GB, free: 13.21 MB / 0.8575 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.02908/1.827, allocations: 10.26 MB / 1.206 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.827, allocations: 12.03 kB / 1.206 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003769/1.83, allocations: 0.7417 MB / 1.207 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/1.841, allocations: 4.331 MB / 1.211 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003794/1.842, allocations: 327.2 kB / 1.212 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/1.843, allocations: 444.4 kB / 1.212 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/1.861, allocations: 7.414 MB / 1.219 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/1.861, allocations: 4 kB / 1.219 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001116/1.862, allocations: 172.3 kB / 1.22 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006479/1.863, allocations: 416.8 kB / 1.22 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/1.88, allocations: 8.415 MB / 1.228 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04698/1.927, allocations: 18.74 MB / 1.246 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008449/1.935, allocations: 3.94 MB / 1.25 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006335/1.942, allocations: 3.161 MB / 1.253 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003835/1.945, allocations: 1.075 MB / 1.254 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/1.946, allocations: 78.56 kB / 1.254 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=476): time 1.781e-05/1.946, allocations: 0 / 1.254 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of matching and sorting (n=480): time 0.05084/1.996, allocations: 19.35 MB / 1.273 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.996, allocations: 129.1 kB / 1.274 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005379/2.002, allocations: 2.936 MB / 1.276 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.001145/2.003, allocations: 108.7 kB / 1.276 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002376/2.005, allocations: 2.116 MB / 1.279 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.002671/2.008, allocations: 1.678 MB / 1.28 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003004/2.011, allocations: 0.7438 MB / 1.281 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001551/2.011, allocations: 301.1 kB / 1.281 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005252/2.016, allocations: 2.558 MB / 1.284 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006076/2.023, allocations: 2.811 MB / 1.286 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/2.034, allocations: 5.785 MB / 1.292 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/2.034, allocations: 4 kB / 1.292 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.0182/2.053, allocations: 7.335 MB / 1.299 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/2.053, allocations: 11.94 kB / 1.299 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/2.053, allocations: 0 / 1.299 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007632/2.06, allocations: 1.747 MB / 1.301 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003486/2.064, allocations: 0.7022 MB / 1.302 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/2.081, allocations: 11.78 MB / 1.313 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/2.084, allocations: 112.2 kB / 1.313 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/2.085, allocations: 266.5 kB / 1.314 GB, free: 5.043 MB / 0.9669 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.004241/2.09, allocations: 1.283 MB / 1.315 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001956/2.092, allocations: 461 kB / 1.315 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02711/2.119, allocations: 10.96 MB / 1.326 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002172/2.119, allocations: 48 kB / 1.326 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.142e-05/2.119, allocations: 12 kB / 1.326 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001452/2.119, allocations: 19.92 kB / 1.326 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03493/2.154, allocations: 13.64 MB / 1.339 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.776e-05/2.154, allocations: 8 kB / 1.339 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003295/2.157, allocations: 0.667 MB / 1.34 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007825/2.165, allocations: 1.785 MB / 1.342 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001094/2.166, allocations: 180.5 kB / 1.342 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/2.184, allocations: 11.79 MB / 1.353 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/2.184, allocations: 0 / 1.353 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02649/2.21, allocations: 11.67 MB / 1.365 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/2.212, allocations: 412.9 kB / 1.365 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/2.213, allocations: 94.55 kB / 1.365 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/2.216, allocations: 112.2 kB / 1.365 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001273/2.217, allocations: 379.2 kB / 1.366 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001116/2.219, allocations: 250.9 kB / 1.366 GB, free: 15.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.004116/2.223, allocations: 2.08 MB / 1.368 GB, free: 12.94 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/2.223, allocations: 0 / 1.368 GB, free: 12.94 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01185/2.234, allocations: 3.492 MB / 1.371 GB, free: 9.449 MB / 1.029 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 (390): * Single equations (assignments): 353 * 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.01122/2.246, allocations: 3.963 MB / 1.375 GB, free: 5.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.298/2.544, allocations: 6.753 MB / 1.382 GB, free: 0.5278 GB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/2.544, allocations: 0 / 1.382 GB, free: 0.5278 GB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.008188/2.552, allocations: 3.875 MB / 1.386 GB, free: 0.5275 GB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007919/2.56, allocations: 1.501 MB / 1.387 GB, free: 0.5273 GB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/2.583, allocations: 11.51 MB / 1.398 GB, free: 0.5234 GB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003817/2.587, allocations: 2.822 MB / 1.401 GB, free: 0.5228 GB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.006399/2.594, allocations: 2.852 MB / 1.404 GB, free: 0.5226 GB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/2.596, allocations: 492.9 kB / 1.404 GB, free: 0.5226 GB / 1.029 GB Notification: Performance of SimCode: time 1.904e-06/2.596, allocations: 0 / 1.404 GB, free: 0.5226 GB / 1.029 GB Notification: Performance of Templates: time 0.1756/2.771, allocations: 143.6 MB / 1.545 GB, free: 409.4 MB / 1.029 GB " [Timeout remaining time 657] 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=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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.44620073295664]