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.001103/0.001103, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001142/0.001142, allocations: 189 kB / 17.3 MB, free: 5.613 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6662/0.6662, allocations: 89.5 MB / 380.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 75.88 kB / 459.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1148, allocations: 67.3 MB / 0.5146 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3488/0.4637, allocations: 141.4 MB / 0.6527 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003846/0.4675, allocations: 4.104 MB / 0.6567 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.4677, allocations: 7.938 kB / 0.6567 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.4682, allocations: 154.4 kB / 0.6569 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003941/0.4687, allocations: 174.9 kB / 0.657 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.469, allocations: 123.6 kB / 0.6572 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.4694, allocations: 310.5 kB / 0.6575 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.4696, allocations: 97.3 kB / 0.6576 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.4698, allocations: 143.5 kB / 0.6577 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.4701, allocations: 164.3 kB / 0.6579 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.4701, allocations: 16 kB / 0.6579 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.4706, allocations: 275.5 kB / 0.6581 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.4706, allocations: 47.83 kB / 0.6582 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.4707, allocations: 115.5 kB / 0.6583 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.4711, allocations: 296.8 kB / 0.6586 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4711, allocations: 0 / 0.6586 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4711, allocations: 4 kB / 0.6586 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4712, allocations: 0 / 0.6586 GB, free: 3.859 MB / 0.4981 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.0007035/0.4719, allocations: 0.5227 MB / 0.6591 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.4719, allocations: 8.875 kB / 0.6591 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.472, allocations: 24.66 kB / 0.6591 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.4723, allocations: 240.6 kB / 0.6593 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.4723, allocations: 12.75 kB / 0.6594 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.4723, allocations: 20.38 kB / 0.6594 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.4727, allocations: 234.5 kB / 0.6596 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4727, allocations: 0 / 0.6596 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.4727, allocations: 8 kB / 0.6596 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4727, allocations: 4 kB / 0.6596 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.473, allocations: 129.6 kB / 0.6597 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009424/0.4739, allocations: 0.7341 MB / 0.6604 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.4742, allocations: 143 kB / 0.6606 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4744, allocations: 64.84 kB / 0.6606 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.4745, allocations: 251.2 kB / 0.6609 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.4746, allocations: 30.56 kB / 0.6609 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.4746, allocations: 0 / 0.6609 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001446/0.476, allocations: 0.8967 MB / 0.6618 GB, free: 236 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.4761, allocations: 59.34 kB / 0.6618 GB, free: 164 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.4763, allocations: 233.1 kB / 0.6621 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.4763, allocations: 25.7 kB / 0.6621 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.4764, allocations: 132.3 kB / 0.6622 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.4764, allocations: 59.09 kB / 0.6623 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.4765, allocations: 37.72 kB / 0.6623 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4766, allocations: 330.8 kB / 0.6626 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.4767, allocations: 45.86 kB / 0.6627 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.204e-05/0.4768, allocations: 75.36 kB / 0.6627 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.477, allocations: 123 kB / 0.6629 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.477, allocations: 0 / 0.6629 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004152/0.4774, allocations: 259.1 kB / 0.6631 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4775, allocations: 7.938 kB / 0.6631 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4775, allocations: 0 / 0.6631 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002956/0.4778, allocations: 96.73 kB / 0.6632 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.4779, allocations: 15.98 kB / 0.6632 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.4797, allocations: 1.95 MB / 0.6651 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.4798, allocations: 2.812 kB / 0.6651 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.4798, allocations: 12.56 kB / 0.6651 GB, free: 12.59 MB / 0.5137 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.0001161/0.4799, allocations: 141.8 kB / 0.6653 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.48, allocations: 19.81 kB / 0.6653 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.4804, allocations: 278.9 kB / 0.6656 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4804, allocations: 0.8125 kB / 0.6656 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4805, allocations: 7.938 kB / 0.6656 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4805, allocations: 3.984 kB / 0.6656 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.4811, allocations: 0.5872 MB / 0.6661 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4812, allocations: 1.781 kB / 0.6662 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.4812, allocations: 12.75 kB / 0.6662 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/0.4815, allocations: 96.7 kB / 0.6663 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.4815, allocations: 11.98 kB / 0.6663 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.4832, allocations: 1.949 MB / 0.6682 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4832, allocations: 3.938 kB / 0.6682 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.4837, allocations: 393.2 kB / 0.6685 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.4838, allocations: 96.86 kB / 0.6686 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.4838, allocations: 11.94 kB / 0.6687 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.484, allocations: 4 kB / 0.6687 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.484, allocations: 15.98 kB / 0.6687 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.484, allocations: 8.609 kB / 0.6687 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001507/0.4842, allocations: 183.4 kB / 0.6689 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4842, allocations: 0 / 0.6689 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003405/0.4845, allocations: 72 kB / 0.6689 GB, free: 8.449 MB / 0.5137 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.0002296/0.4848, allocations: 163.3 kB / 0.6691 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005388/0.4853, allocations: 313.1 kB / 0.6694 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4853, allocations: 0 / 0.6694 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.4857, allocations: 246.5 kB / 0.6696 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.4863, allocations: 89.97 kB / 0.6697 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009056/0.4872, allocations: 0.6043 MB / 0.6703 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.4875, allocations: 0.748 MB / 0.671 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.308e-05/0.4876, allocations: 34.36 kB / 0.6711 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.4876, allocations: 19.44 kB / 0.6711 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.4876, allocations: 4 kB / 0.6711 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of Templates: time 0.01256/0.5002, allocations: 4.971 MB / 0.6759 GB, free: 1.371 MB / 0.5137 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 -s cvode -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