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.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_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_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.001334/0.001334, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001485/0.001485, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6721/0.6721, allocations: 91.19 MB / 381.1 MB, free: 9.617 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 82 kB / 459.6 MB, free: 23.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1508, allocations: 67.7 MB / 0.515 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4525/0.6034, allocations: 147.6 MB / 0.6591 GB, free: 4.141 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.6173, allocations: 12.12 MB / 0.6709 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007746/0.6181, allocations: 24.59 kB / 0.6709 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008792/0.619, allocations: 249 kB / 0.6712 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.6206, allocations: 0.5081 MB / 0.6717 GB, free: 9.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.6224, allocations: 0.6425 MB / 0.6723 GB, free: 9.281 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.6236, allocations: 1.124 MB / 0.6734 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.6239, allocations: 154.9 kB / 0.6735 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004945/0.6244, allocations: 348.9 kB / 0.6739 GB, free: 8.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.6249, allocations: 467.6 kB / 0.6743 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.022e-05/0.625, allocations: 41.69 kB / 0.6744 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.6271, allocations: 1.04 MB / 0.6754 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.6272, allocations: 133.3 kB / 0.6755 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.6275, allocations: 303.5 kB / 0.6758 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.6292, allocations: 1.051 MB / 0.6768 GB, free: 6.664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6292, allocations: 0 / 0.6768 GB, free: 6.664 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.6292, allocations: 0 / 0.6768 GB, free: 6.664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.6292, allocations: 2.094 kB / 0.6768 GB, free: 6.664 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.002073/0.6313, allocations: 1.057 MB / 0.6779 GB, free: 5.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6313, allocations: 7.75 kB / 0.6779 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.6315, allocations: 72.22 kB / 0.6779 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000619/0.6321, allocations: 482.8 kB / 0.6784 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.6323, allocations: 101 kB / 0.6785 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.6323, allocations: 43.91 kB / 0.6785 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.6335, allocations: 0.657 MB / 0.6792 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.6335, allocations: 2.812 kB / 0.6792 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/0.6336, allocations: 14.97 kB / 0.6792 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.6336, allocations: 24.89 kB / 0.6792 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.6347, allocations: 0.669 MB / 0.6799 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.6386, allocations: 2.456 MB / 0.6823 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.6399, allocations: 0.6265 MB / 0.6829 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/0.6405, allocations: 356.3 kB / 0.6832 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002395/0.6429, allocations: 2.627 MB / 0.6858 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.6429, allocations: 41.69 kB / 0.6858 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 3.577e-06/0.6429, allocations: 0 / 0.6858 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64): time 0.004228/0.6472, allocations: 2.152 MB / 0.6879 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.6472, allocations: 56.78 kB / 0.688 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.6477, allocations: 422.7 kB / 0.6884 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.6477, allocations: 36.39 kB / 0.6884 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.6479, allocations: 250.7 kB / 0.6887 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.6481, allocations: 217.8 kB / 0.6889 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.6483, allocations: 111.7 kB / 0.689 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6484, allocations: 369.7 kB / 0.6893 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.6489, allocations: 250.6 kB / 0.6896 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/0.6495, allocations: 336 kB / 0.6899 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.6505, allocations: 0.6132 MB / 0.6905 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6505, allocations: 0 / 0.6905 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001647/0.6522, allocations: 0.8346 MB / 0.6913 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6522, allocations: 8 kB / 0.6913 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.6522, allocations: 7.984 kB / 0.6913 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004254/0.6527, allocations: 124.9 kB / 0.6914 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.6532, allocations: 119.7 kB / 0.6915 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.6558, allocations: 2.241 MB / 0.6937 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.6563, allocations: 27.92 kB / 0.6938 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.6563, allocations: 23.98 kB / 0.6938 GB, free: 7.941 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.0002776/0.6566, allocations: 201.6 kB / 0.694 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.6567, allocations: 55.34 kB / 0.694 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.6586, allocations: 1.03 MB / 0.695 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.6587, allocations: 15.92 kB / 0.695 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6587, allocations: 0 / 0.695 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6587, allocations: 4 kB / 0.6951 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.6613, allocations: 1.651 MB / 0.6967 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.6613, allocations: 8 kB / 0.6967 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/0.6618, allocations: 95.86 kB / 0.6968 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003802/0.6622, allocations: 127.6 kB / 0.6969 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.6623, allocations: 27.97 kB / 0.6969 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.6647, allocations: 2.175 MB / 0.699 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6647, allocations: 0 / 0.699 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.6669, allocations: 1.249 MB / 0.7003 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.6671, allocations: 128.4 kB / 0.7004 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.6672, allocations: 15.94 kB / 0.7004 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.6675, allocations: 24.02 kB / 0.7004 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6676, allocations: 44.5 kB / 0.7005 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.6677, allocations: 27.86 kB / 0.7005 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000351/0.668, allocations: 326.9 kB / 0.7008 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.668, allocations: 0 / 0.7008 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008944/0.6689, allocations: 291.9 kB / 0.7011 GB, free: 220 kB / 0.4981 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.0005948/0.6695, allocations: 391 kB / 0.7014 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.6712, allocations: 0.8956 MB / 0.7023 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6712, allocations: 0 / 0.7023 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009778/0.6722, allocations: 0.5833 MB / 0.7029 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.6732, allocations: 186.5 kB / 0.7031 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.6759, allocations: 1.625 MB / 0.7047 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.6763, allocations: 0.8998 MB / 0.7055 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000431/0.6767, allocations: 136.2 kB / 0.7057 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.6769, allocations: 67.39 kB / 0.7057 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.6769, allocations: 3.938 kB / 0.7057 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.01996/0.6969, allocations: 13.17 MB / 0.7186 GB, free: 14.22 MB / 0.5294 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile (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 & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches