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.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.001334/0.001334, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001505/0.001505, allocations: 217.2 kB / 23.03 MB, free: 4.949 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8618/0.8618, allocations: 94.62 MB / 407.8 MB, free: 8.844 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_ThermofluidStream_Processes_Tests_Turbine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="cs",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.00252/0.00252, allocations: 89.36 kB / 0.5557 GB, free: 38.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1451, allocations: 73.06 MB / 0.627 GB, free: 204 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.5553/0.7004, allocations: 129 MB / 0.753 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.7147, allocations: 11.03 MB / 0.7638 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007859/0.7155, allocations: 33.22 kB / 0.7638 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.7166, allocations: 260.8 kB / 0.7641 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.7188, allocations: 0.5556 MB / 0.7646 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.7219, allocations: 0.7161 MB / 0.7653 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.7236, allocations: 0.9523 MB / 0.7663 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.724, allocations: 102.2 kB / 0.7664 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009685/0.7249, allocations: 409.5 kB / 0.7668 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.726, allocations: 492.3 kB / 0.7672 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.7262, allocations: 53.83 kB / 0.7673 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.7288, allocations: 0.9176 MB / 0.7682 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.7292, allocations: 148.6 kB / 0.7683 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007838/0.7299, allocations: 276 kB / 0.7686 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.7333, allocations: 1.101 MB / 0.7697 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.7333, allocations: 0.5625 kB / 0.7697 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7333, allocations: 0 / 0.7697 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.467e-05/0.7334, allocations: 1.438 kB / 0.7697 GB, free: 3.508 MB / 0.5762 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.003153/0.7365, allocations: 1.014 MB / 0.7706 GB, free: 18.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.7366, allocations: 9.875 kB / 0.7707 GB, free: 18.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.139e-05/0.7366, allocations: 13.44 kB / 0.7707 GB, free: 18.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.7367, allocations: 92.06 kB / 0.7708 GB, free: 18.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/0.737, allocations: 88.62 kB / 0.7708 GB, free: 18.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.7379, allocations: 449.3 kB / 0.7713 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.738, allocations: 146.8 kB / 0.7714 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/0.7381, allocations: 55.69 kB / 0.7715 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.7393, allocations: 0.7057 MB / 0.7721 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.7393, allocations: 5 kB / 0.7722 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.7394, allocations: 21.84 kB / 0.7722 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.7394, allocations: 21.69 kB / 0.7722 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.7406, allocations: 0.6842 MB / 0.7729 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003528/0.7441, allocations: 1.981 MB / 0.7748 GB, free: 17.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.7453, allocations: 0.5882 MB / 0.7754 GB, free: 17.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.7458, allocations: 335 kB / 0.7757 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/0.7473, allocations: 305.4 kB / 0.776 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.7473, allocations: 40.55 kB / 0.776 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 3.496e-06/0.7473, allocations: 0 / 0.776 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004392/0.7517, allocations: 1.954 MB / 0.7779 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.7518, allocations: 58.03 kB / 0.778 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.7522, allocations: 429.9 kB / 0.7784 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-05/0.7523, allocations: 38.58 kB / 0.7784 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.7524, allocations: 259.2 kB / 0.7787 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.7526, allocations: 226.9 kB / 0.7789 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.7527, allocations: 118 kB / 0.779 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.7529, allocations: 368.1 kB / 0.7794 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.7533, allocations: 256.4 kB / 0.7796 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.7538, allocations: 335.6 kB / 0.7799 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.7547, allocations: 0.6141 MB / 0.7805 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7547, allocations: 3.094 kB / 0.7805 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001565/0.7563, allocations: 0.8555 MB / 0.7814 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7563, allocations: 9.281 kB / 0.7814 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.7563, allocations: 8.406 kB / 0.7814 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003955/0.7567, allocations: 130.8 kB / 0.7815 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.7572, allocations: 114.8 kB / 0.7816 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.7598, allocations: 2.334 MB / 0.7839 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.7603, allocations: 21.59 kB / 0.7839 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/0.7603, allocations: 30.09 kB / 0.7839 GB, free: 14.98 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.0003354/0.7607, allocations: 188.2 kB / 0.7841 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.7609, allocations: 75.86 kB / 0.7842 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.7626, allocations: 1.033 MB / 0.7852 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.7626, allocations: 5.281 kB / 0.7852 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7626, allocations: 2.312 kB / 0.7852 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.7626, allocations: 4.188 kB / 0.7852 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.7651, allocations: 1.549 MB / 0.7867 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.7651, allocations: 2.688 kB / 0.7867 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.7655, allocations: 97.61 kB / 0.7868 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/0.7659, allocations: 135.3 kB / 0.7869 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/0.766, allocations: 15.38 kB / 0.787 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.7684, allocations: 2.285 MB / 0.7892 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7684, allocations: 0 / 0.7892 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.7705, allocations: 1.262 MB / 0.7904 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.7707, allocations: 63.5 kB / 0.7905 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.7708, allocations: 13.12 kB / 0.7905 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.7711, allocations: 19.89 kB / 0.7905 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.7712, allocations: 47.08 kB / 0.7906 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.7713, allocations: 25.45 kB / 0.7906 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003621/0.7716, allocations: 337.5 kB / 0.7909 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7716, allocations: 0 / 0.7909 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001043/0.7727, allocations: 287.5 kB / 0.7912 GB, free: 12.64 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.003331/0.776, allocations: 2.087 MB / 0.7932 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.7777, allocations: 0.8698 MB / 0.7941 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7777, allocations: 3.938 kB / 0.7941 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009207/0.7786, allocations: 0.5612 MB / 0.7946 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.7797, allocations: 200.7 kB / 0.7948 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00936/0.7891, allocations: 5.952 MB / 0.8006 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.7894, allocations: 306.4 kB / 0.8009 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005427/0.7899, allocations: 146.8 kB / 0.8011 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.7903, allocations: 236.7 kB / 0.8013 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of SimCode: time 1.513e-06/0.7903, allocations: 0.9062 kB / 0.8013 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05348/0.8438, allocations: 21.29 MB / 0.8221 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.84, allocations: 5.812 kB / 0.8221 GB, free: 2.367 MB / 0.5919 GB " [Timeout remaining time 645] (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 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1260.0] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.800655327970162]