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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 202.5 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7833/0.7833, allocations: 94.6 MB / 400.7 MB, free: 15.71 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-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=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: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 88.72 kB / 0.5469 GB, free: 42.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1072, allocations: 71.85 MB / 0.6171 GB, free: 8.438 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4484/0.5556, allocations: 150.1 MB / 0.7636 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.5669, allocations: 12.19 MB / 0.7755 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.5675, allocations: 22.22 kB / 0.7755 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007626/0.5683, allocations: 295.7 kB / 0.7758 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.5696, allocations: 0.5685 MB / 0.7764 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.5714, allocations: 0.7134 MB / 0.7771 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.5725, allocations: 0.9421 MB / 0.778 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.5727, allocations: 105 kB / 0.7781 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006196/0.5733, allocations: 407.3 kB / 0.7785 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.5739, allocations: 486.7 kB / 0.779 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.574, allocations: 58.03 kB / 0.779 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.5758, allocations: 1.064 MB / 0.78 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.5759, allocations: 151.5 kB / 0.7802 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.5762, allocations: 329.2 kB / 0.7805 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.5776, allocations: 1.114 MB / 0.7816 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5776, allocations: 1.094 kB / 0.7816 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5776, allocations: 0.7188 kB / 0.7816 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.5777, allocations: 0 / 0.7816 GB, free: 3.117 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.002097/0.5798, allocations: 1.094 MB / 0.7827 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.5798, allocations: 11.78 kB / 0.7827 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.5799, allocations: 72.77 kB / 0.7827 GB, free: 18.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/0.5807, allocations: 0.5148 MB / 0.7832 GB, free: 18.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.5808, allocations: 94.25 kB / 0.7833 GB, free: 18.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.5808, allocations: 48.72 kB / 0.7834 GB, free: 18.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009396/0.5818, allocations: 0.6533 MB / 0.784 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.5818, allocations: 2.094 kB / 0.784 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.5819, allocations: 17.28 kB / 0.784 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.5819, allocations: 26.17 kB / 0.7841 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.5829, allocations: 0.6684 MB / 0.7847 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.5862, allocations: 2.452 MB / 0.7871 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.5872, allocations: 0.5883 MB / 0.7877 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/0.5878, allocations: 332.7 kB / 0.788 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002794/0.5906, allocations: 2.614 MB / 0.7906 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.5906, allocations: 42.91 kB / 0.7906 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.364e-06/0.5906, allocations: 0 / 0.7906 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003765/0.5944, allocations: 2.164 MB / 0.7927 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.5944, allocations: 56.88 kB / 0.7928 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.5948, allocations: 429.8 kB / 0.7932 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.5948, allocations: 39.39 kB / 0.7932 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.595, allocations: 258.2 kB / 0.7935 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.5951, allocations: 233.4 kB / 0.7937 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.5952, allocations: 112.9 kB / 0.7938 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5954, allocations: 369 kB / 0.7941 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.5958, allocations: 257.6 kB / 0.7944 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.5963, allocations: 324.8 kB / 0.7947 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.5972, allocations: 0.616 MB / 0.7953 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5972, allocations: 0 / 0.7953 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001393/0.5986, allocations: 0.8421 MB / 0.7961 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.5986, allocations: 6.156 kB / 0.7961 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.5986, allocations: 5.531 kB / 0.7961 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003903/0.599, allocations: 128.8 kB / 0.7963 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.5995, allocations: 121 kB / 0.7964 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.6021, allocations: 2.459 MB / 0.7988 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.6024, allocations: 23.73 kB / 0.7988 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.6025, allocations: 27.19 kB / 0.7988 GB, free: 10.85 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.0002613/0.6028, allocations: 197.8 kB / 0.799 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.6029, allocations: 57.94 kB / 0.7991 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.6045, allocations: 1.024 MB / 0.8001 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.6045, allocations: 8.75 kB / 0.8001 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6046, allocations: 3.406 kB / 0.8001 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.6046, allocations: 3.047 kB / 0.8001 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.607, allocations: 1.651 MB / 0.8017 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.607, allocations: 3.344 kB / 0.8017 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.6074, allocations: 96.73 kB / 0.8018 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.6078, allocations: 136.3 kB / 0.8019 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.6078, allocations: 20.59 kB / 0.8019 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.6104, allocations: 2.405 MB / 0.8043 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6104, allocations: 0 / 0.8043 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.6126, allocations: 1.25 MB / 0.8055 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.6128, allocations: 130.9 kB / 0.8056 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.6129, allocations: 15.38 kB / 0.8056 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.6133, allocations: 24.86 kB / 0.8057 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.6134, allocations: 46.75 kB / 0.8057 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.6134, allocations: 25.66 kB / 0.8057 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003901/0.6138, allocations: 338.7 kB / 0.8061 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6138, allocations: 0 / 0.8061 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009597/0.6148, allocations: 283.7 kB / 0.8063 GB, free: 8.223 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.0007177/0.6155, allocations: 391 kB / 0.8067 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.6171, allocations: 0.8615 MB / 0.8075 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6171, allocations: 0.7188 kB / 0.8075 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000933/0.618, allocations: 0.5645 MB / 0.8081 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.6191, allocations: 198.9 kB / 0.8083 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.622, allocations: 1.441 MB / 0.8097 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006744/0.6227, allocations: 0.9053 MB / 0.8106 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000555/0.6232, allocations: 137.7 kB / 0.8107 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.6234, allocations: 66.05 kB / 0.8108 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/0.6234, allocations: 0 / 0.8108 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of Templates: time 0.02396/0.6474, allocations: 14.02 MB / 0.8245 GB, free: 0.7969 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.295780688058585]