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) 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.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001842/0.001842, allocations: 193.6 kB / 16.14 MB, free: 6.715 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6734/0.6734, allocations: 93.71 MB / 383.7 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 82.48 kB / 462.7 MB, free: 22.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.15, allocations: 68.27 MB / 0.5185 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3628/0.5128, allocations: 147.6 MB / 0.6627 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.5255, allocations: 12.13 MB / 0.6745 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006769/0.5262, allocations: 26.34 kB / 0.6745 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000789/0.527, allocations: 254.8 kB / 0.6748 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.5283, allocations: 0.5148 MB / 0.6753 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.53, allocations: 0.6382 MB / 0.6759 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009779/0.531, allocations: 1.151 MB / 0.677 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.5313, allocations: 157.3 kB / 0.6772 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004553/0.5317, allocations: 365.8 kB / 0.6775 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.5323, allocations: 463.4 kB / 0.678 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.5324, allocations: 42.19 kB / 0.678 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.5343, allocations: 1.036 MB / 0.679 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.5344, allocations: 134.8 kB / 0.6792 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.5347, allocations: 313.9 kB / 0.6795 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.5361, allocations: 1.052 MB / 0.6805 GB, free: 2.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5361, allocations: 0 / 0.6805 GB, free: 2.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5361, allocations: 0 / 0.6805 GB, free: 2.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.5361, allocations: 2.656 kB / 0.6805 GB, free: 2.402 MB / 494.1 MB 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.002029/0.5382, allocations: 1.075 MB / 0.6815 GB, free: 1.555 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.5382, allocations: 7.75 kB / 0.6815 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.5383, allocations: 71.22 kB / 0.6816 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006212/0.539, allocations: 490.5 kB / 0.6821 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.5391, allocations: 98.91 kB / 0.6822 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.264e-05/0.5392, allocations: 50.53 kB / 0.6822 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.5402, allocations: 0.649 MB / 0.6829 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.5403, allocations: 6.688 kB / 0.6829 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.5403, allocations: 14.34 kB / 0.6829 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.5404, allocations: 21.06 kB / 0.6829 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.5415, allocations: 0.6734 MB / 0.6835 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.545, allocations: 2.453 MB / 0.6859 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.5462, allocations: 0.6228 MB / 0.6866 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006223/0.5469, allocations: 358.2 kB / 0.6869 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00244/0.5493, allocations: 2.618 MB / 0.6895 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.5494, allocations: 41.19 kB / 0.6895 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 2.465e-06/0.5494, allocations: 4 kB / 0.6895 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64): time 0.004084/0.5535, allocations: 2.157 MB / 0.6916 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.5535, allocations: 56.78 kB / 0.6917 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.554, allocations: 436.9 kB / 0.6921 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.554, allocations: 41.7 kB / 0.6921 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.5542, allocations: 245.5 kB / 0.6923 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.5544, allocations: 220.8 kB / 0.6926 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.5546, allocations: 110.2 kB / 0.6927 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5547, allocations: 366.8 kB / 0.693 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.5552, allocations: 257.1 kB / 0.6933 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.5558, allocations: 332.6 kB / 0.6936 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.5569, allocations: 0.6142 MB / 0.6942 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5569, allocations: 0 / 0.6942 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001602/0.5585, allocations: 0.8385 MB / 0.695 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5586, allocations: 4 kB / 0.695 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5586, allocations: 4 kB / 0.695 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000429/0.559, allocations: 140.8 kB / 0.6951 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.5596, allocations: 115.7 kB / 0.6952 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.5622, allocations: 2.231 MB / 0.6974 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.5625, allocations: 35.86 kB / 0.6975 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.5626, allocations: 23.98 kB / 0.6975 GB, free: 3.066 MB / 0.4981 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.0002641/0.5629, allocations: 197.6 kB / 0.6977 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.563, allocations: 55.34 kB / 0.6977 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.565, allocations: 1.034 MB / 0.6987 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5651, allocations: 4 kB / 0.6987 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5651, allocations: 4 kB / 0.6987 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5651, allocations: 7.984 kB / 0.6987 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.5677, allocations: 1.651 MB / 0.7004 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.5677, allocations: 7.984 kB / 0.7004 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.5683, allocations: 92.75 kB / 0.7005 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.5687, allocations: 136.7 kB / 0.7006 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.5688, allocations: 15.98 kB / 0.7006 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.5712, allocations: 2.185 MB / 0.7027 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5712, allocations: 0 / 0.7027 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.5735, allocations: 1.256 MB / 0.704 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.5736, allocations: 132.4 kB / 0.7041 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/0.5737, allocations: 15.94 kB / 0.7041 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.5741, allocations: 23.89 kB / 0.7041 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.5742, allocations: 48.48 kB / 0.7042 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.5742, allocations: 19.98 kB / 0.7042 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004715/0.5747, allocations: 334.9 kB / 0.7045 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5747, allocations: 3.938 kB / 0.7045 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001083/0.5758, allocations: 283.8 kB / 0.7048 GB, free: 11.32 MB / 0.5137 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.00068/0.5765, allocations: 391 kB / 0.7052 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.5782, allocations: 0.8879 MB / 0.706 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5782, allocations: 0 / 0.706 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009996/0.5792, allocations: 0.595 MB / 0.7066 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.5803, allocations: 190.2 kB / 0.7068 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.583, allocations: 1.632 MB / 0.7084 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.5835, allocations: 0.8999 MB / 0.7093 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004456/0.584, allocations: 144.1 kB / 0.7094 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.5841, allocations: 63.41 kB / 0.7095 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.5842, allocations: 0 / 0.7095 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.02189/0.6061, allocations: 13.19 MB / 0.7223 GB, free: 9.297 MB / 0.5294 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.makefile (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 & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches