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.01278/0.01278, allocations: 1.784 MB / 21.65 MB, free: 2.656 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.0008615/0.0008615, allocations: 90.3 kB / 25.49 MB, free: 6.777 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.001472/0.001472, allocations: 159 kB / 28.89 MB, free: 3.391 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.8812/0.8812, allocations: 177.2 MB / 209.3 MB, free: 2.25 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.6669/0.6669, allocations: 102.5 MB / 368.3 MB, free: 0.8008 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.473e-06/1.473e-06, allocations: 0 / 415 MB, free: 2.27 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.689e-05, allocations: 2.312 kB / 415 MB, free: 2.266 MB / 378.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.105/0.105, allocations: 60.63 MB / 475.7 MB, free: 5.695 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.006964/0.112, allocations: 7.358 MB / 483 MB, free: 14.31 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.1124, allocations: 19.88 kB / 483.1 MB, free: 14.29 MB / 458.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.001143/0.1135, allocations: 0.5126 MB / 483.6 MB, free: 13.77 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005945/0.1141, allocations: 449.4 kB / 484 MB, free: 13.33 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008656/0.115, allocations: 0.6467 MB / 484.7 MB, free: 12.68 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.000744/0.1157, allocations: 1.009 MB / 485.7 MB, free: 11.67 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.116, allocations: 209.2 kB / 485.9 MB, free: 11.46 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2817/0.3977, allocations: 45.78 MB / 0.5192 GB, free: 84.61 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.3982, allocations: 303.2 kB / 0.5195 GB, free: 84.61 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.3983, allocations: 56.56 kB / 0.5195 GB, free: 84.61 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004351/0.3987, allocations: 262.5 kB / 0.5198 GB, free: 84.61 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.399, allocations: 418.7 kB / 0.5202 GB, free: 84.61 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.3992, allocations: 287 kB / 0.5205 GB, free: 84.55 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.4004, allocations: 1.157 MB / 0.5216 GB, free: 84.36 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4004, allocations: 0.6562 kB / 0.5216 GB, free: 84.36 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4004, allocations: 2.688 kB / 0.5216 GB, free: 84.36 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4004, allocations: 0 / 0.5216 GB, free: 84.36 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.001405/0.4018, allocations: 1.73 MB / 0.5233 GB, free: 83.35 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.4019, allocations: 12.72 kB / 0.5233 GB, free: 83.35 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.402, allocations: 128.3 kB / 0.5234 GB, free: 83.35 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008191/0.4028, allocations: 0.8803 MB / 0.5243 GB, free: 82.93 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.4029, allocations: 33.88 kB / 0.5243 GB, free: 82.93 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.4029, allocations: 47.52 kB / 0.5243 GB, free: 82.92 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.4034, allocations: 473.1 kB / 0.5248 GB, free: 82.7 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4034, allocations: 1.5 kB / 0.5248 GB, free: 82.7 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.4034, allocations: 20.8 kB / 0.5248 GB, free: 82.7 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.4035, allocations: 12.81 kB / 0.5248 GB, free: 82.69 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.4037, allocations: 147.8 kB / 0.525 GB, free: 82.69 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.4049, allocations: 1.341 MB / 0.5263 GB, free: 81.89 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.4052, allocations: 207.1 kB / 0.5265 GB, free: 81.81 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.4053, allocations: 57.55 kB / 0.5265 GB, free: 81.79 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.077e-05/0.4054, allocations: 21.28 kB / 0.5266 GB, free: 81.79 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.4054, allocations: 44.92 kB / 0.5266 GB, free: 81.75 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 2.474e-06/0.4054, allocations: 5.156 kB / 0.5266 GB, free: 81.74 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.0005905/0.406, allocations: 311.2 kB / 0.5269 GB, free: 81.7 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.406, allocations: 189.9 kB / 0.5271 GB, free: 81.48 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.4071, allocations: 1.464 MB / 0.5285 GB, free: 81.23 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.4071, allocations: 34.64 kB / 0.5285 GB, free: 81.2 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.4073, allocations: 385.4 kB / 0.5289 GB, free: 81.04 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.4074, allocations: 129.7 kB / 0.529 GB, free: 80.96 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/0.4074, allocations: 108.9 kB / 0.5291 GB, free: 80.93 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.402e-05/0.4075, allocations: 326.5 kB / 0.5294 GB, free: 80.63 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.4075, allocations: 40.89 kB / 0.5295 GB, free: 80.63 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.4076, allocations: 250.7 kB / 0.5297 GB, free: 80.39 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.4078, allocations: 237.6 kB / 0.53 GB, free: 80.27 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4078, allocations: 0 / 0.53 GB, free: 80.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002831/0.4081, allocations: 305.9 kB / 0.5302 GB, free: 80.23 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4081, allocations: 5.219 kB / 0.5302 GB, free: 80.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4081, allocations: 3.406 kB / 0.5303 GB, free: 80.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4081, allocations: 6.125 kB / 0.5303 GB, free: 80.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.4084, allocations: 99.94 kB / 0.5304 GB, free: 80.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4084, allocations: 15.88 kB / 0.5304 GB, free: 80.23 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.4085, allocations: 52.33 kB / 0.5304 GB, free: 80.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.4085, allocations: 19.56 kB / 0.5304 GB, free: 80.2 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.0001549/0.4087, allocations: 139.6 kB / 0.5306 GB, free: 80.09 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.4088, allocations: 95.98 kB / 0.5307 GB, free: 80.09 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.4092, allocations: 368.6 kB / 0.531 GB, free: 79.97 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4092, allocations: 2.875 kB / 0.531 GB, free: 79.97 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4092, allocations: 1.469 kB / 0.531 GB, free: 79.97 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4092, allocations: 5.094 kB / 0.531 GB, free: 79.96 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.4097, allocations: 442.8 kB / 0.5314 GB, free: 79.88 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4097, allocations: 1.812 kB / 0.5314 GB, free: 79.88 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.4098, allocations: 54.09 kB / 0.5315 GB, free: 79.88 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4099, allocations: 3.891 kB / 0.5315 GB, free: 79.88 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.4099, allocations: 7.031 kB / 0.5315 GB, free: 79.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4099, allocations: 5.156 kB / 0.5315 GB, free: 79.88 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4099, allocations: 0 / 0.5315 GB, free: 79.88 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.4102, allocations: 437.5 kB / 0.5319 GB, free: 79.65 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.4104, allocations: 203.4 kB / 0.5321 GB, free: 79.55 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.4104, allocations: 10.09 kB / 0.5321 GB, free: 79.55 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.4106, allocations: 15.53 kB / 0.5321 GB, free: 79.55 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.4106, allocations: 20.42 kB / 0.5322 GB, free: 79.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.4106, allocations: 8.281 kB / 0.5322 GB, free: 79.55 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0006072/0.4112, allocations: 0.7945 MB / 0.533 GB, free: 79.45 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4112, allocations: 1 kB / 0.533 GB, free: 79.45 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003859/0.4116, allocations: 165.3 kB / 0.5331 GB, free: 79.43 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.001162/0.4128, allocations: 0.5682 MB / 0.5337 GB, free: 79.34 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.413, allocations: 180.4 kB / 0.5338 GB, free: 79.32 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.413, allocations: 14.66 kB / 0.5339 GB, free: 79.32 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/0.4131, allocations: 74.23 kB / 0.5339 GB, free: 79.32 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.4136, allocations: 218.1 kB / 0.5341 GB, free: 79.29 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.4159, allocations: 2.096 MB / 0.5362 GB, free: 78.26 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.4161, allocations: 303.8 kB / 0.5365 GB, free: 78.18 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0003189/0.4165, allocations: 163.4 kB / 0.5366 GB, free: 78.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.4168, allocations: 225 kB / 0.5368 GB, free: 78.11 MB / 490.8 MB Notification: Performance of SimCode: time 1.082e-06/0.4168, allocations: 0 / 0.5368 GB, free: 78.11 MB / 490.8 MB Notification: Performance of Templates: time 0.01465/0.4314, allocations: 10.74 MB / 0.5473 GB, free: 69.64 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: 3.961380392778665]