Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001421/0.001421, allocations: 106.5 kB / 16.45 MB, free: 6.488 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.001602/0.001602, allocations: 216.2 kB / 19.43 MB, free: 3.66 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.432/1.432, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.774/0.774, allocations: 100.3 MB / 409.1 MB, free: 4.785 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_dev_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.004079/0.004079, allocations: 88.56 kB / 0.5582 GB, free: 36.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1428, allocations: 74.43 MB / 0.6309 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4987/0.6416, allocations: 149.9 MB / 0.7773 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01239/0.6539, allocations: 12.11 MB / 0.7891 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007641/0.6547, allocations: 36.78 kB / 0.7891 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000987/0.6557, allocations: 295.9 kB / 0.7894 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.6572, allocations: 0.5644 MB / 0.79 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.6592, allocations: 0.7118 MB / 0.7907 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.6602, allocations: 0.9429 MB / 0.7916 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.6604, allocations: 114.2 kB / 0.7917 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.6609, allocations: 412.7 kB / 0.7921 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/0.6614, allocations: 486.4 kB / 0.7926 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.362e-05/0.6615, allocations: 55.25 kB / 0.7926 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.6634, allocations: 1.061 MB / 0.7936 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.6635, allocations: 160.1 kB / 0.7938 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.664, allocations: 325.4 kB / 0.7941 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.6655, allocations: 1.117 MB / 0.7952 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.6655, allocations: 0 / 0.7952 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.038e-06/0.6655, allocations: 4 kB / 0.7952 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.626e-05/0.6656, allocations: 0 / 0.7952 GB, free: 14.91 MB / 0.5919 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.002099/0.6677, allocations: 1.095 MB / 0.7963 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.6677, allocations: 12.36 kB / 0.7963 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.441e-05/0.6678, allocations: 80.39 kB / 0.7964 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.6679, allocations: 81.48 kB / 0.7964 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006918/0.6686, allocations: 0.5139 MB / 0.7969 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.479e-05/0.6687, allocations: 92.69 kB / 0.797 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.271e-05/0.6688, allocations: 55.14 kB / 0.7971 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.6698, allocations: 0.6495 MB / 0.7977 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.6699, allocations: 5.031 kB / 0.7977 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.6699, allocations: 18.91 kB / 0.7977 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.6699, allocations: 19.88 kB / 0.7978 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009907/0.6709, allocations: 0.6715 MB / 0.7984 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003415/0.6743, allocations: 2.449 MB / 0.8008 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.6754, allocations: 0.585 MB / 0.8014 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/0.6761, allocations: 332.8 kB / 0.8017 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002728/0.6788, allocations: 2.623 MB / 0.8042 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.6788, allocations: 36.91 kB / 0.8043 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.505e-06/0.6788, allocations: 0 / 0.8043 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004186/0.683, allocations: 2.16 MB / 0.8064 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6831, allocations: 59.75 kB / 0.8065 GB, free: 9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.6835, allocations: 434 kB / 0.8069 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.6835, allocations: 38.45 kB / 0.8069 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.6837, allocations: 257.2 kB / 0.8071 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.6839, allocations: 230.6 kB / 0.8074 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.684, allocations: 113.2 kB / 0.8075 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6842, allocations: 375.2 kB / 0.8078 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.6846, allocations: 249.8 kB / 0.8081 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.6852, allocations: 336 kB / 0.8084 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009663/0.6862, allocations: 0.6125 MB / 0.809 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6862, allocations: 0 / 0.809 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001642/0.6878, allocations: 0.8324 MB / 0.8098 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.6878, allocations: 7.594 kB / 0.8098 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.6879, allocations: 1.969 kB / 0.8098 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.6883, allocations: 135.8 kB / 0.8099 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.6887, allocations: 112.2 kB / 0.81 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.6916, allocations: 2.468 MB / 0.8125 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.692, allocations: 22.36 kB / 0.8125 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.6921, allocations: 27.61 kB / 0.8125 GB, free: 5.262 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.0002642/0.6923, allocations: 196.8 kB / 0.8127 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.6924, allocations: 63.45 kB / 0.8128 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.6945, allocations: 1.022 MB / 0.8138 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6945, allocations: 5 kB / 0.8138 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6945, allocations: 2.781 kB / 0.8138 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6945, allocations: 3.984 kB / 0.8138 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.6972, allocations: 1.652 MB / 0.8154 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.6972, allocations: 6.625 kB / 0.8154 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.6976, allocations: 94.69 kB / 0.8155 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000362/0.698, allocations: 136.7 kB / 0.8156 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.698, allocations: 19.33 kB / 0.8156 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002674/0.7007, allocations: 2.408 MB / 0.818 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7007, allocations: 0 / 0.818 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.7028, allocations: 1.252 MB / 0.8192 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.7029, allocations: 135.4 kB / 0.8193 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/0.703, allocations: 11.77 kB / 0.8193 GB, free: 240 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.7034, allocations: 19.89 kB / 0.8194 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.7035, allocations: 53.67 kB / 0.8194 GB, free: 196 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.7036, allocations: 23.33 kB / 0.8194 GB, free: 188 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003784/0.7039, allocations: 333.2 kB / 0.8197 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7039, allocations: 0 / 0.8197 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008923/0.7048, allocations: 284.1 kB / 0.82 GB, free: 15.91 MB / 0.6075 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.003045/0.7079, allocations: 2.071 MB / 0.822 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.7096, allocations: 0.8622 MB / 0.8229 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7096, allocations: 0 / 0.8229 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009197/0.7105, allocations: 0.5553 MB / 0.8234 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.7116, allocations: 210.4 kB / 0.8236 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009389/0.721, allocations: 5.928 MB / 0.8294 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.7216, allocations: 0.9085 MB / 0.8303 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004046/0.722, allocations: 138.4 kB / 0.8304 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.7224, allocations: 235.4 kB / 0.8307 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.7224, allocations: 0 / 0.8307 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05609/0.7785, allocations: 20.16 MB / 0.8503 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.54, allocations: 13.19 kB / 0.8504 GB, free: 7.418 MB / 0.6231 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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_dev_ThermofluidStream.Processes.Tests.Turbine_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.158588947961107]