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.00113/0.00113, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008957/0.008957, allocations: 171.6 kB / 16.26 MB, free: 6.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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6225/0.6225, allocations: 91.32 MB / 382.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 19.91 kB / 462.7 MB, free: 23.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 69.2 MB / 0.5195 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3962/0.5095, allocations: 137.9 MB / 0.6541 GB, free: 8.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004908/0.5144, allocations: 4.136 MB / 0.6582 GB, free: 4.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.5148, allocations: 20.5 kB / 0.6582 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.5153, allocations: 141.1 kB / 0.6583 GB, free: 4.84 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.5158, allocations: 181.8 kB / 0.6585 GB, free: 4.691 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.5161, allocations: 115.1 kB / 0.6586 GB, free: 4.605 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.5165, allocations: 384.6 kB / 0.659 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.5167, allocations: 97.91 kB / 0.6591 GB, free: 4.336 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.517, allocations: 157.8 kB / 0.6592 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.5173, allocations: 166.1 kB / 0.6594 GB, free: 4.152 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.5173, allocations: 8.719 kB / 0.6594 GB, free: 4.152 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.5177, allocations: 257.1 kB / 0.6596 GB, free: 4.043 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.5178, allocations: 47.53 kB / 0.6597 GB, free: 4.004 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.5179, allocations: 145.7 kB / 0.6598 GB, free: 3.898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.5183, allocations: 340.1 kB / 0.6601 GB, free: 3.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5183, allocations: 0 / 0.6601 GB, free: 3.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5184, allocations: 0 / 0.6601 GB, free: 3.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.5184, allocations: 3.344 kB / 0.6601 GB, free: 3.68 MB / 478.1 MB 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.0007385/0.5191, allocations: 0.537 MB / 0.6607 GB, free: 3.176 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.5192, allocations: 12.72 kB / 0.6607 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.5192, allocations: 39.72 kB / 0.6607 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.5196, allocations: 335 kB / 0.661 GB, free: 2.844 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.5196, allocations: 12.56 kB / 0.661 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.5197, allocations: 27.33 kB / 0.6611 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.5201, allocations: 223.9 kB / 0.6613 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5201, allocations: 2.938 kB / 0.6613 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.5201, allocations: 8 kB / 0.6613 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.5201, allocations: 10.22 kB / 0.6613 GB, free: 2.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.5203, allocations: 129.4 kB / 0.6614 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.5214, allocations: 0.7687 MB / 0.6622 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.5217, allocations: 137.8 kB / 0.6623 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.5218, allocations: 69.45 kB / 0.6624 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.522, allocations: 245 kB / 0.6626 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.522, allocations: 41.19 kB / 0.6626 GB, free: 1.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.522, allocations: 0 / 0.6626 GB, free: 1.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001535/0.5235, allocations: 0.9195 MB / 0.6635 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.5236, allocations: 54.41 kB / 0.6636 GB, free: 0.625 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.5239, allocations: 328.5 kB / 0.6639 GB, free: 424 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.5239, allocations: 33.64 kB / 0.6639 GB, free: 384 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5241, allocations: 171.9 kB / 0.6641 GB, free: 220 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.5241, allocations: 56.98 kB / 0.6642 GB, free: 168 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.5242, allocations: 23.52 kB / 0.6642 GB, free: 144 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5243, allocations: 338.8 kB / 0.6645 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.5244, allocations: 49.81 kB / 0.6645 GB, free: 15.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-05/0.5245, allocations: 68.05 kB / 0.6646 GB, free: 15.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.5247, allocations: 121.8 kB / 0.6647 GB, free: 15.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.5247, allocations: 0 / 0.6647 GB, free: 15.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004484/0.5252, allocations: 267.7 kB / 0.665 GB, free: 15.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5252, allocations: 13.72 kB / 0.665 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5252, allocations: 0 / 0.665 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.5255, allocations: 94.03 kB / 0.6651 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.5256, allocations: 14.12 kB / 0.6651 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.5275, allocations: 1.815 MB / 0.6669 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.5276, allocations: 2.531 kB / 0.6669 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.5276, allocations: 7.312 kB / 0.6669 GB, free: 13.8 MB / 494.1 MB 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.0001274/0.5277, allocations: 154.4 kB / 0.667 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.5278, allocations: 29.78 kB / 0.6671 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005393/0.5283, allocations: 280.5 kB / 0.6673 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5284, allocations: 0 / 0.6673 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5284, allocations: 10.92 kB / 0.6673 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5284, allocations: 0 / 0.6673 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000766/0.5291, allocations: 0.6177 MB / 0.6679 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5292, allocations: 5.719 kB / 0.6679 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.5292, allocations: 6.25 kB / 0.6679 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.5295, allocations: 107.9 kB / 0.6681 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.5295, allocations: 7.5 kB / 0.6681 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.5314, allocations: 1.811 MB / 0.6698 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5314, allocations: 6.906 kB / 0.6698 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.5319, allocations: 403.7 kB / 0.6702 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.532, allocations: 108.9 kB / 0.6703 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.532, allocations: 6.688 kB / 0.6703 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.5322, allocations: 3.938 kB / 0.6703 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.5322, allocations: 21.69 kB / 0.6704 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.5322, allocations: 5.125 kB / 0.6704 GB, free: 10.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.5325, allocations: 246 kB / 0.6706 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5325, allocations: 0 / 0.6706 GB, free: 10.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003724/0.5328, allocations: 86.86 kB / 0.6707 GB, free: 10.54 MB / 494.1 MB 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.0002674/0.5331, allocations: 169 kB / 0.6708 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005805/0.5337, allocations: 295.3 kB / 0.6711 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5337, allocations: 1.844 kB / 0.6711 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.5342, allocations: 249.1 kB / 0.6714 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.5349, allocations: 94.98 kB / 0.6714 GB, free: 9.969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.536, allocations: 0.8545 MB / 0.6723 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.5363, allocations: 0.7752 MB / 0.673 GB, free: 8.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.815e-05/0.5364, allocations: 35.03 kB / 0.6731 GB, free: 8.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.5364, allocations: 28.77 kB / 0.6731 GB, free: 8.531 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5364, allocations: 0 / 0.6731 GB, free: 8.531 MB / 494.1 MB Notification: Performance of Templates: time 0.008821/0.5453, allocations: 4.967 MB / 0.678 GB, free: 4.477 MB / 494.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches