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.001567/0.001567, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001777/0.001777, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.8226/0.8226, allocations: 100.9 MB / 414.1 MB, free: 2.875 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: 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.00258/0.00258, allocations: 83.59 kB / 0.5653 GB, free: 35.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1423, allocations: 74.62 MB / 0.6382 GB, free: 5.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.484/1.627, allocations: 0.4944 GB / 1.133 GB, free: 208 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05645/1.683, allocations: 43.97 MB / 1.176 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006106/1.689, allocations: 311.7 kB / 1.176 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01036/1.699, allocations: 3.455 MB / 1.179 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.05101/1.751, allocations: 18.9 MB / 1.198 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01814/1.769, allocations: 6.597 MB / 1.204 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01387/1.783, allocations: 9.308 MB / 1.213 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003/1.786, allocations: 1.345 MB / 1.215 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01131/1.797, allocations: 4.859 MB / 1.219 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008299/1.805, allocations: 3.823 MB / 1.223 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002585/1.808, allocations: 0.6043 MB / 1.224 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06875/1.876, allocations: 29.55 MB / 1.252 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004377/1.881, allocations: 1.963 MB / 1.254 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00864/1.889, allocations: 2.696 MB / 1.257 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.06416/1.954, allocations: 22.07 MB / 1.279 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.954, allocations: 0 / 1.279 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.855e-06/1.954, allocations: 0 / 1.279 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000337/1.954, allocations: 0 / 1.279 GB, free: 0.9805 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.0302/1.984, allocations: 10.25 MB / 1.289 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.984, allocations: 9.469 kB / 1.289 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/1.987, allocations: 0.7475 MB / 1.289 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/1.998, allocations: 4.333 MB / 1.294 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/1.998, allocations: 330.5 kB / 1.294 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/2, allocations: 442.2 kB / 1.294 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/2.014, allocations: 7.419 MB / 1.301 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-05/2.015, allocations: 0 / 1.301 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004561/2.015, allocations: 179.1 kB / 1.302 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005665/2.016, allocations: 416.8 kB / 1.302 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/2.03, allocations: 8.418 MB / 1.31 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04684/2.077, allocations: 18.69 MB / 1.329 GB, free: 13.95 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008833/2.086, allocations: 3.951 MB / 1.332 GB, free: 9.992 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006638/2.092, allocations: 3.16 MB / 1.335 GB, free: 6.824 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004041/2.096, allocations: 1.081 MB / 1.337 GB, free: 5.742 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/2.097, allocations: 82.5 kB / 1.337 GB, free: 5.652 MB / 0.92 GB Notification: Performance of pre-optimization done (n=476): time 1.591e-05/2.097, allocations: 4 kB / 1.337 GB, free: 5.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=480): time 0.05453/2.151, allocations: 19.35 MB / 1.356 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/2.151, allocations: 129.1 kB / 1.356 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006834/2.158, allocations: 2.933 MB / 1.358 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.001298/2.159, allocations: 106.8 kB / 1.359 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002107/2.161, allocations: 2.112 MB / 1.361 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002558/2.164, allocations: 1.686 MB / 1.362 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003107/2.167, allocations: 0.7348 MB / 1.363 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001472/2.167, allocations: 313.1 kB / 1.363 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005077/2.172, allocations: 2.549 MB / 1.366 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005707/2.178, allocations: 2.811 MB / 1.369 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/2.19, allocations: 5.793 MB / 1.374 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-05/2.19, allocations: 0.6875 kB / 1.374 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01911/2.209, allocations: 7.326 MB / 1.381 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/2.209, allocations: 4 kB / 1.381 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/2.209, allocations: 4 kB / 1.381 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007296/2.216, allocations: 1.75 MB / 1.383 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/2.22, allocations: 0.7061 MB / 1.384 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/2.235, allocations: 11.79 MB / 1.395 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/2.238, allocations: 112.8 kB / 1.395 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009893/2.239, allocations: 257.9 kB / 1.396 GB, free: 8.824 MB / 0.9825 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.00302/2.242, allocations: 1.277 MB / 1.397 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/2.244, allocations: 472.9 kB / 1.397 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02012/2.264, allocations: 10.96 MB / 1.408 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000134/2.264, allocations: 48 kB / 1.408 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-05/2.264, allocations: 15.94 kB / 1.408 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-05/2.264, allocations: 31.84 kB / 1.408 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02879/2.293, allocations: 13.62 MB / 1.421 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-05/2.293, allocations: 4.125 kB / 1.421 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002871/2.296, allocations: 0.6632 MB / 1.422 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006943/2.303, allocations: 1.777 MB / 1.424 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001039/2.304, allocations: 172.9 kB / 1.424 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.352/2.656, allocations: 11.8 MB / 1.436 GB, free: 0.5035 GB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/2.656, allocations: 5.5 kB / 1.436 GB, free: 0.5035 GB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02268/2.679, allocations: 11.67 MB / 1.447 GB, free: 0.5014 GB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/2.68, allocations: 410.5 kB / 1.447 GB, free: 0.5014 GB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/2.681, allocations: 93.77 kB / 1.447 GB, free: 0.5013 GB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/2.684, allocations: 111.2 kB / 1.448 GB, free: 0.5013 GB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009911/2.685, allocations: 372.8 kB / 1.448 GB, free: 0.5012 GB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008041/2.685, allocations: 255.2 kB / 1.448 GB, free: 0.5012 GB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004041/2.689, allocations: 2.079 MB / 1.45 GB, free: 0.5004 GB / 1.014 GB Notification: Performance of sort global known variables: time 3.01e-07/2.689, allocations: 2.406 kB / 1.45 GB, free: 0.5004 GB / 1.014 GB Notification: Performance of remove unused functions: time 0.01382/2.703, allocations: 3.489 MB / 1.454 GB, free: 0.5 GB / 1.014 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.01092/2.714, allocations: 3.96 MB / 1.457 GB, free: 0.4997 GB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01173/2.726, allocations: 6.762 MB / 1.464 GB, free: 0.4971 GB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/2.726, allocations: 3.188 kB / 1.464 GB, free: 0.4971 GB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00666/2.733, allocations: 3.871 MB / 1.468 GB, free: 0.4956 GB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007837/2.74, allocations: 1.531 MB / 1.469 GB, free: 0.4951 GB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/2.76, allocations: 11.67 MB / 1.481 GB, free: 0.4901 GB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/2.763, allocations: 2.797 MB / 1.483 GB, free: 0.4895 GB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002488/2.765, allocations: 0.5504 MB / 1.484 GB, free: 0.4893 GB / 1.014 GB Notification: Performance of SimCode: time 1.523e-06/2.765, allocations: 4 kB / 1.484 GB, free: 0.4893 GB / 1.014 GB Notification: Performance of Templates: time 0.2447/3.01, allocations: 309.9 MB / 1.787 GB, free: 194.1 MB / 1.014 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/jenkins1/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: 30.068519060965627]