Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001963/0.001963, allocations: 193.1 kB / 16.14 MB, free: 6.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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7096/0.7096, allocations: 91.19 MB / 381.2 MB, free: 9.621 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 78.31 kB / 459.6 MB, free: 23.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.125, allocations: 67.7 MB / 0.515 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4124/0.5374, allocations: 145.1 MB / 0.6567 GB, free: 6.094 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.542, allocations: 3.224 MB / 0.6599 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007289/0.5427, allocations: 33.81 kB / 0.6599 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007998/0.5436, allocations: 203 kB / 0.6601 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.5446, allocations: 333.6 kB / 0.6604 GB, free: 3.008 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.5458, allocations: 423.4 kB / 0.6608 GB, free: 2.695 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009045/0.5468, allocations: 0.7905 MB / 0.6616 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.547, allocations: 129.8 kB / 0.6617 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.5481, allocations: 471.5 kB / 0.6622 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004306/0.5486, allocations: 290 kB / 0.6624 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.5487, allocations: 17.59 kB / 0.6624 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.5497, allocations: 0.5512 MB / 0.663 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.327e-05/0.5499, allocations: 67.94 kB / 0.663 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.5501, allocations: 208.8 kB / 0.6632 GB, free: 1.266 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009539/0.551, allocations: 0.6206 MB / 0.6639 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5511, allocations: 0 / 0.6639 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5511, allocations: 0 / 0.6639 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.5511, allocations: 2.781 kB / 0.6639 GB, free: 0.8633 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001318/0.5524, allocations: 0.7917 MB / 0.6646 GB, free: 184 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.5525, allocations: 11.75 kB / 0.6646 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.541e-05/0.5526, allocations: 60.03 kB / 0.6647 GB, free: 148 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.5531, allocations: 428.8 kB / 0.6651 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.5532, allocations: 18.75 kB / 0.6651 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.5532, allocations: 26.22 kB / 0.6651 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.5538, allocations: 323 kB / 0.6655 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5538, allocations: 2.812 kB / 0.6655 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.5538, allocations: 10.09 kB / 0.6655 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.5539, allocations: 9.281 kB / 0.6655 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.5543, allocations: 198.5 kB / 0.6657 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.5561, allocations: 1.785 MB / 0.6674 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.5565, allocations: 174.2 kB / 0.6676 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.5567, allocations: 73.11 kB / 0.6676 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006612/0.5574, allocations: 0.5174 MB / 0.6682 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.5574, allocations: 48.3 kB / 0.6682 GB, free: 12.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.5574, allocations: 2.875 kB / 0.6682 GB, free: 12.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008621/0.5583, allocations: 350.2 kB / 0.6685 GB, free: 12.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.5583, allocations: 106.8 kB / 0.6686 GB, free: 12.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.5588, allocations: 450.7 kB / 0.6691 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.5588, allocations: 25.7 kB / 0.6691 GB, free: 12.19 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.559, allocations: 244.4 kB / 0.6693 GB, free: 11.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.559, allocations: 55.12 kB / 0.6694 GB, free: 11.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.5591, allocations: 44.77 kB / 0.6694 GB, free: 11.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5592, allocations: 352.8 kB / 0.6698 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.5594, allocations: 64.8 kB / 0.6698 GB, free: 11.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.5596, allocations: 107.7 kB / 0.6699 GB, free: 11.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.5599, allocations: 172.4 kB / 0.6701 GB, free: 11.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5599, allocations: 1.781 kB / 0.6701 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005293/0.5605, allocations: 270.4 kB / 0.6703 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5605, allocations: 4.281 kB / 0.6703 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5605, allocations: 4.656 kB / 0.6704 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.5607, allocations: 30.16 kB / 0.6704 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.5609, allocations: 41.86 kB / 0.6704 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009231/0.5618, allocations: 1.289 MB / 0.6717 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.562, allocations: 34.16 kB / 0.6717 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.562, allocations: 11.75 kB / 0.6717 GB, free: 9.742 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.5622, allocations: 155.1 kB / 0.6719 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5623, allocations: 43.59 kB / 0.6719 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000608/0.5629, allocations: 269.1 kB / 0.6722 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.563, allocations: 2.719 kB / 0.6722 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.563, allocations: 2.156 kB / 0.6722 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.563, allocations: 0 / 0.6722 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.5634, allocations: 354 kB / 0.6725 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5634, allocations: 0 / 0.6725 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.5636, allocations: 33.14 kB / 0.6725 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-05/0.5637, allocations: 22.94 kB / 0.6726 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.5638, allocations: 10.22 kB / 0.6726 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008697/0.5646, allocations: 1.294 MB / 0.6738 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5647, allocations: 0 / 0.6738 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.5653, allocations: 456 kB / 0.6743 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.933e-05/0.5654, allocations: 120.7 kB / 0.6744 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.5655, allocations: 2.562 kB / 0.6744 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.5657, allocations: 13.41 kB / 0.6744 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.5657, allocations: 9.047 kB / 0.6744 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.5658, allocations: 12.88 kB / 0.6744 GB, free: 7.211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003122/0.5661, allocations: 313.1 kB / 0.6747 GB, free: 7.023 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5661, allocations: 0 / 0.6747 GB, free: 7.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004599/0.5665, allocations: 99.28 kB / 0.6748 GB, free: 7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000301/0.5669, allocations: 214.1 kB / 0.675 GB, free: 6.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005727/0.5674, allocations: 264 kB / 0.6753 GB, free: 6.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.5675, allocations: 0 / 0.6753 GB, free: 6.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.5678, allocations: 190.8 kB / 0.6755 GB, free: 6.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.5686, allocations: 95.8 kB / 0.6755 GB, free: 6.473 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.5701, allocations: 0.9768 MB / 0.6765 GB, free: 5.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.5705, allocations: 0.8109 MB / 0.6773 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.5707, allocations: 57.33 kB / 0.6773 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.5708, allocations: 31.36 kB / 0.6774 GB, free: 4.949 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5708, allocations: 0 / 0.6774 GB, free: 4.949 MB / 494.1 MB Notification: Performance of Templates: time 0.01109/0.5819, allocations: 5.059 MB / 0.6823 GB, free: 2.418 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches