Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001199/0.001199, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6857/0.6857, allocations: 93.71 MB / 384.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 89.78 kB / 463.4 MB, free: 21.97 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1312, allocations: 68.26 MB / 0.5192 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4252/0.5564, allocations: 146.9 MB / 0.6626 GB, free: 256 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004337/0.5608, allocations: 3.153 MB / 0.6657 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005296/0.5614, allocations: 22.69 kB / 0.6657 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007648/0.5621, allocations: 236.2 kB / 0.666 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.5632, allocations: 378.4 kB / 0.6663 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.5645, allocations: 444.6 kB / 0.6667 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007121/0.5652, allocations: 0.6782 MB / 0.6674 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.5655, allocations: 141.2 kB / 0.6675 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.5667, allocations: 489.5 kB / 0.668 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.5672, allocations: 290.5 kB / 0.6683 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.5673, allocations: 22.62 kB / 0.6683 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.5687, allocations: 0.5587 MB / 0.6689 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.5689, allocations: 68.34 kB / 0.6689 GB, free: 11.56 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.5691, allocations: 216.9 kB / 0.6691 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.5706, allocations: 0.6655 MB / 0.6698 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5706, allocations: 0 / 0.6698 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5706, allocations: 0 / 0.6698 GB, free: 10.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.5706, allocations: 0 / 0.6698 GB, free: 10.99 MB / 494.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.001436/0.5721, allocations: 0.7884 MB / 0.6705 GB, free: 10.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5721, allocations: 14.31 kB / 0.6706 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.296e-05/0.5722, allocations: 56.16 kB / 0.6706 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.5728, allocations: 433.1 kB / 0.671 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.5729, allocations: 18.31 kB / 0.671 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.5729, allocations: 26.31 kB / 0.6711 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.5734, allocations: 323.3 kB / 0.6714 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5734, allocations: 0 / 0.6714 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.5735, allocations: 10.97 kB / 0.6714 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.5735, allocations: 10.86 kB / 0.6714 GB, free: 9.629 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.5739, allocations: 195 kB / 0.6716 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.5759, allocations: 1.785 MB / 0.6733 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.5765, allocations: 170.4 kB / 0.6735 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.5767, allocations: 76.92 kB / 0.6736 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006592/0.5773, allocations: 0.5172 MB / 0.6741 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.5774, allocations: 40.94 kB / 0.6741 GB, free: 7.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.953e-06/0.5774, allocations: 4 kB / 0.6741 GB, free: 7 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008827/0.5783, allocations: 373.3 kB / 0.6745 GB, free: 6.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.5784, allocations: 105.7 kB / 0.6746 GB, free: 6.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.5788, allocations: 442.6 kB / 0.675 GB, free: 6.344 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.5789, allocations: 32.42 kB / 0.675 GB, free: 6.309 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.579, allocations: 241.2 kB / 0.6752 GB, free: 6.094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.5791, allocations: 54.62 kB / 0.6753 GB, free: 6.047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/0.5792, allocations: 44.67 kB / 0.6753 GB, free: 6.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5793, allocations: 352.9 kB / 0.6757 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.5795, allocations: 57.86 kB / 0.6757 GB, free: 5.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.5797, allocations: 111.5 kB / 0.6758 GB, free: 5.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.58, allocations: 180.4 kB / 0.676 GB, free: 5.422 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.58, allocations: 0 / 0.676 GB, free: 5.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005477/0.5806, allocations: 262 kB / 0.6763 GB, free: 5.277 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.5806, allocations: 12.03 kB / 0.6763 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5806, allocations: 3.938 kB / 0.6763 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.5808, allocations: 25.38 kB / 0.6763 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.581, allocations: 45.77 kB / 0.6763 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.582, allocations: 1.383 MB / 0.6777 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.5823, allocations: 38.05 kB / 0.6777 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.5823, allocations: 11.56 kB / 0.6777 GB, free: 3.773 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.000175/0.5825, allocations: 151 kB / 0.6779 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5826, allocations: 44.06 kB / 0.6779 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005773/0.5832, allocations: 265 kB / 0.6782 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5832, allocations: 0 / 0.6782 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5832, allocations: 2.438 kB / 0.6782 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5832, allocations: 0 / 0.6782 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.5836, allocations: 354 kB / 0.6785 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5836, allocations: 3.938 kB / 0.6785 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.5838, allocations: 35.23 kB / 0.6786 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.196e-05/0.5839, allocations: 20.66 kB / 0.6786 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.5839, allocations: 12.3 kB / 0.6786 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009557/0.5849, allocations: 1.384 MB / 0.6799 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5849, allocations: 1.781 kB / 0.6799 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.5855, allocations: 464.2 kB / 0.6804 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5857, allocations: 121.2 kB / 0.6805 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.5857, allocations: 5.875 kB / 0.6805 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.5859, allocations: 13.56 kB / 0.6805 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.586, allocations: 19.34 kB / 0.6805 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.586, allocations: 2.688 kB / 0.6805 GB, free: 1.133 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003075/0.5863, allocations: 316.9 kB / 0.6808 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5863, allocations: 0 / 0.6808 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004589/0.5868, allocations: 94.95 kB / 0.6809 GB, free: 0.9219 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.0002893/0.5871, allocations: 202.4 kB / 0.6811 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.5876, allocations: 270.3 kB / 0.6814 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5876, allocations: 0 / 0.6814 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.588, allocations: 191.8 kB / 0.6816 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007905/0.5888, allocations: 109.7 kB / 0.6817 GB, free: 400 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.5901, allocations: 0.8468 MB / 0.6825 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.5905, allocations: 0.8092 MB / 0.6833 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001961/0.5907, allocations: 62.91 kB / 0.6834 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.5908, allocations: 37.67 kB / 0.6834 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.5908, allocations: 0 / 0.6834 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.01082/0.6016, allocations: 5.275 MB / 0.6885 GB, free: 12.35 MB / 0.4981 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches