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.001287/0.001287, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001253/0.001253, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6583/0.6583, allocations: 91.19 MB / 382.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 79.88 kB / 0.5175 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2863, allocations: 67.68 MB / 0.5836 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1385/0.4249, allocations: 141.5 MB / 0.7218 GB, free: 212 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004217/0.4291, allocations: 4.149 MB / 0.7259 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.4294, allocations: 15.88 kB / 0.7259 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.4299, allocations: 163 kB / 0.726 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.4304, allocations: 210.6 kB / 0.7262 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.4307, allocations: 127.6 kB / 0.7264 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.4311, allocations: 378.2 kB / 0.7267 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.4313, allocations: 112.1 kB / 0.7268 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.4317, allocations: 179.2 kB / 0.727 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.432, allocations: 179.2 kB / 0.7272 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.432, allocations: 16 kB / 0.7272 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004952/0.4325, allocations: 267.6 kB / 0.7274 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.4326, allocations: 51.72 kB / 0.7275 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.4327, allocations: 143.2 kB / 0.7276 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.4332, allocations: 378.5 kB / 0.728 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4332, allocations: 0 / 0.728 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4332, allocations: 0 / 0.728 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4333, allocations: 0 / 0.728 GB, free: 9.871 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.0008256/0.4341, allocations: 0.6074 MB / 0.7286 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4341, allocations: 16.02 kB / 0.7286 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.4342, allocations: 40.64 kB / 0.7286 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.4347, allocations: 359.6 kB / 0.729 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.4347, allocations: 12.75 kB / 0.729 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.4348, allocations: 24.33 kB / 0.729 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.4351, allocations: 233.7 kB / 0.7292 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4351, allocations: 0 / 0.7292 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.4352, allocations: 8 kB / 0.7292 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.4352, allocations: 8 kB / 0.7292 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.4354, allocations: 131.9 kB / 0.7294 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009931/0.4364, allocations: 0.7617 MB / 0.7301 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.4367, allocations: 134.5 kB / 0.7302 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.4369, allocations: 72.77 kB / 0.7303 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.437, allocations: 243.3 kB / 0.7305 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.4371, allocations: 34.56 kB / 0.7306 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.4371, allocations: 4 kB / 0.7306 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001552/0.4387, allocations: 0.914 MB / 0.7315 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.4387, allocations: 55.41 kB / 0.7315 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.439, allocations: 325.7 kB / 0.7318 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.4391, allocations: 29.7 kB / 0.7319 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4392, allocations: 172.4 kB / 0.732 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.4392, allocations: 55.48 kB / 0.7321 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.4393, allocations: 37.66 kB / 0.7321 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4394, allocations: 346.8 kB / 0.7325 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/0.4395, allocations: 47.97 kB / 0.7325 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-05/0.4396, allocations: 66.67 kB / 0.7326 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.4398, allocations: 135.5 kB / 0.7327 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4398, allocations: 3.938 kB / 0.7327 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004638/0.4403, allocations: 262.1 kB / 0.7329 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.4403, allocations: 7.938 kB / 0.733 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4403, allocations: 0 / 0.733 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.4407, allocations: 92.78 kB / 0.733 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.4407, allocations: 23.92 kB / 0.7331 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.4428, allocations: 1.954 MB / 0.735 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.4429, allocations: 4 kB / 0.735 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.4429, allocations: 12.25 kB / 0.735 GB, free: 2.145 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.0001413/0.443, allocations: 149.8 kB / 0.7351 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.4431, allocations: 35.77 kB / 0.7352 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.4436, allocations: 291.1 kB / 0.7354 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4436, allocations: 4 kB / 0.7354 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4436, allocations: 0 / 0.7354 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.4437, allocations: 104.8 kB / 0.7355 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.4437, allocations: 12 kB / 0.7356 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.4438, allocations: 0 / 0.7356 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.4439, allocations: 19.97 kB / 0.7356 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006628/0.4445, allocations: 317.6 kB / 0.7359 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003796/0.4449, allocations: 413.9 kB / 0.7363 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.237e-05/0.445, allocations: 51.97 kB / 0.7363 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002251/0.4453, allocations: 247.2 kB / 0.7366 GB, free: 472 kB / 0.5762 GB Notification: Performance of Backend: time 6.21e-07/0.4453, allocations: 0 / 0.7366 GB, free: 472 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009384/0.4462, allocations: 422.5 kB / 0.737 GB, free: 28 kB / 0.5762 GB Notification: Performance of SimCode: time 0.2243/0.6706, allocations: 1.237 MB / 0.7382 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.0104/0.681, allocations: 5.304 MB / 0.7434 GB, free: 153.1 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