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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001548, allocations: 115.2 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6694/0.6694, allocations: 91.19 MB / 382.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 79.89 kB / 0.5175 GB, free: 4.094 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2795, allocations: 67.69 MB / 0.5836 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.185/1.464, allocations: 0.5571 GB / 1.141 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.04785/1.512, allocations: 48.28 MB / 1.188 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004198/1.517, allocations: 219.2 kB / 1.188 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.008899/1.525, allocations: 4.105 MB / 1.192 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.04952/1.575, allocations: 19.05 MB / 1.211 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01705/1.592, allocations: 6.447 MB / 1.217 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01294/1.605, allocations: 9.154 MB / 1.226 GB, free: 2.141 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004813/1.61, allocations: 2.718 MB / 1.229 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009168/1.619, allocations: 4.646 MB / 1.233 GB, free: 11 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006156/1.625, allocations: 3.83 MB / 1.237 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002237/1.628, allocations: 0.6016 MB / 1.237 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06469/1.692, allocations: 36.09 MB / 1.273 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002885/1.695, allocations: 1.932 MB / 1.275 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005734/1.701, allocations: 3.329 MB / 1.278 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.05113/1.752, allocations: 22.88 MB / 1.3 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.752, allocations: 0 / 1.3 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.443e-06/1.752, allocations: 0 / 1.3 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002566/1.752, allocations: 3.938 kB / 1.3 GB, free: 10.48 MB / 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.02533/1.778, allocations: 9.982 MB / 1.31 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.778, allocations: 8.031 kB / 1.31 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/1.779, allocations: 0.6485 MB / 1.311 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008915/1.788, allocations: 4.38 MB / 1.315 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/1.789, allocations: 329.5 kB / 1.315 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008855/1.789, allocations: 439.8 kB / 1.316 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/1.802, allocations: 7.33 MB / 1.323 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.327e-05/1.802, allocations: 11.94 kB / 1.323 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004325/1.803, allocations: 172.5 kB / 1.323 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005192/1.803, allocations: 416.8 kB / 1.323 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/1.816, allocations: 8.297 MB / 1.331 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04503/1.861, allocations: 30.91 MB / 1.362 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006954/1.868, allocations: 4.346 MB / 1.366 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004824/1.873, allocations: 3.531 MB / 1.369 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005941/1.879, allocations: 8.114 MB / 1.377 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/1.879, allocations: 86.55 kB / 1.377 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=476): time 1.114e-05/1.879, allocations: 0 / 1.377 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of matching and sorting (n=480): time 0.2979/2.177, allocations: 20.42 MB / 1.397 GB, free: 481.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/2.177, allocations: 128.6 kB / 1.397 GB, free: 481.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/2.181, allocations: 3.203 MB / 1.401 GB, free: 480.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0006287/2.181, allocations: 103.5 kB / 1.401 GB, free: 480.6 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/2.182, allocations: 2.052 MB / 1.403 GB, free: 479 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001171/2.184, allocations: 1.597 MB / 1.404 GB, free: 477.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/2.185, allocations: 0.754 MB / 1.405 GB, free: 477.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 3.827e-05/2.185, allocations: 301.1 kB / 1.405 GB, free: 477.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003214/2.188, allocations: 2.553 MB / 1.408 GB, free: 476.1 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003562/2.192, allocations: 2.817 MB / 1.41 GB, free: 475 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007226/2.199, allocations: 5.787 MB / 1.416 GB, free: 472.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/2.199, allocations: 4.812 kB / 1.416 GB, free: 472.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01057/2.209, allocations: 7.385 MB / 1.423 GB, free: 469.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/2.21, allocations: 3.938 kB / 1.423 GB, free: 469.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/2.21, allocations: 3.938 kB / 1.423 GB, free: 469.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006287/2.216, allocations: 1.744 MB / 1.425 GB, free: 468.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/2.218, allocations: 0.7176 MB / 1.426 GB, free: 468.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/2.23, allocations: 12.19 MB / 1.438 GB, free: 459.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/2.233, allocations: 121.2 kB / 1.438 GB, free: 459.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005869/2.233, allocations: 256.5 kB / 1.438 GB, free: 459.8 MB / 0.9512 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.002245/2.235, allocations: 1.276 MB / 1.439 GB, free: 459.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/2.237, allocations: 465.2 kB / 1.44 GB, free: 458.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/2.252, allocations: 11.04 MB / 1.45 GB, free: 453.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.65e-05/2.252, allocations: 19.92 kB / 1.45 GB, free: 453.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/2.252, allocations: 0 / 1.45 GB, free: 453.2 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/2.253, allocations: 0.4886 MB / 1.451 GB, free: 452.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006977/2.254, allocations: 97.61 kB / 1.451 GB, free: 452.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/2.256, allocations: 107.6 kB / 1.451 GB, free: 452.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/2.256, allocations: 399.5 kB / 1.452 GB, free: 452.5 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01381/2.27, allocations: 7.97 MB / 1.459 GB, free: 445.1 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01347/2.284, allocations: 10.91 MB / 1.47 GB, free: 434.1 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003784/2.288, allocations: 3.181 MB / 1.473 GB, free: 430.9 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002779/2.29, allocations: 2.274 MB / 1.475 GB, free: 428.7 MB / 0.9512 GB Notification: Performance of Backend: time 3.91e-07/2.29, allocations: 0 / 1.475 GB, free: 428.7 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02756/2.318, allocations: 11.73 MB / 1.487 GB, free: 418.7 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01442/2.332, allocations: 10.77 MB / 1.497 GB, free: 408.2 MB / 0.9512 GB Notification: Performance of Templates: time 0.2393/2.572, allocations: 215.9 MB / 1.708 GB, free: 193 MB / 0.9512 GB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile (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 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) 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) Reference file matches