Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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 dev (/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.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00137/0.00137, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8497/0.8497, allocations: 89.6 MB / 380.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 17.5 kB / 459.9 MB, free: 24.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 68.83 MB / 0.5163 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.5567/0.7233, allocations: 120.1 MB / 0.6336 GB, free: 9.516 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004097/0.7274, allocations: 3.483 MB / 0.637 GB, free: 6.762 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.7277, allocations: 2.344 kB / 0.637 GB, free: 6.762 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005371/0.7282, allocations: 132.8 kB / 0.6371 GB, free: 6.652 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.7288, allocations: 216.2 kB / 0.6373 GB, free: 6.473 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.7291, allocations: 100.6 kB / 0.6374 GB, free: 6.395 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.7294, allocations: 227.8 kB / 0.6376 GB, free: 6.258 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.7296, allocations: 71.28 kB / 0.6377 GB, free: 6.223 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.7299, allocations: 113.9 kB / 0.6378 GB, free: 6.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.7301, allocations: 133.1 kB / 0.6379 GB, free: 6.086 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.7302, allocations: 7.781 kB / 0.638 GB, free: 6.086 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005461/0.7307, allocations: 256.5 kB / 0.6382 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.7308, allocations: 25.02 kB / 0.6382 GB, free: 5.977 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.055e-05/0.7309, allocations: 69.02 kB / 0.6383 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.7311, allocations: 205.8 kB / 0.6385 GB, free: 5.801 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.7312, allocations: 0 / 0.6385 GB, free: 5.801 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.7312, allocations: 4 kB / 0.6385 GB, free: 5.797 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.7312, allocations: 0 / 0.6385 GB, free: 5.797 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000754/0.7319, allocations: 493.5 kB / 0.639 GB, free: 5.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.732, allocations: 9.875 kB / 0.639 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.732, allocations: 25.19 kB / 0.639 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.7323, allocations: 242.7 kB / 0.6392 GB, free: 5.062 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.7323, allocations: 15.66 kB / 0.6392 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.7324, allocations: 22.19 kB / 0.6393 GB, free: 5.043 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.7327, allocations: 221.8 kB / 0.6395 GB, free: 4.895 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.7327, allocations: 0 / 0.6395 GB, free: 4.895 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.7328, allocations: 10.81 kB / 0.6395 GB, free: 4.887 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.7328, allocations: 9.531 kB / 0.6395 GB, free: 4.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.733, allocations: 124.5 kB / 0.6396 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.734, allocations: 0.7513 MB / 0.6403 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.7343, allocations: 129 kB / 0.6405 GB, free: 4.098 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.7346, allocations: 247 kB / 0.6407 GB, free: 3.809 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.7346, allocations: 33.12 kB / 0.6407 GB, free: 3.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.7346, allocations: 0 / 0.6407 GB, free: 3.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.001538/0.7361, allocations: 0.8969 MB / 0.6416 GB, free: 2.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.7362, allocations: 54.12 kB / 0.6417 GB, free: 2.918 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.7364, allocations: 233.9 kB / 0.6419 GB, free: 2.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.7365, allocations: 29.7 kB / 0.6419 GB, free: 2.715 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.7366, allocations: 130.7 kB / 0.642 GB, free: 2.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.7366, allocations: 56.61 kB / 0.6421 GB, free: 2.539 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-06/0.7366, allocations: 4 kB / 0.6421 GB, free: 2.535 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7368, allocations: 334.3 kB / 0.6424 GB, free: 2.207 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.7369, allocations: 47.28 kB / 0.6425 GB, free: 2.184 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.913e-05/0.737, allocations: 63.69 kB / 0.6425 GB, free: 2.141 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.574e-05/0.7371, allocations: 61.3 kB / 0.6426 GB, free: 2.109 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.7371, allocations: 0 / 0.6426 GB, free: 2.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004154/0.7375, allocations: 257.8 kB / 0.6428 GB, free: 1.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7375, allocations: 9.344 kB / 0.6428 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7376, allocations: 1.969 kB / 0.6428 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003147/0.7379, allocations: 94.42 kB / 0.6429 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.873e-05/0.738, allocations: 17.11 kB / 0.6429 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.7399, allocations: 1.838 MB / 0.6447 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.74, allocations: 8 kB / 0.6447 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.74, allocations: 4.906 kB / 0.6447 GB, free: 228 kB / 462.1 MB 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.7401, allocations: 140 kB / 0.6449 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.7402, allocations: 22 kB / 0.6449 GB, free: 76 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005128/0.7407, allocations: 279.7 kB / 0.6452 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7407, allocations: 1.812 kB / 0.6452 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7407, allocations: 2.906 kB / 0.6452 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7407, allocations: 0 / 0.6452 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007427/0.7415, allocations: 0.5828 MB / 0.6457 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7415, allocations: 0 / 0.6457 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.7415, allocations: 8.406 kB / 0.6458 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000269/0.7418, allocations: 107.4 kB / 0.6459 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.7418, allocations: 10.33 kB / 0.6459 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.7437, allocations: 1.846 MB / 0.6477 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7437, allocations: 0 / 0.6477 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.7443, allocations: 436.1 kB / 0.6481 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.7443, allocations: 100.4 kB / 0.6482 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.7444, allocations: 6.844 kB / 0.6482 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.7445, allocations: 4 kB / 0.6482 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.7445, allocations: 19.31 kB / 0.6482 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.7445, allocations: 3.781 kB / 0.6482 GB, free: 13.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.7447, allocations: 184.7 kB / 0.6484 GB, free: 12.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7447, allocations: 1.969 kB / 0.6484 GB, free: 12.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000389/0.7451, allocations: 68.31 kB / 0.6485 GB, free: 12.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002721/0.7454, allocations: 183.8 kB / 0.6486 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.746, allocations: 302.8 kB / 0.6489 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.746, allocations: 0 / 0.6489 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.7464, allocations: 233.7 kB / 0.6491 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.7469, allocations: 94.66 kB / 0.6492 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.748, allocations: 0.7139 MB / 0.6499 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.7483, allocations: 0.7527 MB / 0.6507 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.567e-05/0.7484, allocations: 31.73 kB / 0.6507 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.7484, allocations: 15.69 kB / 0.6507 GB, free: 11.07 MB / 478.1 MB Notification: Performance of SimCode: time 3.31e-07/0.7484, allocations: 3.938 kB / 0.6507 GB, free: 11.07 MB / 478.1 MB Notification: Performance of Templates: time 0.00899/0.7574, allocations: 4.638 MB / 0.6552 GB, free: 8.746 MB / 478.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches