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.001037/0.001037, allocations: 92 kB / 15.36 MB, free: 0.7383 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.008206/0.008206, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.576/0.576, allocations: 89.65 MB / 381.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 12.19 kB / 460.7 MB, free: 24.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1088, allocations: 68.83 MB / 0.5172 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.078/1.186, allocations: 0.5574 GB / 1.075 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4834/1.67, allocations: 48.38 MB / 1.122 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004157/1.674, allocations: 52.34 kB / 1.122 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007962/1.682, allocations: 3.61 MB / 1.125 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04008/1.722, allocations: 16.26 MB / 1.141 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01415/1.736, allocations: 5.755 MB / 1.147 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01312/1.749, allocations: 12.15 MB / 1.159 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003437/1.753, allocations: 2.27 MB / 1.161 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007205/1.76, allocations: 3.296 MB / 1.164 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00573/1.766, allocations: 3.3 MB / 1.167 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001268/1.767, allocations: 202.8 kB / 1.168 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06228/1.829, allocations: 40.16 MB / 1.207 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002597/1.832, allocations: 1.393 MB / 1.208 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004624/1.837, allocations: 2.527 MB / 1.211 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.05335/1.89, allocations: 22.74 MB / 1.233 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.89, allocations: 0 / 1.233 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.234e-06/1.89, allocations: 0 / 1.233 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001633/1.89, allocations: 0 / 1.233 GB, free: 8.348 MB / 0.7637 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.02056/1.911, allocations: 8.004 MB / 1.241 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.911, allocations: 12.02 kB / 1.241 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001416/1.912, allocations: 0.584 MB / 1.241 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/1.913, allocations: 0.5354 MB / 1.242 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/1.917, allocations: 2.502 MB / 1.244 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/1.917, allocations: 318.4 kB / 1.244 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006532/1.918, allocations: 436.4 kB / 1.245 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/1.929, allocations: 7.227 MB / 1.252 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.684e-05/1.929, allocations: 0 / 1.252 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004173/1.93, allocations: 172.3 kB / 1.252 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005321/1.93, allocations: 409.5 kB / 1.253 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/1.943, allocations: 8.225 MB / 1.261 GB, free: 15.18 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03625/1.979, allocations: 27.34 MB / 1.287 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007347/1.986, allocations: 4.259 MB / 1.291 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005629/1.992, allocations: 3.531 MB / 1.295 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007036/1.999, allocations: 8.119 MB / 1.303 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.024e-05/1.999, allocations: 90.5 kB / 1.303 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=475): time 1.312e-05/1.999, allocations: 0 / 1.303 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=479): time 0.03686/2.036, allocations: 19.79 MB / 1.322 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/2.036, allocations: 125.1 kB / 1.322 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/2.039, allocations: 2.121 MB / 1.324 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005546/2.039, allocations: 104 kB / 1.324 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/2.041, allocations: 1.521 MB / 1.326 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/2.042, allocations: 1.592 MB / 1.328 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004753/2.042, allocations: 301.6 kB / 1.328 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/2.042, allocations: 309 kB / 1.328 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003739/2.046, allocations: 2.553 MB / 1.331 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003959/2.05, allocations: 2.815 MB / 1.333 GB, free: 140 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008438/2.059, allocations: 5.786 MB / 1.339 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/2.059, allocations: 0 / 1.339 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.01268/2.071, allocations: 7.418 MB / 1.346 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/2.071, allocations: 8 kB / 1.346 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/2.071, allocations: 0 / 1.346 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007053/2.078, allocations: 1.795 MB / 1.348 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/2.082, allocations: 0.7139 MB / 1.349 GB, free: 372 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/2.095, allocations: 11.52 MB / 1.36 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/2.098, allocations: 325.2 kB / 1.36 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007155/2.099, allocations: 267.7 kB / 1.361 GB, free: 3.879 MB / 0.8887 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.002285/2.101, allocations: 1.124 MB / 1.362 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007485/2.102, allocations: 352.2 kB / 1.362 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/2.121, allocations: 10.98 MB / 1.373 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002263/2.122, allocations: 56 kB / 1.373 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.378e-05/2.122, allocations: 11.94 kB / 1.373 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/2.122, allocations: 23.91 kB / 1.373 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02728/2.149, allocations: 14.9 MB / 1.387 GB, free: 8.512 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/2.149, allocations: 4 kB / 1.387 GB, free: 8.508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/2.152, allocations: 0.6866 MB / 1.388 GB, free: 7.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006812/2.158, allocations: 1.828 MB / 1.39 GB, free: 5.969 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007913/2.159, allocations: 176.5 kB / 1.39 GB, free: 5.801 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/2.172, allocations: 11.56 MB / 1.401 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/2.172, allocations: 0 / 1.401 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2576/2.43, allocations: 11.61 MB / 1.413 GB, free: 0.5054 GB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/2.431, allocations: 428.6 kB / 1.413 GB, free: 0.5053 GB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009969/2.432, allocations: 89.64 kB / 1.413 GB, free: 0.5053 GB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/2.435, allocations: 317.9 kB / 1.413 GB, free: 0.5053 GB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008337/2.436, allocations: 365.8 kB / 1.414 GB, free: 0.5053 GB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006124/2.436, allocations: 255.8 kB / 1.414 GB, free: 0.5053 GB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002313/2.439, allocations: 1.55 MB / 1.415 GB, free: 0.5051 GB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/2.439, allocations: 0.75 kB / 1.415 GB, free: 0.5051 GB / 0.9356 GB Notification: Performance of remove unused functions: time 0.008231/2.447, allocations: 3.471 MB / 1.419 GB, free: 0.5051 GB / 0.9356 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.02551/2.472, allocations: 16.44 MB / 1.435 GB, free: 0.5015 GB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01028/2.483, allocations: 7.119 MB / 1.442 GB, free: 0.4987 GB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/2.483, allocations: 0 / 1.442 GB, free: 0.4987 GB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005315/2.488, allocations: 4.164 MB / 1.446 GB, free: 0.497 GB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007481/2.496, allocations: 1.439 MB / 1.447 GB, free: 0.4967 GB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06244/2.558, allocations: 49.49 MB / 1.496 GB, free: 478.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/2.56, allocations: 2.929 MB / 1.499 GB, free: 476 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.005198/2.565, allocations: 2.763 MB / 1.501 GB, free: 473.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002566/2.568, allocations: 2.009 MB / 1.503 GB, free: 471.5 MB / 0.9356 GB Notification: Performance of SimCode: time 8.42e-07/2.568, allocations: 0 / 1.503 GB, free: 471.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.77/6.338, allocations: 180.9 MB / 1.68 GB, free: 291.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/6.338, allocations: 290.4 kB / 1.68 GB, free: 290.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.634/15.97, allocations: 0 / 1.68 GB, free: 290.7 MB / 0.9356 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