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 (/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.008783/0.008783, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.002262/0.002262, allocations: 202 kB / 16.68 MB, free: 5.977 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7115/0.7115, allocations: 91.2 MB / 381.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 79.88 kB / 0.5168 GB, free: 9.023 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1501, allocations: 67.7 MB / 0.583 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.5224/0.6725, allocations: 141.5 MB / 0.7212 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004151/0.6767, allocations: 4.142 MB / 0.7252 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.677, allocations: 15.88 kB / 0.7252 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005647/0.6775, allocations: 167 kB / 0.7254 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.6781, allocations: 202.7 kB / 0.7256 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.6785, allocations: 131.6 kB / 0.7257 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.679, allocations: 374.2 kB / 0.7261 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.6792, allocations: 110.2 kB / 0.7262 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.6796, allocations: 179.2 kB / 0.7263 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.6798, allocations: 175.2 kB / 0.7265 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.6799, allocations: 16 kB / 0.7265 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.6804, allocations: 263.6 kB / 0.7268 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.6805, allocations: 51.77 kB / 0.7268 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.6806, allocations: 151 kB / 0.727 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.6811, allocations: 379 kB / 0.7273 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6811, allocations: 4 kB / 0.7273 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6811, allocations: 0 / 0.7273 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.6811, allocations: 0 / 0.7273 GB, free: 4.281 MB / 0.5606 GB 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.0007926/0.6819, allocations: 0.5996 MB / 0.7279 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.682, allocations: 8.031 kB / 0.7279 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.6821, allocations: 40.69 kB / 0.728 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.6825, allocations: 371.5 kB / 0.7283 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.6825, allocations: 12.75 kB / 0.7283 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.6826, allocations: 20.38 kB / 0.7283 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.6829, allocations: 229.9 kB / 0.7286 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.683, allocations: 0 / 0.7286 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.683, allocations: 11.94 kB / 0.7286 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.683, allocations: 4 kB / 0.7286 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.6832, allocations: 131.9 kB / 0.7287 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009543/0.6842, allocations: 0.7577 MB / 0.7294 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.6845, allocations: 134.5 kB / 0.7296 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.6846, allocations: 76.83 kB / 0.7296 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.6848, allocations: 247.2 kB / 0.7299 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.6849, allocations: 38.56 kB / 0.7299 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.6849, allocations: 0 / 0.7299 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001483/0.6863, allocations: 0.9127 MB / 0.7308 GB, free: 380 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.6864, allocations: 55.41 kB / 0.7309 GB, free: 312 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.6867, allocations: 325.7 kB / 0.7312 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.6868, allocations: 29.7 kB / 0.7312 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.6869, allocations: 172.3 kB / 0.7314 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.687, allocations: 59.53 kB / 0.7314 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.687, allocations: 37.7 kB / 0.7315 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6872, allocations: 334.8 kB / 0.7318 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.6873, allocations: 59.92 kB / 0.7318 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.6874, allocations: 69.64 kB / 0.7319 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.6876, allocations: 128.3 kB / 0.732 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.6876, allocations: 0 / 0.732 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004509/0.688, allocations: 262.7 kB / 0.7323 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6881, allocations: 11.94 kB / 0.7323 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.6881, allocations: 0 / 0.7323 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/0.6884, allocations: 96.72 kB / 0.7324 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.6885, allocations: 19.94 kB / 0.7324 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.6906, allocations: 1.942 MB / 0.7343 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.743e-05/0.6907, allocations: 4 kB / 0.7343 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.6907, allocations: 15.88 kB / 0.7343 GB, free: 12.58 MB / 0.5762 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.6909, allocations: 149.8 kB / 0.7344 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.6909, allocations: 35.77 kB / 0.7345 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/0.6914, allocations: 293.1 kB / 0.7348 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6914, allocations: 0 / 0.7348 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6914, allocations: 7.938 kB / 0.7348 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6914, allocations: 0 / 0.7348 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.6922, allocations: 0.6186 MB / 0.7354 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6922, allocations: 3.984 kB / 0.7354 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.6922, allocations: 8 kB / 0.7354 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002834/0.6925, allocations: 96.75 kB / 0.7355 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.6925, allocations: 8.141 kB / 0.7355 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.6945, allocations: 1.951 MB / 0.7374 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6945, allocations: 4.812 kB / 0.7374 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.695, allocations: 413.5 kB / 0.7378 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.6951, allocations: 108.9 kB / 0.7379 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.6951, allocations: 15.97 kB / 0.7379 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.6953, allocations: 0 / 0.7379 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.6953, allocations: 19.92 kB / 0.7379 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.6953, allocations: 4 kB / 0.7379 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002262/0.6955, allocations: 247.2 kB / 0.7382 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6956, allocations: 0 / 0.7382 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003643/0.6959, allocations: 75.98 kB / 0.7382 GB, free: 8.258 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002162/0.6961, allocations: 163.3 kB / 0.7384 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005641/0.6967, allocations: 294.5 kB / 0.7387 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6967, allocations: 0 / 0.7387 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.6971, allocations: 250.5 kB / 0.7389 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.6978, allocations: 103.4 kB / 0.739 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.6989, allocations: 0.7263 MB / 0.7397 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.6993, allocations: 0.7795 MB / 0.7405 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.535e-05/0.6994, allocations: 26.97 kB / 0.7405 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.6994, allocations: 27.44 kB / 0.7405 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.6994, allocations: 4 kB / 0.7405 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of Templates: time 0.009553/0.709, allocations: 5.233 MB / 0.7457 GB, free: 0.6289 MB / 0.5762 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches