Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01305/0.01305, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0008323/0.0008323, allocations: 89.12 kB / 25.62 MB, free: 6.527 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.0009042/0.0009042, allocations: 163.8 kB / 29.46 MB, free: 3.035 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.9049/0.9049, allocations: 177.1 MB / 210.3 MB, free: 1.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.7408/0.7408, allocations: 102.5 MB / 369.8 MB, free: 0.9453 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.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) 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_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_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 469.9 MB, free: 13.02 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.022e-05, allocations: 7.516 kB / 469.9 MB, free: 13.01 MB / 442.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.103/0.103, allocations: 54.82 MB / 0.5124 GB, free: 6.16 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.1827/0.2856, allocations: 7.255 MB / 0.5195 GB, free: 74.05 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004649/0.2861, allocations: 24.28 kB / 0.5195 GB, free: 74.05 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.001284/0.2874, allocations: 0.5103 MB / 0.52 GB, free: 74.03 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005693/0.288, allocations: 444.1 kB / 0.5204 GB, free: 73.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008312/0.2888, allocations: 0.6433 MB / 0.521 GB, free: 73.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006945/0.2895, allocations: 1.009 MB / 0.522 GB, free: 73.78 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.2898, allocations: 190.5 kB / 0.5222 GB, free: 73.74 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.2902, allocations: 0.5138 MB / 0.5227 GB, free: 73.67 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.2905, allocations: 428.4 kB / 0.5231 GB, free: 73.62 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.2906, allocations: 98.69 kB / 0.5232 GB, free: 73.62 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.2911, allocations: 429.2 kB / 0.5236 GB, free: 73.6 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.2913, allocations: 0.4977 MB / 0.5241 GB, free: 73.52 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.2916, allocations: 365.9 kB / 0.5245 GB, free: 73.45 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.2926, allocations: 1.386 MB / 0.5258 GB, free: 73.22 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2926, allocations: 0.7812 kB / 0.5258 GB, free: 73.22 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2926, allocations: 0 / 0.5258 GB, free: 73.22 MB / 490.8 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.2927, allocations: 0.75 kB / 0.5258 GB, free: 73.22 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.001814/0.2945, allocations: 2.203 MB / 0.528 GB, free: 72.05 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2945, allocations: 12.44 kB / 0.528 GB, free: 72.05 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003252/0.2948, allocations: 235.2 kB / 0.5282 GB, free: 71.95 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.2966, allocations: 1.798 MB / 0.53 GB, free: 71.46 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2966, allocations: 29.12 kB / 0.53 GB, free: 71.46 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.2966, allocations: 44.03 kB / 0.53 GB, free: 71.46 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.2972, allocations: 0.4924 MB / 0.5305 GB, free: 71.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2972, allocations: 1.375 kB / 0.5305 GB, free: 71.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.2972, allocations: 16.97 kB / 0.5305 GB, free: 71.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2973, allocations: 12.41 kB / 0.5305 GB, free: 71.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.2976, allocations: 204.9 kB / 0.5307 GB, free: 71.17 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.2991, allocations: 2.318 MB / 0.533 GB, free: 69.68 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.2995, allocations: 241.6 kB / 0.5332 GB, free: 69.54 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.2996, allocations: 78.12 kB / 0.5333 GB, free: 69.49 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.284e-05/0.2997, allocations: 25.67 kB / 0.5333 GB, free: 69.48 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.2997, allocations: 39.78 kB / 0.5334 GB, free: 69.44 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.2997, allocations: 1.688 kB / 0.5334 GB, free: 69.44 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.0007598/0.3005, allocations: 451.4 kB / 0.5338 GB, free: 69.26 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.3005, allocations: 192.6 kB / 0.534 GB, free: 69.04 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.3018, allocations: 1.697 MB / 0.5356 GB, free: 68.34 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3018, allocations: 37.58 kB / 0.5357 GB, free: 68.3 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.3022, allocations: 0.7791 MB / 0.5364 GB, free: 67.68 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.3022, allocations: 124.4 kB / 0.5366 GB, free: 67.58 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.3023, allocations: 114.6 kB / 0.5367 GB, free: 67.51 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.3023, allocations: 0.4972 MB / 0.5371 GB, free: 67.02 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3025, allocations: 55.5 kB / 0.5372 GB, free: 67.02 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.3026, allocations: 322.3 kB / 0.5375 GB, free: 66.68 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.3029, allocations: 303.8 kB / 0.5378 GB, free: 66.44 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3029, allocations: 0 / 0.5378 GB, free: 66.44 MB / 490.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004599/0.3034, allocations: 461.5 kB / 0.5382 GB, free: 66.25 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3034, allocations: 8.312 kB / 0.5382 GB, free: 66.25 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3034, allocations: 3.016 kB / 0.5383 GB, free: 66.25 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3034, allocations: 9.062 kB / 0.5383 GB, free: 66.24 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.3036, allocations: 101.9 kB / 0.5384 GB, free: 66.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.3036, allocations: 5.438 kB / 0.5384 GB, free: 66.23 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.3038, allocations: 57.33 kB / 0.5384 GB, free: 66.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.3038, allocations: 21.23 kB / 0.5384 GB, free: 66.19 MB / 490.8 MB 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.0001543/0.304, allocations: 182.5 kB / 0.5386 GB, free: 66.01 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.3041, allocations: 179.6 kB / 0.5388 GB, free: 65.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.3046, allocations: 421.1 kB / 0.5392 GB, free: 65.69 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3046, allocations: 8.469 kB / 0.5392 GB, free: 65.69 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3046, allocations: 3.672 kB / 0.5392 GB, free: 65.69 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3046, allocations: 0.9688 kB / 0.5392 GB, free: 65.69 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006987/0.3053, allocations: 0.7989 MB / 0.54 GB, free: 65.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3053, allocations: 1.375 kB / 0.54 GB, free: 65.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.3055, allocations: 59.41 kB / 0.54 GB, free: 65.26 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.3055, allocations: 2.781 kB / 0.54 GB, free: 65.26 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3055, allocations: 6.375 kB / 0.54 GB, free: 65.26 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3055, allocations: 1.594 kB / 0.54 GB, free: 65.26 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3055, allocations: 6.25 kB / 0.5401 GB, free: 65.25 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.306, allocations: 0.6495 MB / 0.5407 GB, free: 64.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.3063, allocations: 235 kB / 0.5409 GB, free: 64.67 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/0.3064, allocations: 15.58 kB / 0.5409 GB, free: 64.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3066, allocations: 17.09 kB / 0.5409 GB, free: 64.65 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.3066, allocations: 37.03 kB / 0.541 GB, free: 64.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3066, allocations: 5.562 kB / 0.541 GB, free: 64.64 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0009673/0.3076, allocations: 1.018 MB / 0.542 GB, free: 64.27 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.3076, allocations: 1.375 kB / 0.542 GB, free: 64.27 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000457/0.3081, allocations: 193.9 kB / 0.5422 GB, free: 64.23 MB / 490.8 MB 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.001086/0.3091, allocations: 0.5569 MB / 0.5427 GB, free: 64.11 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.3095, allocations: 212.2 kB / 0.5429 GB, free: 64.05 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3095, allocations: 1.375 kB / 0.5429 GB, free: 64.05 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3096, allocations: 84.92 kB / 0.543 GB, free: 64.02 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.3102, allocations: 217.1 kB / 0.5432 GB, free: 63.94 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.3127, allocations: 2.116 MB / 0.5453 GB, free: 62.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.3129, allocations: 300.4 kB / 0.5455 GB, free: 62.69 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0003106/0.3132, allocations: 173.6 kB / 0.5457 GB, free: 62.67 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.3133, allocations: 93.45 kB / 0.5458 GB, free: 62.66 MB / 490.8 MB Notification: Performance of SimCode: time 9.72e-07/0.3133, allocations: 3.938 kB / 0.5458 GB, free: 62.66 MB / 490.8 MB Notification: Performance of Templates: time 0.01718/0.3305, allocations: 11.04 MB / 0.5566 GB, free: 61.29 MB / 490.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe ; mkfifo ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe >> ../files/ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.sim & ./ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_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.090102002955973]