Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.0008773/0.0008774, allocations: 175.8 kB / 15.43 MB, free: 5.707 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.202/1.202, allocations: 225.7 MB / 241.9 MB, free: 208 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.0007249/0.0007247, allocations: 92.58 kB / 293.1 MB, free: 12.86 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6034/0.6034, allocations: 90.99 MB / 435.2 MB, free: 24.4 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003976, allocations: 8 kB / 0.503 GB, free: 9.398 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2721, allocations: 69.1 MB / 0.5704 GB, free: 45.61 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1196/0.3917, allocations: 135.7 MB / 0.703 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003387/0.3951, allocations: 4.126 MB / 0.707 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.3953, allocations: 11.94 kB / 0.707 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.3958, allocations: 187 kB / 0.7072 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005809/0.3964, allocations: 346.1 kB / 0.7075 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/0.3971, allocations: 394.6 kB / 0.7079 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006382/0.3978, allocations: 0.8132 MB / 0.7087 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3979, allocations: 104.1 kB / 0.7088 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006861/0.3986, allocations: 422.2 kB / 0.7092 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.399, allocations: 282.8 kB / 0.7094 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.399, allocations: 12 kB / 0.7095 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.4, allocations: 0.6899 MB / 0.7101 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.4001, allocations: 51.66 kB / 0.7102 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.4003, allocations: 192.8 kB / 0.7104 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007546/0.401, allocations: 0.668 MB / 0.711 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.401, allocations: 0 / 0.711 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.092e-06/0.401, allocations: 4 kB / 0.711 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.401, allocations: 0 / 0.711 GB, free: 11.34 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.0009557/0.402, allocations: 0.6429 MB / 0.7116 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.402, allocations: 11.98 kB / 0.7117 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.4021, allocations: 40.47 kB / 0.7117 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.4024, allocations: 303.4 kB / 0.712 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.4024, allocations: 16.94 kB / 0.712 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.4025, allocations: 32.28 kB / 0.712 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.403, allocations: 307.3 kB / 0.7123 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.403, allocations: 0 / 0.7123 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.403, allocations: 12 kB / 0.7123 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.403, allocations: 8 kB / 0.7123 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.4035, allocations: 219.8 kB / 0.7126 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.405, allocations: 1.558 MB / 0.7141 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.4055, allocations: 255.8 kB / 0.7143 GB, free: 7.637 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.4057, allocations: 106.6 kB / 0.7144 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005757/0.4063, allocations: 477.4 kB / 0.7149 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.4064, allocations: 42.56 kB / 0.7149 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.4064, allocations: 0 / 0.7149 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.0009059/0.4073, allocations: 459 kB / 0.7154 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.4073, allocations: 106.8 kB / 0.7155 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.4076, allocations: 292.5 kB / 0.7157 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.4076, allocations: 29.7 kB / 0.7158 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4078, allocations: 192.1 kB / 0.7159 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.4078, allocations: 86.75 kB / 0.716 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.4078, allocations: 4 kB / 0.716 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.408, allocations: 342.8 kB / 0.7164 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.4081, allocations: 88.2 kB / 0.7164 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.4084, allocations: 151.6 kB / 0.7166 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.4088, allocations: 241.8 kB / 0.7168 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4088, allocations: 0 / 0.7168 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000548/0.4093, allocations: 321.9 kB / 0.7171 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4093, allocations: 12.12 kB / 0.7171 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4094, allocations: 4.094 kB / 0.7171 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.4095, allocations: 32.91 kB / 0.7172 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.4097, allocations: 55.91 kB / 0.7172 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008314/0.4105, allocations: 1.292 MB / 0.7185 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.4107, allocations: 43.7 kB / 0.7185 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.4107, allocations: 8 kB / 0.7185 GB, free: 2.934 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.0001298/0.4109, allocations: 146.4 kB / 0.7187 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.411, allocations: 31.62 kB / 0.7187 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006306/0.4116, allocations: 321.2 kB / 0.719 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4116, allocations: 4 kB / 0.719 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.4116, allocations: 0 / 0.719 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4116, allocations: 4 kB / 0.719 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.4121, allocations: 349.3 kB / 0.7194 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4121, allocations: 4 kB / 0.7194 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.4123, allocations: 39.92 kB / 0.7194 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-05/0.4123, allocations: 28.75 kB / 0.7194 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.4124, allocations: 7.984 kB / 0.7194 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007624/0.4131, allocations: 1.288 MB / 0.7207 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4132, allocations: 4.031 kB / 0.7207 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007625/0.4139, allocations: 0.6196 MB / 0.7213 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.414, allocations: 112.7 kB / 0.7214 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.4141, allocations: 7.938 kB / 0.7214 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.4143, allocations: 19.92 kB / 0.7214 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.4143, allocations: 19.98 kB / 0.7215 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.4144, allocations: 11.98 kB / 0.7215 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001818/0.4146, allocations: 203.1 kB / 0.7217 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.4146, allocations: 0 / 0.7217 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004466/0.415, allocations: 107.8 kB / 0.7218 GB, free: 15.39 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.0002824/0.4153, allocations: 204.6 kB / 0.722 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006665/0.416, allocations: 377.7 kB / 0.7223 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.416, allocations: 0 / 0.7223 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.4164, allocations: 264.4 kB / 0.7226 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.4171, allocations: 82.41 kB / 0.7226 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.4184, allocations: 0.9522 MB / 0.7236 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4187, allocations: 0.7797 MB / 0.7243 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.4189, allocations: 50.22 kB / 0.7244 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.4189, allocations: 23.44 kB / 0.7244 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/0.4189, allocations: 0 / 0.7244 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of Templates: time 0.009027/0.428, allocations: 5.375 MB / 0.7297 GB, free: 7.23 MB / 0.5261 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches