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.001708/0.001708, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001889/0.001889, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.64/0.64, allocations: 89.5 MB / 380.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 87.88 kB / 459.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1117, allocations: 67.3 MB / 0.5146 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3091/0.4209, allocations: 141.4 MB / 0.6527 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003923/0.4248, allocations: 4.113 MB / 0.6567 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.722e-05/0.4249, allocations: 4.75 kB / 0.6567 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.4254, allocations: 149.7 kB / 0.6569 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.4259, allocations: 178.8 kB / 0.657 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.4262, allocations: 123.6 kB / 0.6572 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.4265, allocations: 310.4 kB / 0.6575 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.4267, allocations: 97.78 kB / 0.6575 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.427, allocations: 147.5 kB / 0.6577 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.4272, allocations: 159.5 kB / 0.6578 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.4272, allocations: 20.64 kB / 0.6579 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.4277, allocations: 267.6 kB / 0.6581 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.4277, allocations: 47.78 kB / 0.6582 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.4278, allocations: 115.4 kB / 0.6583 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.4282, allocations: 304.8 kB / 0.6586 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4283, allocations: 0 / 0.6586 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4283, allocations: 4 kB / 0.6586 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.4283, allocations: 0.6562 kB / 0.6586 GB, free: 3.84 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.0007185/0.429, allocations: 0.5188 MB / 0.6591 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.429, allocations: 8.031 kB / 0.6591 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.4291, allocations: 28.59 kB / 0.6591 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.4294, allocations: 240.6 kB / 0.6593 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.4294, allocations: 12.75 kB / 0.6593 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.4294, allocations: 20.38 kB / 0.6594 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.4298, allocations: 226.5 kB / 0.6596 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4298, allocations: 0 / 0.6596 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.4298, allocations: 8 kB / 0.6596 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4298, allocations: 8 kB / 0.6596 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.43, allocations: 133.8 kB / 0.6597 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/0.431, allocations: 0.7321 MB / 0.6604 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.4313, allocations: 135.3 kB / 0.6606 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.4314, allocations: 73.47 kB / 0.6606 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.4316, allocations: 247.3 kB / 0.6609 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.4316, allocations: 30.56 kB / 0.6609 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.4316, allocations: 0.5625 kB / 0.6609 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001445/0.4331, allocations: 0.8871 MB / 0.6618 GB, free: 232 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.4331, allocations: 55.41 kB / 0.6618 GB, free: 164 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.4333, allocations: 233 kB / 0.662 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.4334, allocations: 29.7 kB / 0.6621 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.4335, allocations: 136.3 kB / 0.6622 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.4335, allocations: 60.08 kB / 0.6623 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.4336, allocations: 33.7 kB / 0.6623 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4337, allocations: 338.8 kB / 0.6626 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.4338, allocations: 43.98 kB / 0.6627 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.435e-05/0.4339, allocations: 74.27 kB / 0.6627 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.434, allocations: 125.4 kB / 0.6628 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4341, allocations: 4 kB / 0.6629 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004323/0.4345, allocations: 251.7 kB / 0.6631 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4345, allocations: 11.92 kB / 0.6631 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.4345, allocations: 0 / 0.6631 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/0.4348, allocations: 93.73 kB / 0.6632 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.4349, allocations: 23.92 kB / 0.6632 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.4368, allocations: 1.946 MB / 0.6651 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.4369, allocations: 8 kB / 0.6651 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.437, allocations: 8.562 kB / 0.6651 GB, free: 12.57 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.0001135/0.4371, allocations: 143.1 kB / 0.6653 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.4371, allocations: 25.67 kB / 0.6653 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.4376, allocations: 282.5 kB / 0.6656 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4376, allocations: 0 / 0.6656 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4376, allocations: 7.938 kB / 0.6656 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.4376, allocations: 0 / 0.6656 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006796/0.4383, allocations: 0.5801 MB / 0.6661 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4383, allocations: 0 / 0.6661 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.4384, allocations: 15.98 kB / 0.6662 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.4387, allocations: 98.95 kB / 0.6662 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.4387, allocations: 8.688 kB / 0.6663 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.4405, allocations: 1.941 MB / 0.6682 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.4405, allocations: 8.688 kB / 0.6682 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.441, allocations: 398.4 kB / 0.6685 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.4411, allocations: 97.67 kB / 0.6686 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.4412, allocations: 15.88 kB / 0.6686 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.4413, allocations: 0 / 0.6686 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.4413, allocations: 24.02 kB / 0.6687 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.4413, allocations: 4.562 kB / 0.6687 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001636/0.4415, allocations: 184.5 kB / 0.6689 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4415, allocations: 0 / 0.6689 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003471/0.4419, allocations: 72 kB / 0.6689 GB, free: 8.43 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.0002107/0.4421, allocations: 161.7 kB / 0.6691 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.4426, allocations: 307.8 kB / 0.6694 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4427, allocations: 0 / 0.6694 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.4431, allocations: 244 kB / 0.6696 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.4436, allocations: 93.2 kB / 0.6697 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/0.4446, allocations: 0.6037 MB / 0.6703 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.4449, allocations: 0.7571 MB / 0.671 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.144e-05/0.4449, allocations: 22.36 kB / 0.671 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.445, allocations: 15.44 kB / 0.6711 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.445, allocations: 0 / 0.6711 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of Templates: time 0.008284/0.4533, allocations: 4.983 MB / 0.6759 GB, free: 1.348 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 gbode -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