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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.1 MB / 221.8 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 94.27 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.7454/0.7454, allocations: 91.21 MB / 407.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 55.86 kB / 483.5 MB, free: 6.602 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3084, allocations: 64.97 MB / 0.5356 GB, free: 33.66 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1371/0.4456, allocations: 139.6 MB / 0.672 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004705/0.4504, allocations: 4.153 MB / 0.6761 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003649/0.4508, allocations: 7.938 kB / 0.6761 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007289/0.4515, allocations: 131.4 kB / 0.6762 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005486/0.4521, allocations: 175 kB / 0.6764 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.4525, allocations: 107.7 kB / 0.6765 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.453, allocations: 350.3 kB / 0.6768 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.4532, allocations: 88.11 kB / 0.6769 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.4535, allocations: 143.5 kB / 0.677 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.4539, allocations: 167.4 kB / 0.6772 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.4539, allocations: 16 kB / 0.6772 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000648/0.4546, allocations: 303.4 kB / 0.6775 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.4547, allocations: 39.84 kB / 0.6775 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.4548, allocations: 111.5 kB / 0.6776 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.4553, allocations: 323 kB / 0.6779 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4553, allocations: 4 kB / 0.6779 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4554, allocations: 0 / 0.6779 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.4554, allocations: 0 / 0.6779 GB, free: 3.461 MB / 0.4948 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.0009036/0.4563, allocations: 0.522 MB / 0.6785 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4563, allocations: 8.031 kB / 0.6785 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.4564, allocations: 28.66 kB / 0.6785 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.4567, allocations: 240.5 kB / 0.6787 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.4567, allocations: 20.38 kB / 0.6787 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.4568, allocations: 16.38 kB / 0.6788 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.4572, allocations: 206.5 kB / 0.679 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4572, allocations: 0 / 0.679 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.4572, allocations: 8 kB / 0.679 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.4572, allocations: 4 kB / 0.679 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.4575, allocations: 128.3 kB / 0.6791 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.4588, allocations: 1.074 MB / 0.6801 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.4592, allocations: 190.5 kB / 0.6803 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.4593, allocations: 88.86 kB / 0.6804 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.4595, allocations: 251.3 kB / 0.6806 GB, free: 396 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.4595, allocations: 30.56 kB / 0.6807 GB, free: 356 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 1.834e-06/0.4595, allocations: 0 / 0.6807 GB, free: 356 kB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.2197/0.6793, allocations: 0.9558 MB / 0.6816 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.6794, allocations: 53.91 kB / 0.6817 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.6796, allocations: 174.1 kB / 0.6818 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6796, allocations: 30.52 kB / 0.6819 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.6797, allocations: 137.6 kB / 0.682 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.6797, allocations: 65.48 kB / 0.682 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.6798, allocations: 40.47 kB / 0.6821 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.6799, allocations: 332.7 kB / 0.6824 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.68, allocations: 60.84 kB / 0.6825 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.6802, allocations: 81.44 kB / 0.6825 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.6804, allocations: 163.7 kB / 0.6827 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6804, allocations: 0 / 0.6827 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005213/0.6809, allocations: 275.5 kB / 0.683 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.681, allocations: 5.188 kB / 0.683 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.681, allocations: 1.25 kB / 0.683 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003646/0.6813, allocations: 91.44 kB / 0.6831 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.6815, allocations: 20.92 kB / 0.6831 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.6832, allocations: 1.808 MB / 0.6848 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.6834, allocations: 12.8 kB / 0.6848 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.6834, allocations: 9.484 kB / 0.6849 GB, free: 141 MB / 0.4948 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001324/0.6836, allocations: 140.2 kB / 0.685 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.6836, allocations: 20.2 kB / 0.685 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/0.6842, allocations: 292 kB / 0.6853 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6842, allocations: 1.703 kB / 0.6853 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6842, allocations: 1.469 kB / 0.6853 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.6842, allocations: 2.047 kB / 0.6853 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.6846, allocations: 299.1 kB / 0.6856 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6846, allocations: 2.312 kB / 0.6856 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.6847, allocations: 17.3 kB / 0.6856 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002966/0.685, allocations: 97.77 kB / 0.6857 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.685, allocations: 8.953 kB / 0.6857 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.6866, allocations: 1.811 MB / 0.6875 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6867, allocations: 0.75 kB / 0.6875 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/0.6914, allocations: 4.205 MB / 0.6916 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.6915, allocations: 91.08 kB / 0.6917 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.6915, allocations: 5.781 kB / 0.6917 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.6916, allocations: 12.09 kB / 0.6917 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.6917, allocations: 21.8 kB / 0.6917 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.6917, allocations: 8.844 kB / 0.6917 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001056/0.6918, allocations: 135.8 kB / 0.6918 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6918, allocations: 0 / 0.6918 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006293/0.6925, allocations: 116.9 kB / 0.6919 GB, free: 135.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000263/0.6928, allocations: 165.5 kB / 0.6921 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007404/0.6935, allocations: 367.2 kB / 0.6925 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6935, allocations: 4.562 kB / 0.6925 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.694, allocations: 301.4 kB / 0.6927 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.6945, allocations: 38.41 kB / 0.6928 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.6959, allocations: 1.046 MB / 0.6938 GB, free: 134 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.6962, allocations: 0.759 MB / 0.6945 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.58e-05/0.6963, allocations: 29.16 kB / 0.6946 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.6963, allocations: 15.5 kB / 0.6946 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of SimCode: time 3.2e-07/0.6963, allocations: 0 / 0.6946 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.008608/0.705, allocations: 4.802 MB / 0.6993 GB, free: 131.6 MB / 0.4948 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","../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches