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.001249/0.001249, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001428/0.001428, allocations: 216.7 kB / 23.04 MB, free: 5.074 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.8385/0.8385, allocations: 100.3 MB / 413.5 MB, free: 3.68 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Turbine",fmuType="cs",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.002565/0.002565, allocations: 80.19 kB / 0.564 GB, free: 35.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1559, allocations: 74.46 MB / 0.6367 GB, free: 7.668 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.5582/0.7141, allocations: 150.1 MB / 0.7833 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.7278, allocations: 12.19 MB / 0.7953 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008951/0.7287, allocations: 32.38 kB / 0.7953 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.7297, allocations: 298.2 kB / 0.7956 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.7316, allocations: 0.5629 MB / 0.7961 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.734, allocations: 0.7343 MB / 0.7968 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.7354, allocations: 0.9481 MB / 0.7978 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.7358, allocations: 103.6 kB / 0.7979 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008819/0.7366, allocations: 413.9 kB / 0.7983 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007455/0.7374, allocations: 486.5 kB / 0.7987 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.7375, allocations: 57.94 kB / 0.7988 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.74, allocations: 1.064 MB / 0.7998 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.7402, allocations: 160.5 kB / 0.8 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004548/0.7407, allocations: 330.9 kB / 0.8003 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.7432, allocations: 1.114 MB / 0.8014 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7432, allocations: 0 / 0.8014 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7432, allocations: 0 / 0.8014 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.7432, allocations: 1.203 kB / 0.8014 GB, free: 14.14 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.002382/0.7456, allocations: 1.026 MB / 0.8024 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.7456, allocations: 11.42 kB / 0.8024 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.069e-05/0.7457, allocations: 11.28 kB / 0.8024 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.7458, allocations: 84.19 kB / 0.8025 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.746, allocations: 79.56 kB / 0.8026 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008593/0.7468, allocations: 446.4 kB / 0.803 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.747, allocations: 153.3 kB / 0.8031 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.486e-05/0.7471, allocations: 51.58 kB / 0.8032 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.7482, allocations: 0.66 MB / 0.8038 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.7482, allocations: 4 kB / 0.8038 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.576e-05/0.7483, allocations: 19.5 kB / 0.8038 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.7483, allocations: 21 kB / 0.8039 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.7494, allocations: 0.6828 MB / 0.8045 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/0.7532, allocations: 2.404 MB / 0.8069 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.7544, allocations: 0.5915 MB / 0.8075 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006286/0.755, allocations: 343.9 kB / 0.8078 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/0.7564, allocations: 308.4 kB / 0.8081 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.7565, allocations: 37.25 kB / 0.8081 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.915e-06/0.7565, allocations: 2.719 kB / 0.8081 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004295/0.7608, allocations: 1.93 MB / 0.81 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.7609, allocations: 61.47 kB / 0.8101 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.7613, allocations: 433.7 kB / 0.8105 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.7614, allocations: 36.33 kB / 0.8105 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.7616, allocations: 262.8 kB / 0.8108 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.7618, allocations: 224.9 kB / 0.811 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.762, allocations: 113.2 kB / 0.8111 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.7621, allocations: 373.3 kB / 0.8114 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.7626, allocations: 257 kB / 0.8117 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.7632, allocations: 335.9 kB / 0.812 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.7643, allocations: 0.6157 MB / 0.8126 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7643, allocations: 2.625 kB / 0.8126 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00165/0.7659, allocations: 0.834 MB / 0.8134 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.7659, allocations: 9.141 kB / 0.8134 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.766, allocations: 2.469 kB / 0.8134 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/0.7664, allocations: 139.8 kB / 0.8136 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.7669, allocations: 110.2 kB / 0.8137 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003231/0.7702, allocations: 2.37 MB / 0.816 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.7706, allocations: 21.44 kB / 0.816 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.7707, allocations: 25.48 kB / 0.816 GB, free: 7.332 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.0003881/0.7711, allocations: 192.4 kB / 0.8162 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.7712, allocations: 66.2 kB / 0.8163 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.7733, allocations: 1.029 MB / 0.8173 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.7733, allocations: 5.062 kB / 0.8173 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7733, allocations: 2.719 kB / 0.8173 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.7733, allocations: 7.984 kB / 0.8173 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/0.7766, allocations: 1.629 MB / 0.8189 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.7766, allocations: 6.5 kB / 0.8189 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.7771, allocations: 99.58 kB / 0.819 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004359/0.7775, allocations: 123.7 kB / 0.8191 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.7776, allocations: 27.47 kB / 0.8191 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.7806, allocations: 2.301 MB / 0.8214 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7806, allocations: 3.938 kB / 0.8214 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.783, allocations: 1.259 MB / 0.8226 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.7832, allocations: 59.14 kB / 0.8227 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.7833, allocations: 10.75 kB / 0.8227 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.7838, allocations: 19.36 kB / 0.8227 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.7839, allocations: 43.81 kB / 0.8227 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/0.7839, allocations: 27.64 kB / 0.8228 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000504/0.7844, allocations: 329.9 kB / 0.8231 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.7844, allocations: 0 / 0.8231 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001158/0.7856, allocations: 291.8 kB / 0.8234 GB, free: 2.23 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.003337/0.7889, allocations: 2.08 MB / 0.8254 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.7908, allocations: 0.8687 MB / 0.8262 GB, free: 348 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7908, allocations: 0 / 0.8262 GB, free: 348 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.7919, allocations: 0.5728 MB / 0.8268 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.7931, allocations: 212.4 kB / 0.827 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009951/0.803, allocations: 5.941 MB / 0.8328 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/0.8036, allocations: 0.9062 MB / 0.8337 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004795/0.8041, allocations: 135.5 kB / 0.8338 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.8045, allocations: 240.1 kB / 0.834 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of SimCode: time 8.22e-07/0.8045, allocations: 0 / 0.834 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05694/0.8614, allocations: 20.62 MB / 0.8542 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.74, allocations: 14.22 kB / 0.8542 GB, free: 9.082 MB / 0.6231 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Turbine_fmu --startTime=0 --stopTime=30 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.630888122948818]