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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 108.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7805/0.7805, allocations: 94.59 MB / 397.3 MB, free: 300 kB / 302.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 86.62 kB / 0.5416 GB, free: 42.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1351, allocations: 71.86 MB / 0.6118 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.5436/0.6788, allocations: 149.9 MB / 0.7581 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.6918, allocations: 12.1 MB / 0.7699 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007028/0.6925, allocations: 22.31 kB / 0.77 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009993/0.6935, allocations: 295.8 kB / 0.7702 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.6948, allocations: 0.5648 MB / 0.7708 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.6968, allocations: 0.7161 MB / 0.7715 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.6978, allocations: 0.9428 MB / 0.7724 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004732/0.6983, allocations: 119.5 kB / 0.7725 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006948/0.699, allocations: 408.2 kB / 0.7729 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.6996, allocations: 490.9 kB / 0.7734 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.6999, allocations: 53.56 kB / 0.7734 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.7018, allocations: 1.06 MB / 0.7745 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.7019, allocations: 156.2 kB / 0.7746 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.7022, allocations: 324 kB / 0.7749 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.7037, allocations: 1.112 MB / 0.776 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.7037, allocations: 1.469 kB / 0.776 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.7037, allocations: 1.984 kB / 0.776 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.108e-06/0.7038, allocations: 3 kB / 0.776 GB, free: 2.039 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.00198/0.7057, allocations: 1.092 MB / 0.7771 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.7058, allocations: 10.31 kB / 0.7771 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.423e-05/0.7059, allocations: 91.23 kB / 0.7772 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.7061, allocations: 71.08 kB / 0.7772 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.7071, allocations: 0.5187 MB / 0.7777 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.7072, allocations: 95.55 kB / 0.7778 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.366e-05/0.7073, allocations: 48.31 kB / 0.7779 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.7083, allocations: 0.6578 MB / 0.7785 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.7083, allocations: 0 / 0.7785 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.7084, allocations: 18.19 kB / 0.7785 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.7084, allocations: 21.75 kB / 0.7786 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.7096, allocations: 0.6669 MB / 0.7792 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.7131, allocations: 2.454 MB / 0.7816 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.7141, allocations: 0.5898 MB / 0.7822 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/0.7147, allocations: 327.9 kB / 0.7825 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002929/0.7177, allocations: 2.621 MB / 0.7851 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.7177, allocations: 37.88 kB / 0.7851 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.926e-06/0.7177, allocations: 5.375 kB / 0.7851 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004208/0.7219, allocations: 2.154 MB / 0.7872 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.7221, allocations: 63.56 kB / 0.7873 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.7224, allocations: 429.2 kB / 0.7877 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.7225, allocations: 42.62 kB / 0.7877 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.7226, allocations: 253 kB / 0.788 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.7229, allocations: 235.7 kB / 0.7882 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.723, allocations: 105.8 kB / 0.7883 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.7232, allocations: 371.4 kB / 0.7886 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.7235, allocations: 259.8 kB / 0.7889 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.7241, allocations: 331.5 kB / 0.7892 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.7251, allocations: 0.6116 MB / 0.7898 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7251, allocations: 1.031 kB / 0.7898 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001544/0.7266, allocations: 0.8325 MB / 0.7906 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.7267, allocations: 5.438 kB / 0.7906 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.7267, allocations: 7.453 kB / 0.7906 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004749/0.7271, allocations: 140.7 kB / 0.7908 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.7276, allocations: 108.3 kB / 0.7909 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.7303, allocations: 2.471 MB / 0.7933 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.7306, allocations: 27.33 kB / 0.7933 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.7307, allocations: 24.44 kB / 0.7933 GB, free: 9.723 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.0003577/0.731, allocations: 198.2 kB / 0.7935 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.7311, allocations: 58.91 kB / 0.7936 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.733, allocations: 1.018 MB / 0.7946 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.733, allocations: 7.281 kB / 0.7946 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.733, allocations: 2.312 kB / 0.7946 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.733, allocations: 6.141 kB / 0.7946 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.7356, allocations: 1.652 MB / 0.7962 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.7356, allocations: 2.406 kB / 0.7962 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.7361, allocations: 96.58 kB / 0.7963 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/0.7364, allocations: 135.9 kB / 0.7964 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.7365, allocations: 23.44 kB / 0.7964 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.7391, allocations: 2.405 MB / 0.7988 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7391, allocations: 0 / 0.7988 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.7413, allocations: 1.256 MB / 0.8 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.7414, allocations: 135.1 kB / 0.8001 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/0.7415, allocations: 12.78 kB / 0.8002 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.7418, allocations: 21.97 kB / 0.8002 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.7418, allocations: 40.14 kB / 0.8002 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.7419, allocations: 26.41 kB / 0.8002 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004614/0.7423, allocations: 332.5 kB / 0.8006 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.7423, allocations: 0 / 0.8006 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008058/0.7432, allocations: 289.7 kB / 0.8008 GB, free: 7.117 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.002719/0.7459, allocations: 2.084 MB / 0.8029 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.7473, allocations: 0.8527 MB / 0.8037 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7473, allocations: 1.062 kB / 0.8037 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009249/0.7482, allocations: 0.5593 MB / 0.8042 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.7493, allocations: 205.6 kB / 0.8044 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008587/0.7579, allocations: 5.915 MB / 0.8102 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.7585, allocations: 0.9005 MB / 0.8111 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003925/0.7589, allocations: 137 kB / 0.8112 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.7592, allocations: 236 kB / 0.8115 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.7592, allocations: 0 / 0.8115 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05748/0.8167, allocations: 20.18 MB / 0.8312 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.08, allocations: 8 kB / 0.8312 GB, free: 4.711 MB / 0.6075 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 & /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_2/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: 16.654472469817847]