Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008912/0.0008913, allocations: 177.1 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 225.7 MB / 241.9 MB, free: 208 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007709/0.000771, allocations: 82.48 kB / 293.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6281/0.6281, allocations: 91.65 MB / 435.8 MB, free: 23.55 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002681, allocations: 8 kB / 0.5038 GB, free: 8.316 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2731, allocations: 69.3 MB / 0.5714 GB, free: 45.67 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1196/0.3927, allocations: 130.4 MB / 0.6987 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004372/0.3971, allocations: 4.54 MB / 0.7032 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.3974, allocations: 8 kB / 0.7032 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.3979, allocations: 135.3 kB / 0.7033 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.3983, allocations: 183 kB / 0.7035 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.3986, allocations: 103.7 kB / 0.7036 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.399, allocations: 346.3 kB / 0.7039 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.3992, allocations: 85.98 kB / 0.704 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.3994, allocations: 123.5 kB / 0.7041 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.3997, allocations: 167.3 kB / 0.7043 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3997, allocations: 8 kB / 0.7043 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/0.4003, allocations: 291.4 kB / 0.7046 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.4003, allocations: 35.83 kB / 0.7046 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.4005, allocations: 129.2 kB / 0.7047 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.4009, allocations: 313.1 kB / 0.705 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4009, allocations: 4 kB / 0.705 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.352e-06/0.401, allocations: 0 / 0.705 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.401, allocations: 0 / 0.705 GB, free: 1.637 MB / 0.4948 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.0007254/0.4017, allocations: 0.4986 MB / 0.7055 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4017, allocations: 15.98 kB / 0.7055 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.4018, allocations: 20.75 kB / 0.7055 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.402, allocations: 232.6 kB / 0.7058 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.4021, allocations: 16.38 kB / 0.7058 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.4021, allocations: 24.36 kB / 0.7058 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.4024, allocations: 198.1 kB / 0.706 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4025, allocations: 0 / 0.706 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.4025, allocations: 8 kB / 0.706 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4025, allocations: 8 kB / 0.706 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.4027, allocations: 128.2 kB / 0.7061 GB, free: 416 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4038, allocations: 1.078 MB / 0.7072 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.4042, allocations: 182.5 kB / 0.7074 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.4043, allocations: 92.75 kB / 0.7074 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.4045, allocations: 247.3 kB / 0.7077 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4046, allocations: 38.5 kB / 0.7077 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 2.054e-06/0.4046, allocations: 0 / 0.7077 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.00157/0.4062, allocations: 0.9544 MB / 0.7086 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.4062, allocations: 51.41 kB / 0.7087 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.4064, allocations: 179.1 kB / 0.7089 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.4064, allocations: 29.7 kB / 0.7089 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.4065, allocations: 136.3 kB / 0.709 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.4065, allocations: 67.08 kB / 0.7091 GB, free: 13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.4065, allocations: 4 kB / 0.7091 GB, free: 13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.4066, allocations: 326.8 kB / 0.7094 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.4067, allocations: 59.97 kB / 0.7095 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.4069, allocations: 87.12 kB / 0.7095 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.4071, allocations: 158.7 kB / 0.7097 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4071, allocations: 0 / 0.7097 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004503/0.4075, allocations: 285.9 kB / 0.71 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4076, allocations: 7.906 kB / 0.71 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4076, allocations: 4 kB / 0.71 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.4079, allocations: 92.78 kB / 0.7101 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.408, allocations: 23.88 kB / 0.7101 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.4098, allocations: 1.804 MB / 0.7119 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.4099, allocations: 16.03 kB / 0.7119 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.41, allocations: 8 kB / 0.7119 GB, free: 9.977 MB / 0.5105 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001265/0.4101, allocations: 145.6 kB / 0.712 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.4101, allocations: 15.81 kB / 0.712 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.4106, allocations: 288 kB / 0.7123 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4107, allocations: 0 / 0.7123 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4107, allocations: 7.984 kB / 0.7123 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4107, allocations: 3.938 kB / 0.7123 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.411, allocations: 293.5 kB / 0.7126 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.411, allocations: 0 / 0.7126 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.4111, allocations: 23.92 kB / 0.7126 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.4114, allocations: 96.8 kB / 0.7127 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.4114, allocations: 12 kB / 0.7127 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.4131, allocations: 1.812 MB / 0.7145 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4131, allocations: 0 / 0.7145 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.4137, allocations: 451.7 kB / 0.7149 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.4138, allocations: 88.92 kB / 0.715 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.4138, allocations: 8.031 kB / 0.715 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.4139, allocations: 19.94 kB / 0.715 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.414, allocations: 11.97 kB / 0.715 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.414, allocations: 8 kB / 0.7151 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.672e-05/0.4141, allocations: 133.2 kB / 0.7152 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4141, allocations: 0 / 0.7152 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003278/0.4144, allocations: 72 kB / 0.7152 GB, free: 6.281 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002244/0.4147, allocations: 175.6 kB / 0.7154 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006115/0.4153, allocations: 372 kB / 0.7158 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4153, allocations: 0 / 0.7158 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.4158, allocations: 304.2 kB / 0.7161 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.4161, allocations: 36.91 kB / 0.7161 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009743/0.4171, allocations: 0.7404 MB / 0.7168 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.4174, allocations: 0.7518 MB / 0.7176 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.304e-05/0.4175, allocations: 25.42 kB / 0.7176 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.4176, allocations: 19.44 kB / 0.7176 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.4176, allocations: 3.938 kB / 0.7176 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of Templates: time 0.007508/0.4251, allocations: 3.91 MB / 0.7214 GB, free: 15.88 MB / 0.5261 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","../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches