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.001072/0.001072, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001521/0.001522, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9372/0.9372, allocations: 89.65 MB / 380.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 10.94 kB / 460 MB, free: 24.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1567, allocations: 68.83 MB / 0.5165 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.5376/0.6944, allocations: 133.3 MB / 0.6466 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00386/0.6983, allocations: 2.897 MB / 0.6495 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005235/0.6988, allocations: 10.78 kB / 0.6495 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007717/0.6996, allocations: 176.7 kB / 0.6496 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.7007, allocations: 327.9 kB / 0.6499 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.7017, allocations: 322.8 kB / 0.6503 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008199/0.7026, allocations: 0.6213 MB / 0.6509 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.7029, allocations: 107.4 kB / 0.651 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009673/0.7038, allocations: 339.5 kB / 0.6513 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.7043, allocations: 242.7 kB / 0.6515 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.7043, allocations: 10.88 kB / 0.6515 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009724/0.7053, allocations: 440.3 kB / 0.6519 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.7054, allocations: 51.11 kB / 0.652 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.7056, allocations: 84.61 kB / 0.6521 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.7062, allocations: 359.6 kB / 0.6524 GB, free: 11.38 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.7062, allocations: 11.88 kB / 0.6524 GB, free: 11.37 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.7062, allocations: 0 / 0.6524 GB, free: 11.37 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.7062, allocations: 4 kB / 0.6524 GB, free: 11.36 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.001307/0.7076, allocations: 0.6214 MB / 0.653 GB, free: 10.81 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.7076, allocations: 10.53 kB / 0.6531 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.7078, allocations: 42.47 kB / 0.6531 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.7082, allocations: 281.8 kB / 0.6534 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.7082, allocations: 21.47 kB / 0.6534 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.7083, allocations: 26.88 kB / 0.6534 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.7089, allocations: 327.3 kB / 0.6537 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.709, allocations: 0 / 0.6537 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.709, allocations: 18.91 kB / 0.6537 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.709, allocations: 7.906 kB / 0.6537 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.7095, allocations: 204.7 kB / 0.6539 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.7116, allocations: 1.757 MB / 0.6557 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.7121, allocations: 177.6 kB / 0.6558 GB, free: 8.324 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.7123, allocations: 85.84 kB / 0.6559 GB, free: 8.266 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006695/0.713, allocations: 0.5353 MB / 0.6564 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.713, allocations: 41.06 kB / 0.6565 GB, free: 7.621 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.713, allocations: 0 / 0.6565 GB, free: 7.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008959/0.7139, allocations: 357.7 kB / 0.6568 GB, free: 7.383 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.714, allocations: 105.7 kB / 0.6569 GB, free: 7.258 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.7144, allocations: 324.1 kB / 0.6572 GB, free: 7.047 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.7144, allocations: 32.77 kB / 0.6572 GB, free: 7.012 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.7146, allocations: 204.9 kB / 0.6574 GB, free: 6.824 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.7147, allocations: 59.03 kB / 0.6575 GB, free: 6.773 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/0.7147, allocations: 0 / 0.6575 GB, free: 6.773 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.7149, allocations: 346.9 kB / 0.6578 GB, free: 6.434 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.715, allocations: 60.19 kB / 0.6579 GB, free: 6.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.7152, allocations: 114.1 kB / 0.658 GB, free: 6.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.7154, allocations: 81.22 kB / 0.6581 GB, free: 6.281 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.7154, allocations: 3.953 kB / 0.6581 GB, free: 6.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005947/0.716, allocations: 255.3 kB / 0.6583 GB, free: 6.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.7161, allocations: 5.812 kB / 0.6583 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.7161, allocations: 0 / 0.6583 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/0.7163, allocations: 27.09 kB / 0.6584 GB, free: 6.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.7165, allocations: 53.94 kB / 0.6584 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.7178, allocations: 1.289 MB / 0.6597 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.718, allocations: 37.77 kB / 0.6597 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.7181, allocations: 9.938 kB / 0.6597 GB, free: 4.742 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.7183, allocations: 147.2 kB / 0.6599 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.7185, allocations: 33.62 kB / 0.6599 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.7191, allocations: 272.9 kB / 0.6601 GB, free: 4.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.7192, allocations: 2.875 kB / 0.6601 GB, free: 4.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.7192, allocations: 2.5 kB / 0.6601 GB, free: 4.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7192, allocations: 0 / 0.6601 GB, free: 4.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.7198, allocations: 315.9 kB / 0.6604 GB, free: 4.113 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.7198, allocations: 3.125 kB / 0.6605 GB, free: 4.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.72, allocations: 35.53 kB / 0.6605 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.7201, allocations: 27.72 kB / 0.6605 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.7201, allocations: 2.844 kB / 0.6605 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.7213, allocations: 1.292 MB / 0.6618 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7214, allocations: 0 / 0.6618 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000681/0.722, allocations: 461.3 kB / 0.6622 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.7222, allocations: 108.7 kB / 0.6623 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.7223, allocations: 6.781 kB / 0.6623 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.7225, allocations: 20.17 kB / 0.6623 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.7226, allocations: 23.45 kB / 0.6624 GB, free: 2.242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.7226, allocations: 3.344 kB / 0.6624 GB, free: 2.242 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002893/0.7229, allocations: 239.5 kB / 0.6626 GB, free: 2.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7229, allocations: 0 / 0.6626 GB, free: 2.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006171/0.7235, allocations: 97.84 kB / 0.6627 GB, free: 2.066 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004348/0.724, allocations: 201.5 kB / 0.6629 GB, free: 1.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007373/0.7247, allocations: 281 kB / 0.6632 GB, free: 1.746 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7247, allocations: 0 / 0.6632 GB, free: 1.746 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.7251, allocations: 200.7 kB / 0.6633 GB, free: 1.594 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008929/0.726, allocations: 86.14 kB / 0.6634 GB, free: 1.547 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.7277, allocations: 0.8459 MB / 0.6643 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.7281, allocations: 0.7844 MB / 0.665 GB, free: 148 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.7283, allocations: 37.78 kB / 0.6651 GB, free: 136 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.7284, allocations: 25.66 kB / 0.6651 GB, free: 124 kB / 478.1 MB Notification: Performance of SimCode: time 1.582e-06/0.7284, allocations: 1.75 kB / 0.6651 GB, free: 124 kB / 478.1 MB Notification: Performance of Templates: time 0.01114/0.7396, allocations: 4.656 MB / 0.6696 GB, free: 13.66 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