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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007493/0.0007494, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.0007852/0.0007852, allocations: 173.2 kB / 16.27 MB, free: 6.664 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.191/1.191, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5537/0.5537, allocations: 89.64 MB / 381.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003114, allocations: 10.88 kB / 460.7 MB, free: 24.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09787, allocations: 68.83 MB / 0.5172 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.323/0.4209, allocations: 145.5 MB / 0.6592 GB, free: 5.234 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.4328, allocations: 11.92 MB / 0.6709 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.4332, allocations: 9.719 kB / 0.6709 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007231/0.434, allocations: 252 kB / 0.6711 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.4351, allocations: 491.1 kB / 0.6716 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.4367, allocations: 0.6433 MB / 0.6722 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.4377, allocations: 1.077 MB / 0.6733 GB, free: 9.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.438, allocations: 146.7 kB / 0.6734 GB, free: 9.891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004806/0.4385, allocations: 305.2 kB / 0.6737 GB, free: 9.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005881/0.4391, allocations: 450.2 kB / 0.6741 GB, free: 9.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.79e-05/0.4392, allocations: 24.69 kB / 0.6742 GB, free: 9.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.4408, allocations: 1.022 MB / 0.6752 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.441, allocations: 118.7 kB / 0.6753 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.4412, allocations: 298.8 kB / 0.6756 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.4424, allocations: 0.9965 MB / 0.6765 GB, free: 7.758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.4424, allocations: 3.938 kB / 0.6765 GB, free: 7.754 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4424, allocations: 4 kB / 0.6765 GB, free: 7.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4424, allocations: 0 / 0.6765 GB, free: 7.75 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.001561/0.4439, allocations: 0.9002 MB / 0.6774 GB, free: 6.797 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.444, allocations: 8.031 kB / 0.6774 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.938e-05/0.4441, allocations: 90.7 kB / 0.6775 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/0.4442, allocations: 64.19 kB / 0.6776 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.4446, allocations: 395.6 kB / 0.6779 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.4447, allocations: 92.95 kB / 0.678 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.223e-05/0.4448, allocations: 48.38 kB / 0.6781 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.4458, allocations: 0.6558 MB / 0.6787 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4459, allocations: 0 / 0.6787 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.4459, allocations: 16 kB / 0.6787 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.446, allocations: 28.98 kB / 0.6788 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.447, allocations: 0.6714 MB / 0.6794 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/0.4503, allocations: 2.451 MB / 0.6818 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.4514, allocations: 0.6269 MB / 0.6824 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/0.452, allocations: 367.9 kB / 0.6828 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002199/0.4542, allocations: 2.616 MB / 0.6853 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.4543, allocations: 47.81 kB / 0.6854 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 1.934e-06/0.4543, allocations: 3.938 kB / 0.6854 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64): time 0.003739/0.458, allocations: 2.148 MB / 0.6875 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4581, allocations: 59.97 kB / 0.6875 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.4584, allocations: 361.6 kB / 0.6879 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.4585, allocations: 33.7 kB / 0.6879 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4586, allocations: 213.5 kB / 0.6881 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.4588, allocations: 224.7 kB / 0.6883 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.481e-05/0.4589, allocations: 49.69 kB / 0.6884 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.459, allocations: 358.8 kB / 0.6887 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.4595, allocations: 261.1 kB / 0.689 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005051/0.46, allocations: 332.6 kB / 0.6893 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.461, allocations: 0.6181 MB / 0.6899 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.461, allocations: 4 kB / 0.6899 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001424/0.4625, allocations: 0.8387 MB / 0.6907 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4625, allocations: 7.938 kB / 0.6907 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.4625, allocations: 4 kB / 0.6907 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.4629, allocations: 132.8 kB / 0.6909 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.4633, allocations: 120.3 kB / 0.691 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.4658, allocations: 2.243 MB / 0.6932 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.4661, allocations: 24.02 kB / 0.6932 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.4661, allocations: 27.98 kB / 0.6932 GB, free: 5.492 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.0002242/0.4663, allocations: 197.5 kB / 0.6934 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.4664, allocations: 47.5 kB / 0.6934 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.4683, allocations: 1.034 MB / 0.6944 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.4683, allocations: 8 kB / 0.6945 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.4683, allocations: 4 kB / 0.6945 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.4683, allocations: 3.984 kB / 0.6945 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.4707, allocations: 1.631 MB / 0.6961 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.4707, allocations: 4 kB / 0.6961 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.4712, allocations: 111.7 kB / 0.6962 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003464/0.4715, allocations: 133.6 kB / 0.6963 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.4716, allocations: 19.98 kB / 0.6963 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.4738, allocations: 2.185 MB / 0.6984 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4738, allocations: 7.969 kB / 0.6985 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.4758, allocations: 1.253 MB / 0.6997 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.245e-05/0.4759, allocations: 132.5 kB / 0.6998 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.476, allocations: 12 kB / 0.6998 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.4763, allocations: 27.89 kB / 0.6998 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/0.4764, allocations: 40.5 kB / 0.6999 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.4765, allocations: 23.92 kB / 0.6999 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002732/0.4767, allocations: 287.1 kB / 0.7002 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4768, allocations: 0 / 0.7002 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007224/0.4775, allocations: 283.9 kB / 0.7004 GB, free: 13.81 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.002585/0.4801, allocations: 2.075 MB / 0.7025 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.4815, allocations: 0.888 MB / 0.7033 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4815, allocations: 0 / 0.7033 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008662/0.4824, allocations: 0.595 MB / 0.7039 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/0.4834, allocations: 176.4 kB / 0.7041 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007956/0.4914, allocations: 6.014 MB / 0.71 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.4918, allocations: 0.8762 MB / 0.7108 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003777/0.4922, allocations: 124.3 kB / 0.7109 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.4925, allocations: 207.3 kB / 0.7111 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.4925, allocations: 0 / 0.7111 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.053/3.546, allocations: 18.13 MB / 0.7288 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004668/3.546, allocations: 216.8 kB / 0.729 GB, free: 444 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.5/7.046, allocations: 0 / 0.729 GB, free: 444 kB / 0.5294 GB (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 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches