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.001605/0.001605, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6517/0.6517, allocations: 91.21 MB / 381.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 81.7 kB / 460.4 MB, free: 23.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1266, allocations: 67.7 MB / 0.5157 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.108/1.234, allocations: 0.5571 GB / 1.073 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.4792/1.714, allocations: 48.26 MB / 1.12 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004494/1.718, allocations: 217.8 kB / 1.12 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.009095/1.727, allocations: 3.943 MB / 1.124 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.04531/1.773, allocations: 18.79 MB / 1.142 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01479/1.788, allocations: 6.421 MB / 1.149 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01284/1.8, allocations: 9.13 MB / 1.158 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004337/1.805, allocations: 2.724 MB / 1.16 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009863/1.815, allocations: 4.519 MB / 1.165 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007423/1.822, allocations: 3.838 MB / 1.168 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002359/1.825, allocations: 0.5997 MB / 1.169 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06424/1.889, allocations: 36 MB / 1.204 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003488/1.892, allocations: 1.93 MB / 1.206 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.006653/1.899, allocations: 3.334 MB / 1.209 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.05379/1.953, allocations: 22.64 MB / 1.231 GB, free: 6.02 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.953, allocations: 0 / 1.231 GB, free: 6.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.513e-06/1.953, allocations: 3.938 kB / 1.231 GB, free: 6.016 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001748/1.953, allocations: 0 / 1.231 GB, free: 6.016 MB / 0.795 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.02461/1.978, allocations: 9.977 MB / 1.241 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.978, allocations: 8.031 kB / 1.241 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001512/1.979, allocations: 0.6009 MB / 1.242 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/1.981, allocations: 0.6484 MB / 1.242 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007631/1.989, allocations: 4.02 MB / 1.246 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/1.989, allocations: 326.7 kB / 1.247 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/1.991, allocations: 443.2 kB / 1.247 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/2.006, allocations: 7.336 MB / 1.254 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/2.006, allocations: 0 / 1.254 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009405/2.007, allocations: 176.8 kB / 1.254 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005473/2.008, allocations: 417.7 kB / 1.255 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/2.021, allocations: 8.304 MB / 1.263 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04478/2.066, allocations: 31.1 MB / 1.293 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008089/2.074, allocations: 4.341 MB / 1.297 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00607/2.08, allocations: 3.532 MB / 1.301 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007015/2.088, allocations: 8.109 MB / 1.309 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/2.088, allocations: 85.41 kB / 1.309 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=476): time 2.296e-05/2.088, allocations: 0 / 1.309 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of matching and sorting (n=480): time 0.04788/2.136, allocations: 20.43 MB / 1.329 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/2.136, allocations: 129.1 kB / 1.329 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005166/2.141, allocations: 3.206 MB / 1.332 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0008765/2.142, allocations: 103.7 kB / 1.332 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001625/2.143, allocations: 2.053 MB / 1.334 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.002034/2.145, allocations: 1.603 MB / 1.336 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002489/2.148, allocations: 0.7424 MB / 1.337 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/2.148, allocations: 305.1 kB / 1.337 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004399/2.152, allocations: 2.557 MB / 1.339 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004972/2.157, allocations: 2.818 MB / 1.342 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/2.169, allocations: 5.789 MB / 1.348 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/2.169, allocations: 3.938 kB / 1.348 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01672/2.185, allocations: 7.381 MB / 1.355 GB, free: 9.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/2.185, allocations: 10.34 kB / 1.355 GB, free: 9.473 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/2.185, allocations: 0 / 1.355 GB, free: 9.473 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007398/2.193, allocations: 1.766 MB / 1.357 GB, free: 7.688 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/2.196, allocations: 0.7045 MB / 1.357 GB, free: 7.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/2.211, allocations: 12.2 MB / 1.369 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/2.214, allocations: 113 kB / 1.369 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/2.215, allocations: 267.1 kB / 1.37 GB, free: 10.09 MB / 0.9356 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.003302/2.219, allocations: 1.278 MB / 1.371 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/2.22, allocations: 466.1 kB / 1.371 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02231/2.243, allocations: 11.05 MB / 1.382 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001538/2.243, allocations: 52 kB / 1.382 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.024e-05/2.243, allocations: 11.98 kB / 1.382 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.028e-05/2.243, allocations: 23.92 kB / 1.382 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03272/2.276, allocations: 15.32 MB / 1.397 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/2.276, allocations: 0 / 1.397 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003118/2.279, allocations: 0.6837 MB / 1.398 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00753/2.287, allocations: 1.79 MB / 1.4 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001122/2.288, allocations: 181.3 kB / 1.4 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/2.302, allocations: 12.24 MB / 1.412 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/2.302, allocations: 4 kB / 1.412 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02355/2.326, allocations: 11.79 MB / 1.423 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/2.327, allocations: 499 kB / 1.424 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001496/2.329, allocations: 100.5 kB / 1.424 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00292/2.332, allocations: 109.1 kB / 1.424 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/2.333, allocations: 364.6 kB / 1.424 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009091/2.334, allocations: 257.5 kB / 1.424 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00461/2.338, allocations: 2.287 MB / 1.427 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.41e-07/2.338, allocations: 0 / 1.427 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0122/2.351, allocations: 3.519 MB / 1.43 GB, free: 12 MB / 0.9981 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.03193/2.383, allocations: 16.47 MB / 1.446 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02347/2.406, allocations: 9.688 MB / 1.456 GB, free: 2.246 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/2.406, allocations: 0 / 1.456 GB, free: 2.246 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008152/2.414, allocations: 4.211 MB / 1.46 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00829/2.423, allocations: 1.633 MB / 1.461 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3261/2.749, allocations: 56.24 MB / 1.516 GB, free: 0.5929 GB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002935/2.752, allocations: 3.323 MB / 1.52 GB, free: 0.5918 GB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.006257/2.758, allocations: 2.901 MB / 1.522 GB, free: 0.5917 GB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004/2.762, allocations: 2.514 MB / 1.525 GB, free: 0.5898 GB / 1.045 GB Notification: Performance of SimCode: time 1.232e-06/2.762, allocations: 3.781 kB / 1.525 GB, free: 0.5898 GB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.255/3.017, allocations: 200 MB / 1.72 GB, free: 433.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.02/25.04, allocations: 3.797 kB / 1.72 GB, free: 433.9 MB / 1.045 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