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.00142/0.00142, 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.001679/0.001679, allocations: 199.3 kB / 16.14 MB, free: 6.715 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6735/0.6735, allocations: 93.72 MB / 383.7 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 81.77 kB / 462.7 MB, free: 22.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1115, allocations: 68.26 MB / 0.5185 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3668/0.4783, allocations: 145.1 MB / 0.6603 GB, free: 1.867 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.4821, allocations: 3.232 MB / 0.6634 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005056/0.4827, allocations: 33.12 kB / 0.6635 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006956/0.4834, allocations: 201 kB / 0.6637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008349/0.4842, allocations: 342.1 kB / 0.664 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000962/0.4852, allocations: 405.9 kB / 0.6644 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007018/0.4859, allocations: 0.8035 MB / 0.6652 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.4862, allocations: 129.9 kB / 0.6653 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009181/0.4871, allocations: 469.1 kB / 0.6657 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.4874, allocations: 293.7 kB / 0.666 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.4875, allocations: 17.91 kB / 0.666 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009604/0.4884, allocations: 0.5458 MB / 0.6666 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.439e-05/0.4885, allocations: 70.88 kB / 0.6666 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.4887, allocations: 205.2 kB / 0.6668 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007868/0.4895, allocations: 0.6251 MB / 0.6674 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4895, allocations: 0 / 0.6674 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.4895, allocations: 0 / 0.6674 GB, free: 12.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4895, allocations: 0 / 0.6674 GB, free: 12.64 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.001124/0.4907, allocations: 0.7953 MB / 0.6682 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.4907, allocations: 10.53 kB / 0.6682 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.207e-05/0.4908, allocations: 52.81 kB / 0.6683 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.4913, allocations: 431.3 kB / 0.6687 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4914, allocations: 19.12 kB / 0.6687 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.4914, allocations: 28.09 kB / 0.6687 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.4919, allocations: 328.8 kB / 0.669 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4919, allocations: 0 / 0.669 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.492, allocations: 11.34 kB / 0.669 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.492, allocations: 7.5 kB / 0.6691 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.4924, allocations: 194.7 kB / 0.6692 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.4941, allocations: 1.783 MB / 0.671 GB, free: 9.469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.4946, allocations: 163.3 kB / 0.6711 GB, free: 9.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.4948, allocations: 72.86 kB / 0.6712 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006859/0.4955, allocations: 0.5274 MB / 0.6717 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.4955, allocations: 40.94 kB / 0.6718 GB, free: 8.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.4955, allocations: 4 kB / 0.6718 GB, free: 8.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.000832/0.4964, allocations: 349.8 kB / 0.6721 GB, free: 8.402 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.4964, allocations: 109.5 kB / 0.6722 GB, free: 8.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.4968, allocations: 440.5 kB / 0.6726 GB, free: 8.004 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4969, allocations: 36.42 kB / 0.6727 GB, free: 7.965 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.497, allocations: 248.3 kB / 0.6729 GB, free: 7.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.4971, allocations: 53.25 kB / 0.6729 GB, free: 7.695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.4972, allocations: 46.55 kB / 0.673 GB, free: 7.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4973, allocations: 365.1 kB / 0.6733 GB, free: 7.305 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.4974, allocations: 54.19 kB / 0.6734 GB, free: 7.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.4976, allocations: 109 kB / 0.6735 GB, free: 7.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.498, allocations: 175.4 kB / 0.6737 GB, free: 7.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.498, allocations: 0 / 0.6737 GB, free: 7.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005013/0.4985, allocations: 273.2 kB / 0.6739 GB, free: 6.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4985, allocations: 11.47 kB / 0.6739 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4985, allocations: 0 / 0.6739 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.4987, allocations: 26.06 kB / 0.674 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.4989, allocations: 47.19 kB / 0.674 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008837/0.4997, allocations: 1.293 MB / 0.6753 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.5, allocations: 29.89 kB / 0.6753 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.5, allocations: 11.88 kB / 0.6753 GB, free: 5.512 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.000154/0.5001, allocations: 150.9 kB / 0.6754 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/0.5002, allocations: 44.22 kB / 0.6755 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005696/0.5008, allocations: 267.7 kB / 0.6757 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5008, allocations: 2.719 kB / 0.6757 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.5009, allocations: 0 / 0.6757 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5009, allocations: 0 / 0.6757 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.5013, allocations: 349.8 kB / 0.6761 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.5013, allocations: 0 / 0.6761 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.5015, allocations: 38.95 kB / 0.6761 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.5016, allocations: 17 kB / 0.6761 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.5016, allocations: 20.42 kB / 0.6762 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008214/0.5024, allocations: 1.28 MB / 0.6774 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5024, allocations: 10.3 kB / 0.6774 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.5031, allocations: 452.1 kB / 0.6778 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.5032, allocations: 124.7 kB / 0.678 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.5032, allocations: 6.906 kB / 0.678 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.5034, allocations: 8.562 kB / 0.678 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.5035, allocations: 11.7 kB / 0.678 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.5035, allocations: 13.08 kB / 0.678 GB, free: 2.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002942/0.5038, allocations: 306.6 kB / 0.6783 GB, free: 2.797 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5038, allocations: 0 / 0.6783 GB, free: 2.797 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004673/0.5043, allocations: 103.2 kB / 0.6784 GB, free: 2.77 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.0002734/0.5046, allocations: 211 kB / 0.6786 GB, free: 2.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.5051, allocations: 259.8 kB / 0.6788 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5051, allocations: 0 / 0.6788 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.5055, allocations: 195 kB / 0.679 GB, free: 2.297 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007974/0.5063, allocations: 96.16 kB / 0.6791 GB, free: 2.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.5076, allocations: 0.975 MB / 0.6801 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5079, allocations: 0.8065 MB / 0.6809 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.5081, allocations: 61.05 kB / 0.6809 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.5082, allocations: 38.14 kB / 0.681 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5082, allocations: 0 / 0.681 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of Templates: time 0.00973/0.5179, allocations: 5.063 MB / 0.6859 GB, free: 14.19 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