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.001734/0.001734, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002103/0.002103, allocations: 217.7 kB / 22.26 MB, free: 5.113 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.615/1.615, allocations: 230.6 MB / 256 MB, free: 8.23 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.8375/0.8375, allocations: 94.56 MB / 407 MB, free: 9.203 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.002634/0.002634, allocations: 85.7 kB / 0.555 GB, free: 38.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1367, allocations: 73.06 MB / 0.6263 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.6319/0.7685, allocations: 150.1 MB / 0.7729 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.7881, allocations: 12.2 MB / 0.7848 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.7892, allocations: 32.28 kB / 0.7849 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.7906, allocations: 298.5 kB / 0.7851 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.7929, allocations: 0.5644 MB / 0.7857 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.7958, allocations: 0.7306 MB / 0.7864 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.7977, allocations: 0.9463 MB / 0.7873 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.798, allocations: 107.2 kB / 0.7874 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008603/0.7988, allocations: 413.1 kB / 0.7878 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000721/0.7996, allocations: 482.8 kB / 0.7883 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002457/0.7998, allocations: 53.56 kB / 0.7883 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002807/0.8026, allocations: 1.074 MB / 0.7894 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.8028, allocations: 154.3 kB / 0.7895 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.8031, allocations: 328.8 kB / 0.7898 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.8055, allocations: 1.117 MB / 0.7909 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8055, allocations: 4 kB / 0.7909 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8055, allocations: 0 / 0.7909 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.8055, allocations: 0 / 0.7909 GB, free: 2.004 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.002584/0.8081, allocations: 1.018 MB / 0.7919 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.8081, allocations: 10.91 kB / 0.7919 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.8082, allocations: 89.34 kB / 0.792 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.8086, allocations: 82.69 kB / 0.7921 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007781/0.8093, allocations: 447.1 kB / 0.7925 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.8095, allocations: 153.3 kB / 0.7927 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.8097, allocations: 47.55 kB / 0.7927 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.8109, allocations: 0.6572 MB / 0.7934 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.8109, allocations: 3.641 kB / 0.7934 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.811, allocations: 20.25 kB / 0.7934 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.811, allocations: 22.09 kB / 0.7934 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.8122, allocations: 0.6895 MB / 0.7941 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.8162, allocations: 2.393 MB / 0.7964 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.8175, allocations: 0.5924 MB / 0.797 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006842/0.8181, allocations: 326.9 kB / 0.7973 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/0.8196, allocations: 318.8 kB / 0.7976 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.8197, allocations: 38.78 kB / 0.7977 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.615e-06/0.8197, allocations: 0 / 0.7977 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004247/0.8239, allocations: 1.941 MB / 0.7996 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.824, allocations: 62.22 kB / 0.7996 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.8246, allocations: 428.9 kB / 0.8 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.8247, allocations: 39.05 kB / 0.8001 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.8248, allocations: 258.3 kB / 0.8003 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.825, allocations: 230.7 kB / 0.8005 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.8251, allocations: 112 kB / 0.8006 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.8253, allocations: 370 kB / 0.801 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/0.8258, allocations: 258.5 kB / 0.8012 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.8264, allocations: 335 kB / 0.8016 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009442/0.8273, allocations: 0.6136 MB / 0.8021 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8273, allocations: 3.406 kB / 0.8022 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001763/0.8291, allocations: 0.8458 MB / 0.803 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.8291, allocations: 7.641 kB / 0.803 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.8291, allocations: 9.375 kB / 0.803 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.8296, allocations: 130.8 kB / 0.8031 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.8301, allocations: 115.5 kB / 0.8032 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/0.8337, allocations: 2.36 MB / 0.8055 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.8343, allocations: 22.08 kB / 0.8056 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/0.8343, allocations: 24.66 kB / 0.8056 GB, free: 13.08 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.0003764/0.8347, allocations: 187.8 kB / 0.8058 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.8348, allocations: 65.39 kB / 0.8058 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.8369, allocations: 1.031 MB / 0.8068 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.8369, allocations: 5.375 kB / 0.8068 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8369, allocations: 2.812 kB / 0.8068 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.837, allocations: 4.125 kB / 0.8068 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.84, allocations: 1.631 MB / 0.8084 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.84, allocations: 5.531 kB / 0.8084 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.8405, allocations: 93.55 kB / 0.8085 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003975/0.8409, allocations: 133.4 kB / 0.8087 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.8409, allocations: 24.5 kB / 0.8087 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/0.8441, allocations: 2.304 MB / 0.8109 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8441, allocations: 3 kB / 0.8109 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.8464, allocations: 1.257 MB / 0.8122 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.8466, allocations: 51.8 kB / 0.8122 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.955e-05/0.8467, allocations: 20.7 kB / 0.8122 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.8471, allocations: 23 kB / 0.8122 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.8472, allocations: 53.64 kB / 0.8123 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.8473, allocations: 21.58 kB / 0.8123 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004183/0.8477, allocations: 334.2 kB / 0.8126 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.8477, allocations: 0 / 0.8126 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001122/0.8488, allocations: 285.2 kB / 0.8129 GB, free: 9.078 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.003394/0.8522, allocations: 2.082 MB / 0.8149 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001916/0.8541, allocations: 0.8594 MB / 0.8158 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8541, allocations: 0 / 0.8158 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.8552, allocations: 0.567 MB / 0.8163 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.8563, allocations: 210.1 kB / 0.8165 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.8667, allocations: 5.941 MB / 0.8223 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009282/0.8677, allocations: 0.9013 MB / 0.8232 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005797/0.8683, allocations: 140 kB / 0.8234 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/0.8688, allocations: 235.7 kB / 0.8236 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of SimCode: time 3.246e-06/0.8688, allocations: 0 / 0.8236 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07446/0.9432, allocations: 20.61 MB / 0.8437 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/16.55, allocations: 2.969 kB / 0.8437 GB, free: 1.426 MB / 0.6075 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine_fmu --startTime=0 --stopTime=30 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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: 20.512885035946965]