Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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: translateModel(ThermofluidStream.Examples.SimpleGasTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.I.y|Time|compressor.m_flow|compressor.omega|inertia.phi|turbine.m_flow|volume.M|volume.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine") translateModel(ThermofluidStream.Examples.SimpleGasTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.I.y|Time|compressor.m_flow|compressor.omega|inertia.phi|turbine.m_flow|volume.M|volume.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 115.5 kB / 16.42 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 184.5 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6563/0.6563, allocations: 91.18 MB / 382.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 76.16 kB / 0.5175 GB, free: 4.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2706, allocations: 67.69 MB / 0.5836 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleGasTurbine): time 0.4625/0.7331, allocations: 188.9 MB / 0.7681 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01859/0.7517, allocations: 25.05 MB / 0.7926 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.7529, allocations: 47.28 kB / 0.7926 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.754, allocations: 447.5 kB / 0.793 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.756, allocations: 0.8833 MB / 0.7939 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003366/0.7594, allocations: 1.536 MB / 0.7954 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.7608, allocations: 1.618 MB / 0.797 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004823/0.7613, allocations: 368.2 kB / 0.7973 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.7626, allocations: 0.8984 MB / 0.7982 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.7631, allocations: 0.5729 MB / 0.7988 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.7632, allocations: 94.66 kB / 0.7989 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.7656, allocations: 1.171 MB / 0.8 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.7658, allocations: 245 kB / 0.8002 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004063/0.7662, allocations: 0.5791 MB / 0.8008 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.7686, allocations: 1.971 MB / 0.8027 GB, free: 108 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.7686, allocations: 0.875 kB / 0.8027 GB, free: 108 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7686, allocations: 0 / 0.8027 GB, free: 108 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.7686, allocations: 6.469 kB / 0.8027 GB, free: 104 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002708/0.7714, allocations: 1.648 MB / 0.8043 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.7714, allocations: 11.78 kB / 0.8043 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.7727, allocations: 226.2 kB / 0.8046 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.7739, allocations: 0.8159 MB / 0.8054 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.7741, allocations: 122.3 kB / 0.8055 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.7742, allocations: 90.16 kB / 0.8056 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.7757, allocations: 0.9266 MB / 0.8065 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.7758, allocations: 3.5 kB / 0.8065 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.979e-05/0.7759, allocations: 33.66 kB / 0.8065 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.7759, allocations: 22.66 kB / 0.8065 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.7772, allocations: 0.6885 MB / 0.8072 GB, free: 14.61 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004733/0.7819, allocations: 3.825 MB / 0.8109 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.7833, allocations: 0.6855 MB / 0.8116 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/0.7839, allocations: 318.2 kB / 0.8119 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002098/0.786, allocations: 2.304 MB / 0.8142 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.786, allocations: 39.22 kB / 0.8142 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=68): time 2.835e-06/0.786, allocations: 0 / 0.8142 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68): time 0.003107/0.7891, allocations: 1.506 MB / 0.8157 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.7892, allocations: 164.2 kB / 0.8158 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007827/0.79, allocations: 0.7531 MB / 0.8166 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.7901, allocations: 42.17 kB / 0.8166 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.7904, allocations: 0.5048 MB / 0.8171 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.7906, allocations: 245.4 kB / 0.8173 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.7909, allocations: 160.4 kB / 0.8175 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.791, allocations: 333.3 kB / 0.8178 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005462/0.7915, allocations: 259 kB / 0.818 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.7922, allocations: 436.6 kB / 0.8185 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.7934, allocations: 0.6658 MB / 0.8191 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.7934, allocations: 2.094 kB / 0.8191 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001755/0.7952, allocations: 0.9474 MB / 0.82 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.7952, allocations: 8 kB / 0.82 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.7952, allocations: 5.031 kB / 0.82 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004263/0.7956, allocations: 131.9 kB / 0.8202 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.7963, allocations: 165.5 kB / 0.8203 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/0.8005, allocations: 5.977 MB / 0.8262 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/0.8011, allocations: 84.66 kB / 0.8262 GB, free: 72 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.8012, allocations: 61.11 kB / 0.8263 GB, free: 64 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007768/0.802, allocations: 403.2 kB / 0.8267 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005918/0.8026, allocations: 415.9 kB / 0.8271 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001005/0.8037, allocations: 0.6309 MB / 0.8277 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.549e-06/0.8037, allocations: 2.531 kB / 0.8277 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001675/0.8053, allocations: 0.8962 MB / 0.8286 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.8054, allocations: 7.625 kB / 0.8286 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.8054, allocations: 5.375 kB / 0.8286 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/0.8058, allocations: 134.5 kB / 0.8287 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.8063, allocations: 156.5 kB / 0.8289 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.8104, allocations: 5.976 MB / 0.8347 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.811, allocations: 70.61 kB / 0.8348 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.276e-05/0.8111, allocations: 58.58 kB / 0.8348 GB, free: 8.484 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (PI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,4,100.0%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000273/0.8114, allocations: 234.6 kB / 0.8351 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.8116, allocations: 97.75 kB / 0.8351 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.814, allocations: 1.153 MB / 0.8363 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.814, allocations: 3.984 kB / 0.8363 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.814, allocations: 4 kB / 0.8363 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.8144, allocations: 231.6 kB / 0.8365 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.8145, allocations: 16 kB / 0.8365 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004827/0.815, allocations: 39.16 kB / 0.8366 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.8151, allocations: 64.39 kB / 0.8366 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002414/0.8175, allocations: 0.8879 MB / 0.8375 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00199/0.8196, allocations: 1.146 MB / 0.8386 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005557/0.8201, allocations: 268.3 kB / 0.8389 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006693/0.8208, allocations: 0.512 MB / 0.8394 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of Backend: time 6.01e-07/0.8208, allocations: 0 / 0.8394 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004639/0.8255, allocations: 2.495 MB / 0.8418 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of SimCode: time 0.003872/0.8293, allocations: 2.774 MB / 0.8445 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.03776/0.8671, allocations: 23.91 MB / 0.8678 GB, free: 6.879 MB / 0.6387 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine.makefile (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine.sim & ./ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleGasTurbine_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleGasTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches