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.00122/0.00122, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001389/0.001389, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7009/0.7009, allocations: 91.2 MB / 381.3 MB, free: 9.559 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 82.91 kB / 459.8 MB, free: 23.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1153, allocations: 67.69 MB / 0.5151 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3998/0.5151, allocations: 145.3 MB / 0.657 GB, free: 6.141 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.5189, allocations: 3.203 MB / 0.6602 GB, free: 3.516 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.5195, allocations: 29.41 kB / 0.6602 GB, free: 3.504 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007641/0.5204, allocations: 206.1 kB / 0.6604 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009198/0.5213, allocations: 334.5 kB / 0.6607 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.5224, allocations: 431.5 kB / 0.6611 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007124/0.5231, allocations: 0.6719 MB / 0.6618 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.5233, allocations: 134.8 kB / 0.6619 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000979/0.5243, allocations: 489.9 kB / 0.6624 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.5246, allocations: 293.8 kB / 0.6626 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.5247, allocations: 25.12 kB / 0.6627 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.5258, allocations: 0.5613 MB / 0.6632 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.5259, allocations: 74.11 kB / 0.6633 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.5261, allocations: 217.2 kB / 0.6635 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009672/0.5271, allocations: 0.6725 MB / 0.6642 GB, free: 0.918 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5271, allocations: 6.391 kB / 0.6642 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5271, allocations: 0 / 0.6642 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.5271, allocations: 0 / 0.6642 GB, free: 0.9141 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.001181/0.5283, allocations: 0.7836 MB / 0.6649 GB, free: 244 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5283, allocations: 10.31 kB / 0.6649 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.5285, allocations: 57.11 kB / 0.665 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/0.5291, allocations: 428.9 kB / 0.6654 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5291, allocations: 21.41 kB / 0.6654 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.5292, allocations: 26.12 kB / 0.6654 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.5297, allocations: 323.4 kB / 0.6657 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5298, allocations: 0 / 0.6657 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.5298, allocations: 10.03 kB / 0.6658 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.5298, allocations: 11.69 kB / 0.6658 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.5302, allocations: 194.7 kB / 0.666 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.5322, allocations: 1.787 MB / 0.6677 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.5326, allocations: 171.4 kB / 0.6679 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.5328, allocations: 77.28 kB / 0.6679 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006828/0.5335, allocations: 0.5232 MB / 0.6684 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5335, allocations: 37.03 kB / 0.6685 GB, free: 12.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.5335, allocations: 4 kB / 0.6685 GB, free: 12.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008711/0.5344, allocations: 358.1 kB / 0.6688 GB, free: 12.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.5345, allocations: 109.1 kB / 0.6689 GB, free: 12.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/0.5349, allocations: 436.3 kB / 0.6694 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.5349, allocations: 36.42 kB / 0.6694 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.5352, allocations: 245.1 kB / 0.6696 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.5352, allocations: 52.12 kB / 0.6697 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.5353, allocations: 51.17 kB / 0.6697 GB, free: 11.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5355, allocations: 356.7 kB / 0.6701 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.5356, allocations: 50.47 kB / 0.6701 GB, free: 11.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.5358, allocations: 107.7 kB / 0.6702 GB, free: 11.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.5361, allocations: 179.7 kB / 0.6704 GB, free: 11.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5361, allocations: 0 / 0.6704 GB, free: 11.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005003/0.5367, allocations: 261.5 kB / 0.6706 GB, free: 11.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5367, allocations: 10.12 kB / 0.6706 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5367, allocations: 2.094 kB / 0.6706 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.5369, allocations: 25.28 kB / 0.6707 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.537, allocations: 53.53 kB / 0.6707 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.5381, allocations: 1.376 MB / 0.6721 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.5383, allocations: 38.95 kB / 0.6721 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.5384, allocations: 13.73 kB / 0.6721 GB, free: 9.703 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.0001744/0.5385, allocations: 151.5 kB / 0.6723 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.5387, allocations: 45.81 kB / 0.6723 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006393/0.5393, allocations: 266.5 kB / 0.6726 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5393, allocations: 6.953 kB / 0.6726 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5393, allocations: 0 / 0.6726 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.5393, allocations: 10.33 kB / 0.6726 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.5398, allocations: 347.2 kB / 0.6729 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5398, allocations: 3.938 kB / 0.6729 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.54, allocations: 39.5 kB / 0.6729 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.265e-05/0.5401, allocations: 23.06 kB / 0.673 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.5401, allocations: 6.406 kB / 0.673 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.5412, allocations: 1.378 MB / 0.6743 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5412, allocations: 0 / 0.6743 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/0.5419, allocations: 460 kB / 0.6748 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.542, allocations: 118.4 kB / 0.6749 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.542, allocations: 6.406 kB / 0.6749 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.5422, allocations: 19.8 kB / 0.6749 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.5423, allocations: 12.27 kB / 0.6749 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.5423, allocations: 6.062 kB / 0.6749 GB, free: 7.074 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003326/0.5427, allocations: 310.2 kB / 0.6752 GB, free: 6.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5427, allocations: 0 / 0.6752 GB, free: 6.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005166/0.5432, allocations: 100 kB / 0.6753 GB, free: 6.863 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.0003403/0.5436, allocations: 206.5 kB / 0.6755 GB, free: 6.723 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.5442, allocations: 277.5 kB / 0.6758 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5442, allocations: 0 / 0.6758 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.5445, allocations: 188 kB / 0.6759 GB, free: 6.387 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/0.5454, allocations: 108.5 kB / 0.676 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.5469, allocations: 0.9614 MB / 0.677 GB, free: 5.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.5473, allocations: 0.8166 MB / 0.6778 GB, free: 4.848 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.5475, allocations: 54.3 kB / 0.6778 GB, free: 4.824 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.5476, allocations: 34.22 kB / 0.6779 GB, free: 4.812 MB / 494.1 MB Notification: Performance of SimCode: time 2.044e-06/0.5476, allocations: 4 kB / 0.6779 GB, free: 4.809 MB / 494.1 MB Notification: Performance of Templates: time 0.01011/0.5577, allocations: 5.226 MB / 0.683 GB, free: 2.191 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