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.001098/0.001098, allocations: 108.3 kB / 16.41 MB, free: 6.508 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.00115/0.00115, allocations: 192.3 kB / 17.35 MB, free: 5.742 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6649/0.6649, allocations: 91.19 MB / 382.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 80.14 kB / 0.5175 GB, free: 4.117 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2865, allocations: 67.69 MB / 0.5836 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1353/0.4218, allocations: 141.5 MB / 0.7218 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004197/0.4261, allocations: 4.153 MB / 0.7259 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.4263, allocations: 11.94 kB / 0.7259 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.4269, allocations: 159 kB / 0.726 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005031/0.4274, allocations: 210.7 kB / 0.7262 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.4278, allocations: 131.5 kB / 0.7264 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.4282, allocations: 374.2 kB / 0.7267 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.4284, allocations: 116.1 kB / 0.7268 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.4288, allocations: 187.2 kB / 0.727 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.4291, allocations: 171.3 kB / 0.7272 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.4291, allocations: 20 kB / 0.7272 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/0.4297, allocations: 267.6 kB / 0.7274 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.4298, allocations: 51.72 kB / 0.7275 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.43, allocations: 147.2 kB / 0.7276 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006727/0.4307, allocations: 372.6 kB / 0.728 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4307, allocations: 0 / 0.728 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4307, allocations: 0 / 0.728 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.4307, allocations: 0 / 0.728 GB, free: 9.742 MB / 0.5762 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.001065/0.4318, allocations: 0.5999 MB / 0.7286 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4319, allocations: 8.031 kB / 0.7286 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.4319, allocations: 36.47 kB / 0.7286 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.4325, allocations: 367.3 kB / 0.729 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.4325, allocations: 12.75 kB / 0.729 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.4326, allocations: 24.28 kB / 0.729 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.4329, allocations: 233.7 kB / 0.7292 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4329, allocations: 0 / 0.7292 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.433, allocations: 12 kB / 0.7292 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.433, allocations: 4 kB / 0.7292 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.4332, allocations: 127.9 kB / 0.7294 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.4342, allocations: 0.7575 MB / 0.7301 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.4346, allocations: 138.5 kB / 0.7302 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.4347, allocations: 76.81 kB / 0.7303 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.4349, allocations: 239.3 kB / 0.7305 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.4349, allocations: 42.56 kB / 0.7306 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.694e-06/0.4349, allocations: 0 / 0.7306 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001538/0.4364, allocations: 0.9133 MB / 0.7315 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.4365, allocations: 51.41 kB / 0.7315 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.4368, allocations: 325.7 kB / 0.7318 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.4368, allocations: 29.7 kB / 0.7318 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.437, allocations: 172.3 kB / 0.732 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.437, allocations: 55.2 kB / 0.7321 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.4371, allocations: 33.7 kB / 0.7321 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.4372, allocations: 350.7 kB / 0.7324 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.4373, allocations: 43.98 kB / 0.7325 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.512e-05/0.4374, allocations: 69.69 kB / 0.7325 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.4376, allocations: 124.4 kB / 0.7327 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4376, allocations: 0 / 0.7327 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004516/0.438, allocations: 269.8 kB / 0.7329 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4381, allocations: 11.94 kB / 0.7329 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.4381, allocations: 0 / 0.7329 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/0.4384, allocations: 92.73 kB / 0.733 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.235e-05/0.4385, allocations: 19.98 kB / 0.733 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.4405, allocations: 1.957 MB / 0.7349 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-05/0.4406, allocations: 4 kB / 0.735 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4406, allocations: 11.94 kB / 0.735 GB, free: 2.035 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.0001768/0.4408, allocations: 145.8 kB / 0.7351 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.4408, allocations: 31.62 kB / 0.7351 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/0.4413, allocations: 288 kB / 0.7354 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4414, allocations: 0 / 0.7354 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4414, allocations: 288 / 0.7354 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.4414, allocations: 104.7 kB / 0.7355 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.4415, allocations: 4 kB / 0.7355 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.036e-05/0.4416, allocations: 12.08 kB / 0.7355 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.4416, allocations: 19.95 kB / 0.7355 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006686/0.4423, allocations: 317.5 kB / 0.7358 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003948/0.4427, allocations: 415 kB / 0.7362 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.956e-05/0.4428, allocations: 58.2 kB / 0.7363 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002269/0.4431, allocations: 243.2 kB / 0.7365 GB, free: 368 kB / 0.5762 GB Notification: Performance of Backend: time 5.51e-07/0.4431, allocations: 0 / 0.7365 GB, free: 368 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2264/0.6695, allocations: 405.3 kB / 0.7369 GB, free: 155 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001483/0.671, allocations: 1.241 MB / 0.7381 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.01022/0.6813, allocations: 5.3 MB / 0.7433 GB, free: 152.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches