Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008194/0.008194, allocations: 1.784 MB / 21.57 MB, free: 2.902 MB / 18.57 MB " [Timeout remaining time 180] 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.001014/0.001014, allocations: 85.05 kB / 25.4 MB, free: 7 MB / 18.57 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.000887/0.000887, allocations: 158.9 kB / 29.33 MB, free: 3.133 MB / 18.57 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 0.974/0.974, allocations: 177.1 MB / 210.3 MB, free: 3.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6197/0.6197, allocations: 102.4 MB / 369.8 MB, free: 224 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|turbinesAndReheat.energyStorage_HP_turbine.y|turbinesAndReheat.energyStroage_RH_IPLP_turbine.y|turbinesAndReheat_00_XRG.energyStorage_HP_turbine.y|turbinesAndReheat_00_XRG.energyStroage_RH_IPLP_turbine.y|turbinesAndReheat_02_XRG.energyStorage_HP_turbine.y|turbinesAndReheat_02_XRG.energyStroage_RH_IPLP_turbine.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater") translateModel(ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|turbinesAndReheat.energyStorage_HP_turbine.y|turbinesAndReheat.energyStroage_RH_IPLP_turbine.y|turbinesAndReheat_00_XRG.energyStorage_HP_turbine.y|turbinesAndReheat_00_XRG.energyStroage_RH_IPLP_turbine.y|turbinesAndReheat_02_XRG.energyStorage_HP_turbine.y|turbinesAndReheat_02_XRG.energyStroage_RH_IPLP_turbine.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 470.4 MB, free: 18.87 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.604e-05, allocations: 3.156 kB / 470.4 MB, free: 18.86 MB / 410.8 MB Notification: TILMedia 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater): time 0.1619/0.1619, allocations: 54.85 MB / 0.513 GB, free: 0.832 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.007543/0.1695, allocations: 7.254 MB / 0.52 GB, free: 9.559 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.1699, allocations: 15.94 kB / 0.5201 GB, free: 9.543 MB / 442.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.001134/0.171, allocations: 0.5126 MB / 0.5206 GB, free: 9.027 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005563/0.1716, allocations: 449.4 kB / 0.521 GB, free: 8.586 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/0.1723, allocations: 0.6428 MB / 0.5216 GB, free: 7.941 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006886/0.173, allocations: 1.008 MB / 0.5226 GB, free: 6.934 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.1733, allocations: 207.6 kB / 0.5228 GB, free: 6.719 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1185/0.2918, allocations: 45.61 MB / 0.5673 GB, free: 10.28 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.2922, allocations: 314.8 kB / 0.5676 GB, free: 9.973 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 9.356e-05/0.2923, allocations: 56 kB / 0.5677 GB, free: 9.918 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.2927, allocations: 255.3 kB / 0.5679 GB, free: 9.668 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.2929, allocations: 426.4 kB / 0.5683 GB, free: 9.25 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.2931, allocations: 294.7 kB / 0.5686 GB, free: 8.961 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.2942, allocations: 1.144 MB / 0.5697 GB, free: 7.812 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2942, allocations: 0 / 0.5697 GB, free: 7.812 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2942, allocations: 0 / 0.5697 GB, free: 7.812 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.2942, allocations: 0 / 0.5697 GB, free: 7.812 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.00149/0.2957, allocations: 1.962 MB / 0.5717 GB, free: 5.805 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2957, allocations: 8.031 kB / 0.5717 GB, free: 5.797 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.2959, allocations: 219.7 kB / 0.5719 GB, free: 5.582 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008482/0.2967, allocations: 1.004 MB / 0.5728 GB, free: 4.539 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.2968, allocations: 29.38 kB / 0.5729 GB, free: 4.512 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.2968, allocations: 44.38 kB / 0.5729 GB, free: 4.469 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004922/0.2973, allocations: 482.5 kB / 0.5734 GB, free: 3.926 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2973, allocations: 4.188 kB / 0.5734 GB, free: 3.922 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.2973, allocations: 20.12 kB / 0.5734 GB, free: 3.902 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.2974, allocations: 11.94 kB / 0.5734 GB, free: 3.891 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.2976, allocations: 164.3 kB / 0.5736 GB, free: 3.734 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.299, allocations: 2.036 MB / 0.5756 GB, free: 1.625 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.2993, allocations: 240.9 kB / 0.5758 GB, free: 1.355 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.2994, allocations: 71.61 kB / 0.5759 GB, free: 1.273 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-05/0.2995, allocations: 32.06 kB / 0.5759 GB, free: 1.242 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.2995, allocations: 41.62 kB / 0.5759 GB, free: 1.191 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 1.392e-06/0.2995, allocations: 0 / 0.5759 GB, free: 1.191 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.0006075/0.3001, allocations: 426.1 kB / 0.5763 GB, free: 0.7695 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.3002, allocations: 187.9 kB / 0.5765 GB, free: 0.543 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.3013, allocations: 1.623 MB / 0.5781 GB, free: 14.86 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.3013, allocations: 33.7 kB / 0.5781 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/0.3018, allocations: 0.8098 MB / 0.5789 GB, free: 14 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.3019, allocations: 126.9 kB / 0.579 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.302, allocations: 119.6 kB / 0.5792 GB, free: 13.75 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3021, allocations: 0.4887 MB / 0.5796 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.3021, allocations: 48.95 kB / 0.5797 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3023, allocations: 308.6 kB / 0.58 GB, free: 12.81 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.3026, allocations: 286.3 kB / 0.5802 GB, free: 12.47 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3026, allocations: 0 / 0.5802 GB, free: 12.47 MB / 0.4949 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003839/0.3029, allocations: 430.4 kB / 0.5807 GB, free: 12.05 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.303, allocations: 8 kB / 0.5807 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.303, allocations: 0 / 0.5807 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.303, allocations: 8 kB / 0.5807 GB, free: 12.03 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.3032, allocations: 107.8 kB / 0.5808 GB, free: 11.93 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3032, allocations: 4 kB / 0.5808 GB, free: 11.92 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.3033, allocations: 60.02 kB / 0.5808 GB, free: 11.86 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.3034, allocations: 16 kB / 0.5809 GB, free: 11.85 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.3035, allocations: 188.4 kB / 0.581 GB, free: 11.65 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3037, allocations: 186.9 kB / 0.5812 GB, free: 11.47 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005295/0.3042, allocations: 400.1 kB / 0.5816 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3042, allocations: 4 kB / 0.5816 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3042, allocations: 3.938 kB / 0.5816 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3042, allocations: 0 / 0.5816 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.3047, allocations: 0.5589 MB / 0.5821 GB, free: 10.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3048, allocations: 0 / 0.5821 GB, free: 10.45 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.3049, allocations: 55.91 kB / 0.5822 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3049, allocations: 0 / 0.5822 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3049, allocations: 8 kB / 0.5822 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3049, allocations: 0 / 0.5822 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3049, allocations: 0 / 0.5822 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.3054, allocations: 0.6355 MB / 0.5828 GB, free: 9.723 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.3056, allocations: 228.7 kB / 0.583 GB, free: 9.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.3057, allocations: 11.95 kB / 0.5831 GB, free: 9.488 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.3058, allocations: 20.03 kB / 0.5831 GB, free: 9.469 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.3059, allocations: 27.94 kB / 0.5831 GB, free: 9.441 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3059, allocations: 7.938 kB / 0.5831 GB, free: 9.434 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0006493/0.3065, allocations: 0.9097 MB / 0.584 GB, free: 8.5 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.3065, allocations: 0 / 0.584 GB, free: 8.5 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.000377/0.3069, allocations: 167.7 kB / 0.5842 GB, free: 8.336 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (turbinesAndReheat.energyStorage_HP_turbine.y,turbinesAndReheat.energyStroage_RH_IPLP_turbine.y,turbinesAndReheat_02_XRG.energyStorage_HP_turbine.y,turbinesAndReheat_02_XRG.energyStroage_RH_IPLP_turbine.y,turbinesAndReheat_00_XRG.energyStorage_HP_turbine.y,turbinesAndReheat_00_XRG.energyStroage_RH_IPLP_turbine.y) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.3079, allocations: 453.7 kB / 0.5846 GB, free: 7.879 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.3082, allocations: 188.3 kB / 0.5848 GB, free: 7.691 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3082, allocations: 0 / 0.5848 GB, free: 7.691 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.3083, allocations: 75.52 kB / 0.5848 GB, free: 7.613 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.3089, allocations: 208.8 kB / 0.585 GB, free: 7.406 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.311, allocations: 2.101 MB / 0.5871 GB, free: 5.25 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.3112, allocations: 305.9 kB / 0.5874 GB, free: 4.926 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0002715/0.3115, allocations: 155 kB / 0.5875 GB, free: 4.77 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.3118, allocations: 262.1 kB / 0.5878 GB, free: 4.512 MB / 0.4949 GB Notification: Performance of SimCode: time 7.12e-07/0.3118, allocations: 3.938 kB / 0.5878 GB, free: 4.508 MB / 0.4949 GB Notification: Performance of Templates: time 0.01597/0.3278, allocations: 10.91 MB / 0.5984 GB, free: 9.57 MB / 0.5105 GB " [Timeout remaining time 799] make -j1 -f ClaRa_dev_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe >> ../files/ClaRa_dev_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.sim & ./ClaRa_dev_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 4.596125361975282]