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.001918/0.001918, allocations: 110.4 kB / 18.94 MB, free: 2.797 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.002248/0.002248, allocations: 223.2 kB / 22.26 MB, free: 5.211 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.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.8015/0.8015, allocations: 100.3 MB / 412.7 MB, free: 4.004 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.00243/0.00243, allocations: 81.23 kB / 0.5633 GB, free: 35.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1504, allocations: 74.47 MB / 0.636 GB, free: 7.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.5973/0.7476, allocations: 150.1 MB / 0.7826 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01442/0.7621, allocations: 12.19 MB / 0.7945 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000999/0.7631, allocations: 40.66 kB / 0.7945 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.7642, allocations: 298.4 kB / 0.7948 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.7659, allocations: 0.5642 MB / 0.7954 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.7682, allocations: 0.7223 MB / 0.7961 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001296/0.7695, allocations: 0.9506 MB / 0.797 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.7698, allocations: 105.7 kB / 0.7971 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005815/0.7704, allocations: 411.4 kB / 0.7975 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006951/0.771, allocations: 491.3 kB / 0.798 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.7711, allocations: 54.11 kB / 0.798 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.7735, allocations: 1.066 MB / 0.7991 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.7737, allocations: 156.6 kB / 0.7992 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005224/0.7742, allocations: 326.8 kB / 0.7995 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.7761, allocations: 1.122 MB / 0.8006 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.7761, allocations: 0 / 0.8006 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7761, allocations: 1.203 kB / 0.8006 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.7761, allocations: 0 / 0.8006 GB, free: 14.1 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.002361/0.7784, allocations: 1.022 MB / 0.8016 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.7785, allocations: 9.906 kB / 0.8016 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002374/0.7787, allocations: 85.47 kB / 0.8017 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.7789, allocations: 75.97 kB / 0.8018 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000868/0.7797, allocations: 451 kB / 0.8022 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.7799, allocations: 151.5 kB / 0.8024 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.7799, allocations: 51.11 kB / 0.8024 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.7811, allocations: 0.6578 MB / 0.803 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.7811, allocations: 6.703 kB / 0.8031 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/0.7812, allocations: 18.03 kB / 0.8031 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.7812, allocations: 23.12 kB / 0.8031 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009889/0.7822, allocations: 0.6907 MB / 0.8038 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.786, allocations: 2.395 MB / 0.8061 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.7871, allocations: 0.5946 MB / 0.8067 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/0.7877, allocations: 329.4 kB / 0.807 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.789, allocations: 314.8 kB / 0.8073 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.7891, allocations: 40.38 kB / 0.8073 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.494e-06/0.7891, allocations: 4 kB / 0.8073 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004196/0.7932, allocations: 1.93 MB / 0.8092 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.7933, allocations: 58 kB / 0.8093 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.7937, allocations: 434.6 kB / 0.8097 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.7938, allocations: 39.89 kB / 0.8097 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.794, allocations: 259 kB / 0.81 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.7942, allocations: 228.5 kB / 0.8102 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.7944, allocations: 113.4 kB / 0.8103 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.7946, allocations: 374 kB / 0.8107 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.7951, allocations: 252.3 kB / 0.8109 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/0.7957, allocations: 341 kB / 0.8112 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.7968, allocations: 0.611 MB / 0.8118 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7968, allocations: 1.969 kB / 0.8118 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001884/0.7987, allocations: 0.8399 MB / 0.8126 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7987, allocations: 6.031 kB / 0.8127 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.7988, allocations: 8.875 kB / 0.8127 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/0.7992, allocations: 137.6 kB / 0.8128 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.7997, allocations: 114.7 kB / 0.8129 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.803, allocations: 2.355 MB / 0.8152 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.8033, allocations: 19.77 kB / 0.8152 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.8033, allocations: 33.34 kB / 0.8153 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.0003794/0.8037, allocations: 188.5 kB / 0.8154 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.8039, allocations: 63.39 kB / 0.8155 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.8058, allocations: 1.036 MB / 0.8165 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.8058, allocations: 4.875 kB / 0.8165 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8058, allocations: 5.25 kB / 0.8165 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.8059, allocations: 3.984 kB / 0.8165 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.8087, allocations: 1.627 MB / 0.8181 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.8087, allocations: 2.625 kB / 0.8181 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.8092, allocations: 94.84 kB / 0.8182 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.8095, allocations: 134.2 kB / 0.8183 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.8096, allocations: 22.81 kB / 0.8184 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/0.8124, allocations: 2.31 MB / 0.8206 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.8124, allocations: 0 / 0.8206 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.8145, allocations: 1.251 MB / 0.8218 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.8146, allocations: 58.64 kB / 0.8219 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.8146, allocations: 14.53 kB / 0.8219 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.8149, allocations: 23.67 kB / 0.8219 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.815, allocations: 43.44 kB / 0.822 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.8151, allocations: 23.48 kB / 0.822 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004724/0.8155, allocations: 333.9 kB / 0.8223 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8155, allocations: 0 / 0.8223 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008782/0.8164, allocations: 286.9 kB / 0.8226 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.003236/0.8196, allocations: 2.095 MB / 0.8246 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.8213, allocations: 0.861 MB / 0.8255 GB, free: 340 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8213, allocations: 0 / 0.8255 GB, free: 340 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009597/0.8223, allocations: 0.5666 MB / 0.826 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009983/0.8233, allocations: 204.6 kB / 0.8262 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009163/0.8325, allocations: 5.943 MB / 0.832 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.833, allocations: 0.9051 MB / 0.8329 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004034/0.8334, allocations: 143.2 kB / 0.833 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/0.8339, allocations: 235.7 kB / 0.8333 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.8339, allocations: 0 / 0.8333 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05984/0.8937, allocations: 20.61 MB / 0.8534 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.3, allocations: 10.22 kB / 0.8534 GB, free: 9.102 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: 19.033389854012057]