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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0056/0.0056, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.001479/0.001479, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6424/0.6424, allocations: 89.48 MB / 380 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 75.88 kB / 0.5139 GB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1269, allocations: 67.31 MB / 0.5797 GB, free: 8.355 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.079/1.206, allocations: 0.556 GB / 1.136 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.4668/1.673, allocations: 47.76 MB / 1.182 GB, free: 332 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003417/1.676, allocations: 53 kB / 1.182 GB, free: 332 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.008574/1.685, allocations: 3.862 MB / 1.186 GB, free: 316 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.04074/1.725, allocations: 18.49 MB / 1.204 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01417/1.74, allocations: 6.379 MB / 1.21 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01035/1.75, allocations: 7.988 MB / 1.218 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/1.753, allocations: 2.597 MB / 1.221 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007512/1.761, allocations: 4.064 MB / 1.225 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006197/1.767, allocations: 3.647 MB / 1.228 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001337/1.768, allocations: 0.5943 MB / 1.229 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06008/1.829, allocations: 36.04 MB / 1.264 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003336/1.832, allocations: 1.853 MB / 1.266 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005645/1.838, allocations: 3.011 MB / 1.269 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.05342/1.891, allocations: 21.91 MB / 1.29 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.891, allocations: 0 / 1.29 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/1.891, allocations: 0 / 1.29 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000175/1.891, allocations: 0 / 1.29 GB, free: 4.473 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: 1130 * Number of variables: 1130 Notification: Performance of Generate backend data structure: time 0.02391/1.915, allocations: 9.301 MB / 1.299 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.915, allocations: 8.031 kB / 1.299 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008645/1.916, allocations: 0.5874 MB / 1.3 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/1.917, allocations: 0.56 MB / 1.3 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003868/1.921, allocations: 2.517 MB / 1.303 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/1.922, allocations: 318 kB / 1.303 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006308/1.922, allocations: 443.7 kB / 1.304 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/1.933, allocations: 7.229 MB / 1.311 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-05/1.933, allocations: 3.984 kB / 1.311 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003703/1.933, allocations: 173.2 kB / 1.311 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004923/1.934, allocations: 406.7 kB / 1.311 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/1.946, allocations: 8.223 MB / 1.319 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0373/1.984, allocations: 27.28 MB / 1.346 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007194/1.991, allocations: 4.258 MB / 1.35 GB, free: 9.965 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005206/1.996, allocations: 3.535 MB / 1.353 GB, free: 6.426 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007358/2.004, allocations: 8.105 MB / 1.361 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.82e-05/2.004, allocations: 91.56 kB / 1.361 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=475): time 1.016e-05/2.004, allocations: 0 / 1.361 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=479): time 0.03823/2.042, allocations: 19.84 MB / 1.381 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/2.042, allocations: 125.1 kB / 1.381 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/2.045, allocations: 2.121 MB / 1.383 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005589/2.046, allocations: 103.6 kB / 1.383 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001262/2.047, allocations: 1.548 MB / 1.385 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001689/2.049, allocations: 1.675 MB / 1.386 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/2.05, allocations: 0.7495 MB / 1.387 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001297/2.05, allocations: 305.1 kB / 1.387 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0041/2.054, allocations: 2.545 MB / 1.39 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004585/2.059, allocations: 2.815 MB / 1.393 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00947/2.068, allocations: 5.792 MB / 1.398 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/2.068, allocations: 0 / 1.398 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.01405/2.083, allocations: 7.423 MB / 1.405 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/2.083, allocations: 7.938 kB / 1.405 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/2.083, allocations: 0 / 1.405 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006965/2.09, allocations: 1.75 MB / 1.407 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/2.093, allocations: 0.707 MB / 1.408 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/2.109, allocations: 12.22 MB / 1.42 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/2.112, allocations: 112.2 kB / 1.42 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008144/2.112, allocations: 271.9 kB / 1.42 GB, free: 15.82 MB / 0.9981 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 {(2,4), (2,4), (2,4), (1,5), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002478/2.115, allocations: 1.124 MB / 1.421 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/2.116, allocations: 361.7 kB / 1.422 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0199/2.136, allocations: 10.96 MB / 1.432 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001153/2.136, allocations: 52 kB / 1.432 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-05/2.136, allocations: 8 kB / 1.432 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.433e-05/2.136, allocations: 27.91 kB / 1.432 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02681/2.163, allocations: 14.83 MB / 1.447 GB, free: 4.695 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/2.163, allocations: 4 kB / 1.447 GB, free: 4.691 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/2.166, allocations: 0.6908 MB / 1.448 GB, free: 4.035 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007061/2.173, allocations: 1.784 MB / 1.449 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007641/2.174, allocations: 179.7 kB / 1.449 GB, free: 2.059 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01548/2.189, allocations: 12.22 MB / 1.461 GB, free: 5.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/2.189, allocations: 4 kB / 1.461 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02074/2.21, allocations: 11.63 MB / 1.473 GB, free: 9.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/2.211, allocations: 422.6 kB / 1.473 GB, free: 9.406 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006684/2.212, allocations: 91.67 kB / 1.473 GB, free: 9.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/2.213, allocations: 107.5 kB / 1.473 GB, free: 9.219 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007816/2.214, allocations: 368.3 kB / 1.474 GB, free: 8.863 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005858/2.215, allocations: 254.6 kB / 1.474 GB, free: 8.617 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00236/2.217, allocations: 1.549 MB / 1.475 GB, free: 7.059 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/2.217, allocations: 4 kB / 1.475 GB, free: 7.055 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.01008/2.227, allocations: 3.52 MB / 1.479 GB, free: 3.535 MB / 1.045 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 {(1,5), (2,4), (2,4), (1,5), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03039/2.258, allocations: 16.34 MB / 1.495 GB, free: 3.543 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01341/2.271, allocations: 7.15 MB / 1.502 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/2.271, allocations: 0 / 1.502 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007525/2.279, allocations: 4.175 MB / 1.506 GB, free: 8.312 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007058/2.286, allocations: 1.539 MB / 1.507 GB, free: 6.852 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3226/2.608, allocations: 40.9 MB / 1.547 GB, free: 0.6059 GB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00251/2.611, allocations: 2.935 MB / 1.55 GB, free: 0.6052 GB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.005755/2.617, allocations: 2.758 MB / 1.553 GB, free: 0.6051 GB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002715/2.619, allocations: 2.013 MB / 1.555 GB, free: 0.6051 GB / 1.107 GB Notification: Performance of SimCode: time 7.01e-07/2.619, allocations: 0 / 1.555 GB, free: 0.6051 GB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2186/2.838, allocations: 186.2 MB / 1.737 GB, free: 484 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.38/26.22, allocations: 11.78 kB / 1.737 GB, free: 484 MB / 1.107 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology.fmu > 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