Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009771/0.0009769, allocations: 176.4 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 225.7 MB / 241.9 MB, free: 404 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000808/0.0008081, allocations: 88.25 kB / 293.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6597/0.6597, allocations: 91.65 MB / 435.8 MB, free: 23.61 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 8 kB / 0.5038 GB, free: 8.301 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3058, allocations: 69.29 MB / 0.5715 GB, free: 45.62 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1326/0.4384, allocations: 135.7 MB / 0.704 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004044/0.4425, allocations: 4.134 MB / 0.708 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.443, allocations: 7.938 kB / 0.708 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006817/0.4436, allocations: 199 kB / 0.7082 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0008881/0.4446, allocations: 346 kB / 0.7085 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009616/0.4455, allocations: 394.7 kB / 0.7089 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009452/0.4465, allocations: 0.8133 MB / 0.7097 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.4467, allocations: 104.1 kB / 0.7098 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.4478, allocations: 410.2 kB / 0.7102 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.4483, allocations: 286.9 kB / 0.7105 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.4483, allocations: 12 kB / 0.7105 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.4497, allocations: 0.6899 MB / 0.7112 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.4498, allocations: 51.7 kB / 0.7112 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.45, allocations: 200.7 kB / 0.7114 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.451, allocations: 0.6602 MB / 0.712 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.451, allocations: 3.938 kB / 0.712 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4511, allocations: 0 / 0.712 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.4511, allocations: 0 / 0.712 GB, free: 10.18 MB / 0.5105 GB 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.001144/0.4522, allocations: 0.6585 MB / 0.7127 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4523, allocations: 11.98 kB / 0.7127 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.4524, allocations: 40.47 kB / 0.7127 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.4527, allocations: 287.4 kB / 0.713 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.4527, allocations: 16.94 kB / 0.713 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/0.4528, allocations: 28.38 kB / 0.7131 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.4534, allocations: 307.3 kB / 0.7134 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4534, allocations: 0 / 0.7134 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.4534, allocations: 11.98 kB / 0.7134 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4534, allocations: 8 kB / 0.7134 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.4539, allocations: 221.2 kB / 0.7136 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.4557, allocations: 1.558 MB / 0.7151 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.4563, allocations: 259.8 kB / 0.7153 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.4565, allocations: 102.7 kB / 0.7154 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/0.4572, allocations: 469.5 kB / 0.7159 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4572, allocations: 34.56 kB / 0.7159 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 2.014e-06/0.4572, allocations: 0 / 0.7159 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.001024/0.4582, allocations: 467 kB / 0.7164 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.4583, allocations: 106.8 kB / 0.7165 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.4586, allocations: 288.5 kB / 0.7168 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4586, allocations: 25.7 kB / 0.7168 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.4587, allocations: 204 kB / 0.717 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.4588, allocations: 82.75 kB / 0.717 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.4588, allocations: 7.938 kB / 0.7171 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.459, allocations: 342.8 kB / 0.7174 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.4592, allocations: 88.19 kB / 0.7175 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.4594, allocations: 146.9 kB / 0.7176 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.4598, allocations: 249.8 kB / 0.7178 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4599, allocations: 0 / 0.7178 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006369/0.4605, allocations: 325.9 kB / 0.7182 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4605, allocations: 7.938 kB / 0.7182 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4606, allocations: 7.938 kB / 0.7182 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.4607, allocations: 20.86 kB / 0.7182 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.4609, allocations: 60.03 kB / 0.7182 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009792/0.4619, allocations: 1.288 MB / 0.7195 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.4621, allocations: 31.69 kB / 0.7195 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.4622, allocations: 8 kB / 0.7195 GB, free: 1.797 MB / 0.5105 GB 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 (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000155/0.4623, allocations: 157.8 kB / 0.7197 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/0.4624, allocations: 31.62 kB / 0.7197 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007324/0.4632, allocations: 317.2 kB / 0.72 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.4632, allocations: 4 kB / 0.72 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4632, allocations: 0 / 0.72 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4632, allocations: 3.984 kB / 0.72 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.4637, allocations: 357.2 kB / 0.7204 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4637, allocations: 0 / 0.7204 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.4639, allocations: 43.97 kB / 0.7204 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.853e-05/0.464, allocations: 20.84 kB / 0.7204 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.464, allocations: 8 kB / 0.7204 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009181/0.465, allocations: 1.296 MB / 0.7217 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.465, allocations: 0 / 0.7217 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/0.4658, allocations: 0.6217 MB / 0.7223 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.4659, allocations: 112.7 kB / 0.7224 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.466, allocations: 11.94 kB / 0.7224 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.4662, allocations: 19.88 kB / 0.7225 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.4663, allocations: 19.97 kB / 0.7225 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.4663, allocations: 8 kB / 0.7225 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002034/0.4665, allocations: 207.1 kB / 0.7227 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.663e-06/0.4665, allocations: 4 kB / 0.7227 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000515/0.4671, allocations: 111.7 kB / 0.7228 GB, free: 14.23 MB / 0.5261 GB 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 (18): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002892/0.4674, allocations: 195.5 kB / 0.723 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007467/0.4681, allocations: 376.2 kB / 0.7233 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4681, allocations: 0 / 0.7233 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.4686, allocations: 272.2 kB / 0.7236 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.4693, allocations: 68.97 kB / 0.7237 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4708, allocations: 0.9662 MB / 0.7246 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.4712, allocations: 0.7835 MB / 0.7254 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.4714, allocations: 46.22 kB / 0.7254 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.4714, allocations: 19.44 kB / 0.7254 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of SimCode: time 3.9e-07/0.4714, allocations: 0 / 0.7254 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of Templates: time 0.01063/0.4821, allocations: 5.364 MB / 0.7307 GB, free: 6.078 MB / 0.5261 GB 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","../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches