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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.001755/0.001755, allocations: 104.9 kB / 15.98 MB, free: 5.891 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.001897/0.001897, allocations: 189.1 kB / 16.91 MB, free: 5.746 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.465/1.465, allocations: 222.9 MB / 240.6 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6803/0.6803, allocations: 89.47 MB / 380.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 78.53 kB / 458.4 MB, free: 23.83 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1086, allocations: 67.3 MB / 0.5134 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3632/0.4718, allocations: 145 MB / 0.6549 GB, free: 9.25 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003901/0.4758, allocations: 3.108 MB / 0.658 GB, free: 6.711 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004094/0.4762, allocations: 8.594 kB / 0.658 GB, free: 6.707 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.4769, allocations: 203.1 kB / 0.6582 GB, free: 6.543 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008576/0.4778, allocations: 305.8 kB / 0.6585 GB, free: 6.301 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.4789, allocations: 420.6 kB / 0.6589 GB, free: 5.996 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006344/0.4795, allocations: 0.5809 MB / 0.6594 GB, free: 5.656 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.4798, allocations: 121.7 kB / 0.6595 GB, free: 5.598 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009161/0.4807, allocations: 422.5 kB / 0.6599 GB, free: 5.336 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.481, allocations: 276.5 kB / 0.6602 GB, free: 5.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.4811, allocations: 25.72 kB / 0.6602 GB, free: 5.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009713/0.482, allocations: 0.5667 MB / 0.6608 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.4821, allocations: 65.89 kB / 0.6608 GB, free: 4.852 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.4823, allocations: 179 kB / 0.661 GB, free: 4.742 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.4829, allocations: 422.4 kB / 0.6614 GB, free: 4.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4829, allocations: 0 / 0.6614 GB, free: 4.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4829, allocations: 0 / 0.6614 GB, free: 4.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.4829, allocations: 0 / 0.6614 GB, free: 4.48 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.001126/0.484, allocations: 0.6841 MB / 0.6621 GB, free: 3.879 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.4841, allocations: 9.781 kB / 0.6621 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.514e-05/0.4841, allocations: 40.78 kB / 0.6621 GB, free: 3.859 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.4845, allocations: 298.6 kB / 0.6624 GB, free: 3.566 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.4845, allocations: 19.28 kB / 0.6624 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.4846, allocations: 26.47 kB / 0.6625 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.4851, allocations: 323.7 kB / 0.6628 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4851, allocations: 0 / 0.6628 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.4852, allocations: 10.72 kB / 0.6628 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.4852, allocations: 10.78 kB / 0.6628 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.4856, allocations: 200.4 kB / 0.663 GB, free: 3.203 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.4875, allocations: 1.75 MB / 0.6647 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.4879, allocations: 171.6 kB / 0.6649 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.4881, allocations: 69.05 kB / 0.6649 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007169/0.4888, allocations: 0.5201 MB / 0.6654 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.4889, allocations: 42.5 kB / 0.6655 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.4889, allocations: 2.094 kB / 0.6655 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008331/0.4897, allocations: 339.3 kB / 0.6658 GB, free: 464 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.4898, allocations: 109.2 kB / 0.6659 GB, free: 332 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.4901, allocations: 334.2 kB / 0.6662 GB, free: 112 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.4902, allocations: 25.7 kB / 0.6662 GB, free: 80 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.4903, allocations: 206 kB / 0.6664 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.4904, allocations: 50.05 kB / 0.6665 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.4905, allocations: 41.2 kB / 0.6665 GB, free: 15.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4906, allocations: 345.6 kB / 0.6669 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.4908, allocations: 57.44 kB / 0.6669 GB, free: 15.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.491, allocations: 116 kB / 0.667 GB, free: 15.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.4913, allocations: 173.1 kB / 0.6672 GB, free: 15.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4913, allocations: 2.844 kB / 0.6672 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004898/0.4918, allocations: 261.1 kB / 0.6674 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4918, allocations: 5.375 kB / 0.6674 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4918, allocations: 2.375 kB / 0.6674 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.492, allocations: 29.62 kB / 0.6675 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.4922, allocations: 51.19 kB / 0.6675 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.4934, allocations: 1.381 MB / 0.6689 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.4935, allocations: 33.64 kB / 0.6689 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.4936, allocations: 12.98 kB / 0.6689 GB, free: 13.57 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.0001417/0.4937, allocations: 140.5 kB / 0.669 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.4938, allocations: 34.28 kB / 0.6691 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.4944, allocations: 250.2 kB / 0.6693 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4944, allocations: 6.547 kB / 0.6693 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4944, allocations: 2.719 kB / 0.6693 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4944, allocations: 0 / 0.6693 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.4948, allocations: 316.9 kB / 0.6696 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4949, allocations: 3.938 kB / 0.6696 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.495, allocations: 31.55 kB / 0.6697 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.803e-05/0.4951, allocations: 30.3 kB / 0.6697 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4952, allocations: 2.531 kB / 0.6697 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.4962, allocations: 1.391 MB / 0.6711 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4963, allocations: 6.75 kB / 0.6711 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.4969, allocations: 432.5 kB / 0.6715 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.676e-05/0.497, allocations: 116.4 kB / 0.6716 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.497, allocations: 2.594 kB / 0.6716 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.4972, allocations: 19.45 kB / 0.6716 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.4973, allocations: 16.77 kB / 0.6716 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4973, allocations: 4.719 kB / 0.6716 GB, free: 11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.4975, allocations: 239.7 kB / 0.6719 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4975, allocations: 0 / 0.6719 GB, free: 10.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004288/0.498, allocations: 97.12 kB / 0.6719 GB, free: 10.82 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.0002815/0.4983, allocations: 194.4 kB / 0.6721 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005455/0.4988, allocations: 269.5 kB / 0.6724 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4988, allocations: 3.938 kB / 0.6724 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.4992, allocations: 195.8 kB / 0.6726 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/0.4999, allocations: 92.38 kB / 0.6727 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.5012, allocations: 0.8459 MB / 0.6735 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.5016, allocations: 0.7779 MB / 0.6743 GB, free: 8.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.5017, allocations: 33.23 kB / 0.6743 GB, free: 8.887 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5017, allocations: 0 / 0.6743 GB, free: 8.887 MB / 494.1 MB Notification: Performance of Templates: time 0.008522/0.5102, allocations: 6.272 MB / 0.6804 GB, free: 5.57 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches