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.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.001309/0.001309, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001492/0.001492, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7967/0.7967, allocations: 100.9 MB / 414.1 MB, free: 2.867 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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: translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") [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.00257/0.00257, allocations: 82.14 kB / 0.5653 GB, free: 35.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1399, allocations: 74.61 MB / 0.6381 GB, free: 5.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4949/0.6348, allocations: 129.1 MB / 0.7642 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.6465, allocations: 11.05 MB / 0.775 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007996/0.6473, allocations: 29.72 kB / 0.7751 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008768/0.6482, allocations: 262.4 kB / 0.7753 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.6499, allocations: 0.5548 MB / 0.7759 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.6522, allocations: 0.7184 MB / 0.7766 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.6536, allocations: 0.9428 MB / 0.7775 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.6538, allocations: 102.8 kB / 0.7776 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006393/0.6545, allocations: 413.4 kB / 0.778 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006028/0.6551, allocations: 463.5 kB / 0.7784 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.6552, allocations: 53.78 kB / 0.7785 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.6575, allocations: 0.9058 MB / 0.7794 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.6576, allocations: 151.5 kB / 0.7795 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.658, allocations: 271.2 kB / 0.7798 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.6601, allocations: 1.097 MB / 0.7808 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.6601, allocations: 1.281 kB / 0.7808 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6601, allocations: 2.234 kB / 0.7808 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6601, allocations: 0 / 0.7808 GB, free: 3.109 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.002139/0.6622, allocations: 1.021 MB / 0.7818 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.6622, allocations: 10.41 kB / 0.7818 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.6625, allocations: 89.41 kB / 0.7819 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.6633, allocations: 447.8 kB / 0.7824 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.6634, allocations: 150.6 kB / 0.7825 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-05/0.6635, allocations: 52.17 kB / 0.7825 GB, free: 18.19 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6646, allocations: 0.7116 MB / 0.7832 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.6646, allocations: 3.125 kB / 0.7832 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.6646, allocations: 17.53 kB / 0.7833 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.6647, allocations: 20.56 kB / 0.7833 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.6657, allocations: 0.6813 MB / 0.7839 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.6688, allocations: 1.902 MB / 0.7858 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.6699, allocations: 0.586 MB / 0.7864 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.6704, allocations: 331.6 kB / 0.7867 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/0.6718, allocations: 306.9 kB / 0.787 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.6718, allocations: 45.48 kB / 0.787 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 3.536e-06/0.6718, allocations: 2.344 kB / 0.787 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003803/0.6756, allocations: 1.944 MB / 0.7889 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.6757, allocations: 61.47 kB / 0.789 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.676, allocations: 365.7 kB / 0.7893 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.6761, allocations: 37 kB / 0.7894 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.6762, allocations: 259.4 kB / 0.7896 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.6763, allocations: 230.7 kB / 0.7898 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.6765, allocations: 109.6 kB / 0.7899 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6767, allocations: 364.7 kB / 0.7903 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.6771, allocations: 260.6 kB / 0.7905 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.6775, allocations: 332.5 kB / 0.7909 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/0.6784, allocations: 0.6134 MB / 0.7915 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6784, allocations: 0.75 kB / 0.7915 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001413/0.6798, allocations: 0.8484 MB / 0.7923 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6798, allocations: 6.5 kB / 0.7923 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.6798, allocations: 9.125 kB / 0.7923 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/0.6802, allocations: 131 kB / 0.7924 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.6806, allocations: 115.8 kB / 0.7925 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.6832, allocations: 2.309 MB / 0.7948 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.6835, allocations: 21.97 kB / 0.7948 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.6836, allocations: 30.47 kB / 0.7948 GB, free: 14.7 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.0002875/0.6839, allocations: 193.3 kB / 0.795 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.684, allocations: 71.48 kB / 0.7951 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.6856, allocations: 1.029 MB / 0.7961 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.6856, allocations: 8.156 kB / 0.7961 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6857, allocations: 3.375 kB / 0.7961 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6857, allocations: 3.094 kB / 0.7961 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.688, allocations: 1.495 MB / 0.7976 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.688, allocations: 6.406 kB / 0.7976 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.6884, allocations: 96.73 kB / 0.7977 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003302/0.6887, allocations: 133.2 kB / 0.7978 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.6887, allocations: 18.5 kB / 0.7978 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/0.6912, allocations: 2.248 MB / 0.8 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6912, allocations: 0.875 kB / 0.8 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.6931, allocations: 1.273 MB / 0.8013 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6932, allocations: 45.72 kB / 0.8013 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.6933, allocations: 13.38 kB / 0.8013 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.6936, allocations: 20.42 kB / 0.8013 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.6937, allocations: 48.44 kB / 0.8014 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.6937, allocations: 28.61 kB / 0.8014 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000268/0.694, allocations: 284.4 kB / 0.8017 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.694, allocations: 0.5625 kB / 0.8017 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000875/0.6949, allocations: 284.3 kB / 0.8019 GB, free: 11.98 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.0005706/0.6954, allocations: 396.6 kB / 0.8023 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.6969, allocations: 0.8604 MB / 0.8032 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6969, allocations: 0.625 kB / 0.8032 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008388/0.6977, allocations: 0.5634 MB / 0.8037 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.6986, allocations: 158 kB / 0.8039 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.7011, allocations: 1.457 MB / 0.8053 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.7013, allocations: 305 kB / 0.8056 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.7015, allocations: 66.36 kB / 0.8056 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/0.7015, allocations: 1.203 kB / 0.8056 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of Templates: time 0.01872/0.7202, allocations: 14.24 MB / 0.8195 GB, free: 5.664 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (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) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,turbine.m_flow,turbine1.m_flow,turbine1.omega,turbine1.phi Variables in the result:time,turbine.m_flow,turbine1.m_flow,turbine1.omega,turbine1.phi [Calling sys.exit(0), Time elapsed: 9.34294742392376]