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.001443/0.001443, allocations: 102.4 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.00166/0.00166, allocations: 191 kB / 17.29 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6499/0.6499, allocations: 89.5 MB / 380.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 75.88 kB / 459.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1114, allocations: 67.32 MB / 0.5146 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3149/0.4264, allocations: 146.7 MB / 0.6579 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003279/0.4297, allocations: 3.087 MB / 0.6609 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.4299, allocations: 11.94 kB / 0.6609 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.4305, allocations: 226.5 kB / 0.6612 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006345/0.4312, allocations: 329.9 kB / 0.6615 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.4321, allocations: 454.3 kB / 0.6619 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005452/0.4326, allocations: 0.5775 MB / 0.6625 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.4329, allocations: 130.1 kB / 0.6626 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008057/0.4337, allocations: 434.1 kB / 0.663 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.434, allocations: 267 kB / 0.6633 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.4341, allocations: 28 kB / 0.6633 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009095/0.435, allocations: 0.5497 MB / 0.6638 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.4351, allocations: 68.64 kB / 0.6639 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.4352, allocations: 183.1 kB / 0.6641 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007385/0.436, allocations: 0.5858 MB / 0.6646 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.436, allocations: 0 / 0.6646 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.062e-06/0.436, allocations: 0 / 0.6646 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.436, allocations: 0 / 0.6646 GB, free: 13.62 MB / 0.5137 GB 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.0009595/0.437, allocations: 0.6743 MB / 0.6653 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.437, allocations: 16.03 kB / 0.6653 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.4371, allocations: 40.47 kB / 0.6654 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.4374, allocations: 295.4 kB / 0.6656 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4374, allocations: 18.75 kB / 0.6657 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.4375, allocations: 30.53 kB / 0.6657 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.4379, allocations: 324.8 kB / 0.666 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.438, allocations: 4 kB / 0.666 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.438, allocations: 8 kB / 0.666 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.438, allocations: 8 kB / 0.666 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.4384, allocations: 193.1 kB / 0.6662 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.4401, allocations: 1.743 MB / 0.6679 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.4405, allocations: 181.9 kB / 0.6681 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.4407, allocations: 75.75 kB / 0.6681 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006168/0.4413, allocations: 0.5142 MB / 0.6686 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.4413, allocations: 46.5 kB / 0.6687 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.4414, allocations: 0 / 0.6687 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0008148/0.4422, allocations: 343.7 kB / 0.669 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4422, allocations: 110.8 kB / 0.6691 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.4425, allocations: 329.7 kB / 0.6694 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.4426, allocations: 25.7 kB / 0.6695 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.4427, allocations: 199.9 kB / 0.6697 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.4427, allocations: 55.25 kB / 0.6697 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.4428, allocations: 37.72 kB / 0.6697 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4429, allocations: 342.8 kB / 0.6701 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4431, allocations: 63.31 kB / 0.6701 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.4433, allocations: 102 kB / 0.6702 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.4436, allocations: 188 kB / 0.6704 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4436, allocations: 0 / 0.6704 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004969/0.4441, allocations: 258.8 kB / 0.6707 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4441, allocations: 4 kB / 0.6707 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4441, allocations: 0.625 kB / 0.6707 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.4443, allocations: 24.84 kB / 0.6707 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.4445, allocations: 51.97 kB / 0.6707 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009446/0.4454, allocations: 1.382 MB / 0.6721 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.4456, allocations: 35.88 kB / 0.6721 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.4456, allocations: 8 kB / 0.6721 GB, free: 5.281 MB / 0.5137 GB 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.0001305/0.4458, allocations: 149.8 kB / 0.6723 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.4459, allocations: 31.62 kB / 0.6723 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005488/0.4464, allocations: 247.2 kB / 0.6725 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4464, allocations: 5.172 kB / 0.6725 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.4464, allocations: 0 / 0.6725 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4464, allocations: 4 kB / 0.6725 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.4468, allocations: 309.5 kB / 0.6728 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4468, allocations: 11.88 kB / 0.6728 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.447, allocations: 31.98 kB / 0.6729 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.167e-05/0.4471, allocations: 28.84 kB / 0.6729 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.4471, allocations: 0.9375 kB / 0.6729 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008915/0.448, allocations: 1.391 MB / 0.6743 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.448, allocations: 0.5469 kB / 0.6743 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.4486, allocations: 449.8 kB / 0.6747 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/0.4487, allocations: 108.7 kB / 0.6748 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.4488, allocations: 0 / 0.6748 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.4489, allocations: 15.97 kB / 0.6748 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.449, allocations: 15.92 kB / 0.6748 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.449, allocations: 16.48 kB / 0.6748 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002187/0.4492, allocations: 235.2 kB / 0.6751 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4493, allocations: 0 / 0.6751 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004303/0.4497, allocations: 91.83 kB / 0.6752 GB, free: 1.934 MB / 0.5137 GB 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.0002492/0.4499, allocations: 195.7 kB / 0.6753 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005359/0.4505, allocations: 272.5 kB / 0.6756 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4505, allocations: 0 / 0.6756 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.4508, allocations: 186.6 kB / 0.6758 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000656/0.4515, allocations: 98.59 kB / 0.6759 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.4525, allocations: 0.6988 MB / 0.6766 GB, free: 480 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.4529, allocations: 0.7791 MB / 0.6773 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.453, allocations: 45.17 kB / 0.6774 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.4531, allocations: 23.44 kB / 0.6774 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.4531, allocations: 0 / 0.6774 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of Templates: time 0.009071/0.4622, allocations: 5.007 MB / 0.6823 GB, free: 10.75 MB / 0.5294 GB 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches