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: "" <> 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.004284/0.004284, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001037/0.001037, allocations: 199 kB / 16.67 MB, free: 5.965 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.244/1.244, 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-main/package.mo): time 0.6281/0.6281, allocations: 91.19 MB / 381.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 79.88 kB / 0.5164 GB, free: 9.488 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1209, allocations: 67.69 MB / 0.5825 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.169/1.29, allocations: 0.5571 GB / 1.14 GB, free: 432 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.5298/1.82, allocations: 48.25 MB / 1.187 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005297/1.825, allocations: 217.1 kB / 1.187 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.009336/1.835, allocations: 3.936 MB / 1.191 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.04647/1.881, allocations: 18.8 MB / 1.209 GB, free: 20 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0172/1.898, allocations: 6.418 MB / 1.215 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01345/1.912, allocations: 9.147 MB / 1.224 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003734/1.916, allocations: 2.722 MB / 1.227 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009835/1.925, allocations: 4.63 MB / 1.232 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007144/1.933, allocations: 3.835 MB / 1.235 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001555/1.934, allocations: 0.6003 MB / 1.236 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06212/1.996, allocations: 36.04 MB / 1.271 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003208/2, allocations: 1.929 MB / 1.273 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006844/2.006, allocations: 3.338 MB / 1.276 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.05349/2.06, allocations: 22.88 MB / 1.299 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/2.06, allocations: 3.188 kB / 1.299 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.653e-06/2.06, allocations: 0 / 1.299 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002412/2.06, allocations: 0 / 1.299 GB, free: 15.57 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.02613/2.086, allocations: 9.979 MB / 1.308 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/2.087, allocations: 8.031 kB / 1.308 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00128/2.088, allocations: 0.6002 MB / 1.309 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/2.089, allocations: 0.6504 MB / 1.31 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008436/2.098, allocations: 4.377 MB / 1.314 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/2.098, allocations: 329.2 kB / 1.314 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000841/2.099, allocations: 448.8 kB / 1.315 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/2.11, allocations: 7.331 MB / 1.322 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.999e-05/2.11, allocations: 3.188 kB / 1.322 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/2.111, allocations: 180.2 kB / 1.322 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004763/2.111, allocations: 412.8 kB / 1.322 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/2.122, allocations: 8.3 MB / 1.33 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04408/2.166, allocations: 30.91 MB / 1.361 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007567/2.174, allocations: 4.334 MB / 1.365 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005108/2.179, allocations: 3.535 MB / 1.368 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006734/2.186, allocations: 8.113 MB / 1.376 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.83e-05/2.186, allocations: 78.56 kB / 1.376 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=476): time 1.345e-05/2.186, allocations: 0 / 1.376 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=480): time 0.04333/2.229, allocations: 20.41 MB / 1.396 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/2.229, allocations: 129.1 kB / 1.396 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004404/2.234, allocations: 3.21 MB / 1.399 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0007485/2.235, allocations: 105.4 kB / 1.4 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/2.236, allocations: 2.044 MB / 1.402 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001663/2.238, allocations: 1.602 MB / 1.403 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/2.239, allocations: 0.7456 MB / 1.404 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/2.239, allocations: 301.1 kB / 1.404 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003743/2.243, allocations: 2.558 MB / 1.407 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00428/2.247, allocations: 2.818 MB / 1.409 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008787/2.256, allocations: 5.789 MB / 1.415 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/2.256, allocations: 0 / 1.415 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.0124/2.268, allocations: 7.381 MB / 1.422 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/2.268, allocations: 11.94 kB / 1.422 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/2.269, allocations: 7.984 kB / 1.422 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006527/2.275, allocations: 1.753 MB / 1.424 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/2.278, allocations: 0.7109 MB / 1.425 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/2.292, allocations: 12.2 MB / 1.437 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/2.295, allocations: 107.4 kB / 1.437 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008573/2.296, allocations: 270.1 kB / 1.437 GB, free: 152 kB / 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 {(1,5), (2,4), (1,5), (1,5), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002686/2.298, allocations: 1.277 MB / 1.438 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/2.3, allocations: 462.2 kB / 1.439 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/2.318, allocations: 11.04 MB / 1.449 GB, free: 3.559 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/2.318, allocations: 51.94 kB / 1.449 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.082e-05/2.318, allocations: 8 kB / 1.449 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.726e-05/2.318, allocations: 23.91 kB / 1.449 GB, free: 3.477 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02609/2.344, allocations: 15.26 MB / 1.464 GB, free: 4.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/2.344, allocations: 0 / 1.464 GB, free: 4.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/2.346, allocations: 0.6842 MB / 1.465 GB, free: 3.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006525/2.353, allocations: 1.787 MB / 1.467 GB, free: 1.812 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005751/2.354, allocations: 185.8 kB / 1.467 GB, free: 1.637 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/2.367, allocations: 12.22 MB / 1.479 GB, free: 5.051 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/2.367, allocations: 4 kB / 1.479 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/2.385, allocations: 11.79 MB / 1.49 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/2.386, allocations: 0.4913 MB / 1.491 GB, free: 8.734 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000647/2.387, allocations: 87.05 kB / 1.491 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/2.389, allocations: 119 kB / 1.491 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006871/2.389, allocations: 363.5 kB / 1.491 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005504/2.39, allocations: 263.8 kB / 1.492 GB, free: 7.934 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003096/2.393, allocations: 2.29 MB / 1.494 GB, free: 5.637 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.4e-07/2.393, allocations: 0 / 1.494 GB, free: 5.637 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.008756/2.402, allocations: 3.511 MB / 1.497 GB, free: 2.133 MB / 1.061 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.0272/2.429, allocations: 16.47 MB / 1.513 GB, free: 2.008 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01232/2.441, allocations: 7.12 MB / 1.52 GB, free: 10.92 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/2.441, allocations: 0 / 1.52 GB, free: 10.92 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007097/2.449, allocations: 4.207 MB / 1.525 GB, free: 6.777 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007496/2.456, allocations: 1.628 MB / 1.526 GB, free: 5.223 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3418/2.798, allocations: 45.21 MB / 1.57 GB, free: 0.5986 GB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003245/2.801, allocations: 3.318 MB / 1.574 GB, free: 0.5976 GB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.006261/2.807, allocations: 2.889 MB / 1.576 GB, free: 0.5975 GB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003014/2.81, allocations: 2.517 MB / 1.579 GB, free: 0.5956 GB / 1.107 GB Notification: Performance of SimCode: time 1.843e-06/2.81, allocations: 0 / 1.579 GB, free: 0.5956 GB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2294/3.04, allocations: 201.6 MB / 1.776 GB, free: 445.1 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.84/27.88, allocations: 11.86 kB / 1.776 GB, free: 445.1 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