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.001426/0.001426, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001796/0.001796, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.785 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.7441/0.7441, allocations: 94.62 MB / 407 MB, free: 8.922 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: 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_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_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.002605/0.002605, allocations: 87.41 kB / 0.5554 GB, free: 38.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1106, allocations: 73.06 MB / 0.6268 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4677/0.5784, allocations: 129.1 MB / 0.7529 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01213/0.5905, allocations: 11.04 MB / 0.7636 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006188/0.5911, allocations: 28.88 kB / 0.7637 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000931/0.5921, allocations: 268.1 kB / 0.7639 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.5937, allocations: 0.554 MB / 0.7645 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.5959, allocations: 0.7215 MB / 0.7652 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.597, allocations: 0.9417 MB / 0.7661 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.5972, allocations: 100.8 kB / 0.7662 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006534/0.5979, allocations: 412.5 kB / 0.7666 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.5985, allocations: 462.1 kB / 0.767 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-05/0.5986, allocations: 53.78 kB / 0.7671 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.6007, allocations: 0.9049 MB / 0.768 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.6009, allocations: 154.7 kB / 0.7681 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.6014, allocations: 270.5 kB / 0.7684 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.6037, allocations: 1.1 MB / 0.7694 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6037, allocations: 0.5312 kB / 0.7694 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6037, allocations: 0 / 0.7694 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.6037, allocations: 1.375 kB / 0.7694 GB, free: 3.328 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.002679/0.6064, allocations: 1.02 MB / 0.7704 GB, free: 18.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.6065, allocations: 9.75 kB / 0.7704 GB, free: 18.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002584/0.6067, allocations: 87.86 kB / 0.7705 GB, free: 18.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.6076, allocations: 452.8 kB / 0.771 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.6078, allocations: 149.7 kB / 0.7711 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.292e-05/0.6079, allocations: 50.36 kB / 0.7711 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.609, allocations: 0.7108 MB / 0.7718 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.609, allocations: 1.281 kB / 0.7718 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/0.609, allocations: 20.48 kB / 0.7719 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.6091, allocations: 18.84 kB / 0.7719 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.6102, allocations: 0.6802 MB / 0.7725 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.614, allocations: 1.896 MB / 0.7744 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.6152, allocations: 0.5873 MB / 0.775 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.6158, allocations: 329.3 kB / 0.7753 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/0.6173, allocations: 308.3 kB / 0.7756 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.6173, allocations: 41.72 kB / 0.7756 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.966e-06/0.6173, allocations: 0.9688 kB / 0.7756 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004281/0.6216, allocations: 1.95 MB / 0.7775 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.6217, allocations: 58.97 kB / 0.7776 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.622, allocations: 368.7 kB / 0.7779 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.6221, allocations: 38.8 kB / 0.778 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.6222, allocations: 263.1 kB / 0.7782 GB, free: 17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.6223, allocations: 229.4 kB / 0.7784 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.6225, allocations: 111.3 kB / 0.7785 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6227, allocations: 368.5 kB / 0.7789 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.6231, allocations: 259.1 kB / 0.7791 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.6236, allocations: 330 kB / 0.7795 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/0.6245, allocations: 0.619 MB / 0.7801 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6245, allocations: 1.828 kB / 0.7801 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001508/0.626, allocations: 0.8457 MB / 0.7809 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.626, allocations: 11.25 kB / 0.7809 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.626, allocations: 2.875 kB / 0.7809 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004128/0.6264, allocations: 129.7 kB / 0.781 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.6269, allocations: 111.7 kB / 0.7811 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.6295, allocations: 2.312 MB / 0.7834 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.6299, allocations: 22.88 kB / 0.7834 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.6299, allocations: 27.94 kB / 0.7834 GB, free: 14.93 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.0003152/0.6302, allocations: 188 kB / 0.7836 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.6304, allocations: 76.27 kB / 0.7837 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.6322, allocations: 1.024 MB / 0.7847 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.6322, allocations: 9.688 kB / 0.7847 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6322, allocations: 0 / 0.7847 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.6322, allocations: 4.562 kB / 0.7847 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.6346, allocations: 1.492 MB / 0.7862 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.6346, allocations: 2.094 kB / 0.7862 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.6351, allocations: 97.83 kB / 0.7863 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003451/0.6354, allocations: 129.9 kB / 0.7864 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.6355, allocations: 25.67 kB / 0.7864 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.6378, allocations: 2.249 MB / 0.7886 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6378, allocations: 1.031 kB / 0.7886 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.6398, allocations: 1.264 MB / 0.7898 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.6399, allocations: 47.67 kB / 0.7899 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.64, allocations: 16.94 kB / 0.7899 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.6403, allocations: 18.25 kB / 0.7899 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.6404, allocations: 47.8 kB / 0.79 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.6404, allocations: 32.83 kB / 0.79 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002751/0.6407, allocations: 287.8 kB / 0.7903 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6407, allocations: 0 / 0.7903 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009374/0.6417, allocations: 285.4 kB / 0.7905 GB, free: 12.65 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.0005839/0.6422, allocations: 383.5 kB / 0.7909 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.6437, allocations: 0.8667 MB / 0.7918 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6437, allocations: 0 / 0.7918 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008484/0.6446, allocations: 0.5626 MB / 0.7923 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008084/0.6454, allocations: 166.7 kB / 0.7925 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.6478, allocations: 1.422 MB / 0.7938 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.648, allocations: 307.6 kB / 0.7941 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003921/0.6484, allocations: 135.6 kB / 0.7943 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.6486, allocations: 57.98 kB / 0.7943 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.6486, allocations: 2.875 kB / 0.7943 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.0205/0.6691, allocations: 13.65 MB / 0.8077 GB, free: 8.73 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.24828627333045]