Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 102.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.9054/0.9054, allocations: 94.56 MB / 403.4 MB, free: 10.14 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 87.16 kB / 0.5499 GB, free: 38.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1883, allocations: 73.02 MB / 0.6212 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.6511/0.8394, allocations: 149.9 MB / 0.7676 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01606/0.8554, allocations: 12.11 MB / 0.7794 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.8565, allocations: 31.62 kB / 0.7795 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.8575, allocations: 293.6 kB / 0.7797 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.8597, allocations: 0.5651 MB / 0.7803 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.8624, allocations: 0.718 MB / 0.781 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.8635, allocations: 0.9427 MB / 0.7819 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.8639, allocations: 116.2 kB / 0.782 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006984/0.8646, allocations: 416.8 kB / 0.7824 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006623/0.8653, allocations: 477.6 kB / 0.7829 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.842e-05/0.8654, allocations: 54.75 kB / 0.7829 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.8679, allocations: 1.067 MB / 0.784 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.868, allocations: 153 kB / 0.7841 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003096/0.8683, allocations: 326.4 kB / 0.7844 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.8702, allocations: 1.124 MB / 0.7855 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.8702, allocations: 3.625 kB / 0.7855 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8702, allocations: 0 / 0.7855 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.8703, allocations: 3.406 kB / 0.7855 GB, free: 1.691 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002525/0.8728, allocations: 1.086 MB / 0.7866 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.8728, allocations: 10.78 kB / 0.7866 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.873, allocations: 89.42 kB / 0.7867 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.8731, allocations: 77.88 kB / 0.7868 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008931/0.874, allocations: 0.5126 MB / 0.7873 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.8741, allocations: 97.89 kB / 0.7874 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.004e-05/0.8742, allocations: 51.61 kB / 0.7874 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.8754, allocations: 0.6517 MB / 0.788 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/0.8755, allocations: 0 / 0.788 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.8755, allocations: 20.47 kB / 0.7881 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.8755, allocations: 23.06 kB / 0.7881 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.8767, allocations: 0.6686 MB / 0.7887 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/0.8803, allocations: 2.455 MB / 0.7911 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.8816, allocations: 0.5828 MB / 0.7917 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.8821, allocations: 322.1 kB / 0.792 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003146/0.8853, allocations: 2.628 MB / 0.7946 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.8853, allocations: 40.75 kB / 0.7946 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.575e-06/0.8853, allocations: 5.094 kB / 0.7946 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.00413/0.8895, allocations: 2.149 MB / 0.7967 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.8895, allocations: 57.5 kB / 0.7968 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.8899, allocations: 429.7 kB / 0.7972 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.89, allocations: 43.17 kB / 0.7972 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.8902, allocations: 260.2 kB / 0.7975 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.8903, allocations: 224.8 kB / 0.7977 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.8905, allocations: 107 kB / 0.7978 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.8907, allocations: 372.3 kB / 0.7982 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.8912, allocations: 256.2 kB / 0.7984 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.8917, allocations: 338.4 kB / 0.7987 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.8927, allocations: 0.6084 MB / 0.7993 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8927, allocations: 0 / 0.7993 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00157/0.8942, allocations: 0.8366 MB / 0.8001 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8942, allocations: 4.594 kB / 0.8001 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.8943, allocations: 10.17 kB / 0.8001 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.8947, allocations: 137.6 kB / 0.8003 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.8951, allocations: 111.9 kB / 0.8004 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.8982, allocations: 2.469 MB / 0.8028 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.8986, allocations: 17.12 kB / 0.8028 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.8986, allocations: 27.58 kB / 0.8028 GB, free: 9.316 MB / 0.5919 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.8989, allocations: 190.4 kB / 0.803 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.8991, allocations: 65.14 kB / 0.8031 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.9012, allocations: 1.031 MB / 0.8041 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.9013, allocations: 6.156 kB / 0.8041 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.9013, allocations: 5.109 kB / 0.8041 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.9013, allocations: 3.641 kB / 0.8041 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.9042, allocations: 1.645 MB / 0.8057 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.9042, allocations: 2.594 kB / 0.8057 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/0.9046, allocations: 97.95 kB / 0.8058 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.905, allocations: 132.8 kB / 0.8059 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.9051, allocations: 21.41 kB / 0.8059 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003221/0.9083, allocations: 2.411 MB / 0.8083 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9083, allocations: 1.094 kB / 0.8083 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.9106, allocations: 1.249 MB / 0.8095 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.9108, allocations: 133.8 kB / 0.8097 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.9108, allocations: 13.05 kB / 0.8097 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.9112, allocations: 21.3 kB / 0.8097 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/0.9113, allocations: 49.94 kB / 0.8097 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.9114, allocations: 23.31 kB / 0.8098 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000442/0.9118, allocations: 331.9 kB / 0.8101 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.9118, allocations: 0 / 0.8101 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001525/0.9134, allocations: 288.7 kB / 0.8103 GB, free: 5.621 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (turbine.m_flow,turbine1.m_flow,turbine1.phi,turbine1.omega) * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003309/0.9167, allocations: 2.071 MB / 0.8124 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.9185, allocations: 0.8585 MB / 0.8132 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.9185, allocations: 3.375 kB / 0.8132 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.9197, allocations: 0.5625 MB / 0.8138 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.9209, allocations: 209.8 kB / 0.814 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.9314, allocations: 5.925 MB / 0.8197 GB, free: 380 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.932, allocations: 0.9015 MB / 0.8206 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004569/0.9324, allocations: 136.3 kB / 0.8208 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/0.9328, allocations: 235.7 kB / 0.821 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of SimCode: time 1.212e-06/0.9328, allocations: 0 / 0.821 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06141/0.9942, allocations: 20.16 MB / 0.8407 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.65, allocations: 7.312 kB / 0.8407 GB, free: 14.91 MB / 0.6231 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv --start-time 0 --stop-time 30 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.03 ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.762897469001473]