Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.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.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008427/0.0008428, allocations: 180.9 kB / 15.43 MB, free: 5.766 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.21/1.21, allocations: 225.7 MB / 241.9 MB, free: 392 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.0007306/0.0007305, allocations: 90.86 kB / 293.1 MB, free: 12.92 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.6162/0.6162, allocations: 91.65 MB / 435.8 MB, free: 23.59 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002813, allocations: 8 kB / 0.5038 GB, free: 8.305 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2852, allocations: 69.29 MB / 0.5715 GB, free: 45.69 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.02919/0.3145, allocations: 48.26 MB / 0.6186 GB, free: 7.648 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009141/0.3236, allocations: 12.32 MB / 0.6306 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.3246, allocations: 14.69 kB / 0.6306 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.3259, allocations: 454.2 kB / 0.6311 GB, free: 12.56 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.329, allocations: 1.127 MB / 0.6322 GB, free: 11.88 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.3311, allocations: 0.7916 MB / 0.6329 GB, free: 11.45 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002813/0.334, allocations: 2.269 MB / 0.6351 GB, free: 10.53 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.3344, allocations: 221.6 kB / 0.6354 GB, free: 10.43 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.3363, allocations: 0.7451 MB / 0.6361 GB, free: 10.12 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.3377, allocations: 0.6322 MB / 0.6367 GB, free: 9.852 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.338, allocations: 48.84 kB / 0.6367 GB, free: 9.848 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.3407, allocations: 0.7931 MB / 0.6375 GB, free: 9.621 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004047/0.3411, allocations: 196.2 kB / 0.6377 GB, free: 9.504 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.3422, allocations: 0.5351 MB / 0.6382 GB, free: 9.195 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.3454, allocations: 1.608 MB / 0.6398 GB, free: 8.66 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3454, allocations: 0 / 0.6398 GB, free: 8.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3454, allocations: 0 / 0.6398 GB, free: 8.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.483e-05/0.3455, allocations: 0 / 0.6398 GB, free: 8.66 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00324/0.3487, allocations: 1.296 MB / 0.6411 GB, free: 7.801 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3488, allocations: 9.188 kB / 0.6411 GB, free: 7.801 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005096/0.3493, allocations: 126.6 kB / 0.6412 GB, free: 7.742 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.3504, allocations: 0.5775 MB / 0.6418 GB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.3505, allocations: 94.7 kB / 0.6419 GB, free: 7.266 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.3507, allocations: 97.16 kB / 0.6419 GB, free: 7.227 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.3528, allocations: 0.9978 MB / 0.6429 GB, free: 6.777 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.3528, allocations: 5.469 kB / 0.6429 GB, free: 6.773 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.53e-05/0.3529, allocations: 33.59 kB / 0.643 GB, free: 6.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.3529, allocations: 24.02 kB / 0.643 GB, free: 6.746 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.3548, allocations: 0.9049 MB / 0.6439 GB, free: 6.434 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005958/0.3607, allocations: 4.601 MB / 0.6484 GB, free: 2.816 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.3628, allocations: 1.07 MB / 0.6494 GB, free: 2.266 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008084/0.3637, allocations: 481.8 kB / 0.6499 GB, free: 2.066 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003623/0.3673, allocations: 3.01 MB / 0.6528 GB, free: 15.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3674, allocations: 49.91 kB / 0.6528 GB, free: 15.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=101): time 2.755e-06/0.3674, allocations: 3.938 kB / 0.6529 GB, free: 15.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=114): time 0.009656/0.377, allocations: 4.302 MB / 0.6571 GB, free: 12.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.3771, allocations: 88.98 kB / 0.6571 GB, free: 12.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00072/0.3778, allocations: 0.5569 MB / 0.6577 GB, free: 12.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-05/0.3779, allocations: 42.95 kB / 0.6577 GB, free: 12.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.3782, allocations: 399.2 kB / 0.6581 GB, free: 11.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.3785, allocations: 394.9 kB / 0.6585 GB, free: 11.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.3786, allocations: 28.56 kB / 0.6585 GB, free: 11.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3788, allocations: 397.4 kB / 0.6589 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008776/0.3796, allocations: 404.6 kB / 0.6593 GB, free: 10.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009842/0.3806, allocations: 0.5636 MB / 0.6598 GB, free: 10.56 MB / 474.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.3827, allocations: 1.107 MB / 0.6609 GB, free: 9.848 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3827, allocations: 1.219 kB / 0.6609 GB, free: 9.848 MB / 474.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003303/0.386, allocations: 1.484 MB / 0.6624 GB, free: 8.801 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.386, allocations: 4.312 kB / 0.6624 GB, free: 8.797 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.386, allocations: 12 kB / 0.6624 GB, free: 8.785 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.3872, allocations: 342.5 kB / 0.6627 GB, free: 8.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007693/0.388, allocations: 195.8 kB / 0.6629 GB, free: 8.234 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008967/0.397, allocations: 11.63 MB / 0.6742 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.398, allocations: 71.92 kB / 0.6743 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.3982, allocations: 47.98 kB / 0.6743 GB, free: 11.42 MB / 490.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (112): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006202/0.3988, allocations: 245.5 kB / 0.6746 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.3991, allocations: 86.97 kB / 0.6747 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/0.4027, allocations: 1.588 MB / 0.6762 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.4027, allocations: 12 kB / 0.6762 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.4027, allocations: 4 kB / 0.6762 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.4028, allocations: 7.922 kB / 0.6762 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004976/0.4077, allocations: 2.755 MB / 0.6789 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.4078, allocations: 0 / 0.6789 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007588/0.4085, allocations: 199.8 kB / 0.6791 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.4097, allocations: 358.5 kB / 0.6795 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/0.4098, allocations: 39.92 kB / 0.6795 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008587/0.4184, allocations: 11.62 MB / 0.6908 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4184, allocations: 3.938 kB / 0.6909 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/0.4224, allocations: 2.184 MB / 0.693 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.4227, allocations: 156 kB / 0.6931 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.4229, allocations: 24 kB / 0.6932 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007438/0.4236, allocations: 91.78 kB / 0.6932 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.4238, allocations: 100.9 kB / 0.6933 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.393e-05/0.4239, allocations: 43.97 kB / 0.6934 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004345/0.4244, allocations: 387 kB / 0.6938 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4244, allocations: 0 / 0.6938 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001553/0.426, allocations: 463.8 kB / 0.6942 GB, free: 5.809 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * 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 (96): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,6,100.0%), (1,4,100.0%), (1,1,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007134/0.4267, allocations: 487.4 kB / 0.6947 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003135/0.4298, allocations: 2.123 MB / 0.6967 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4298, allocations: 3.938 kB / 0.6967 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.4319, allocations: 1.63 MB / 0.6983 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.4334, allocations: 284.7 kB / 0.6986 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.4374, allocations: 2.955 MB / 0.7015 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006081/0.438, allocations: 1.032 MB / 0.7025 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007783/0.4388, allocations: 183.3 kB / 0.7027 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.439, allocations: 91.41 kB / 0.7028 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/0.439, allocations: 0 / 0.7028 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.03241/0.4715, allocations: 21.44 MB / 0.7237 GB, free: 7.465 MB / 0.5261 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches