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.009855/0.009855, allocations: 1.784 MB / 21.64 MB, free: 2.82 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.0008742/0.0008742, allocations: 78.41 kB / 25.48 MB, free: 6.387 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.000893/0.000893, allocations: 163.6 kB / 28.89 MB, free: 3.367 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.9592/0.9592, allocations: 177.2 MB / 209.3 MB, free: 2.223 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.7461/0.7461, allocations: 102.4 MB / 368.3 MB, free: 0.7227 MB / 330.8 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.263e-06/1.263e-06, allocations: 0 / 415.1 MB, free: 2.156 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.275e-05, allocations: 4.422 kB / 415.1 MB, free: 2.152 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.1271/0.1271, allocations: 60.68 MB / 475.8 MB, free: 5.539 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.009544/0.1367, allocations: 7.339 MB / 483.1 MB, free: 14.17 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005597/0.1372, allocations: 27.88 kB / 483.1 MB, free: 14.14 MB / 458.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.001536/0.1388, allocations: 0.5203 MB / 483.7 MB, free: 13.62 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0008756/0.1396, allocations: 441.5 kB / 484.1 MB, free: 13.19 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1409, allocations: 0.6545 MB / 484.7 MB, free: 12.53 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.1419, allocations: 1.008 MB / 485.7 MB, free: 11.52 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.1423, allocations: 206.3 kB / 486 MB, free: 11.31 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3158/0.4581, allocations: 45.78 MB / 0.5193 GB, free: 84.49 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007596/0.4588, allocations: 305.9 kB / 0.5196 GB, free: 84.49 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.459, allocations: 55.94 kB / 0.5196 GB, free: 84.49 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006075/0.4596, allocations: 262.2 kB / 0.5199 GB, free: 84.49 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003585/0.46, allocations: 422.4 kB / 0.5203 GB, free: 84.49 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003238/0.4603, allocations: 288.1 kB / 0.5205 GB, free: 84.43 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.4622, allocations: 1.152 MB / 0.5217 GB, free: 84.24 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4622, allocations: 0 / 0.5217 GB, free: 84.24 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4622, allocations: 1.469 kB / 0.5217 GB, free: 84.24 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.802e-05/0.4622, allocations: 0.5625 kB / 0.5217 GB, free: 84.24 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.0025/0.4647, allocations: 1.738 MB / 0.5234 GB, free: 83.23 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4648, allocations: 10.44 kB / 0.5234 GB, free: 83.23 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.465, allocations: 130 kB / 0.5235 GB, free: 83.23 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.4662, allocations: 0.8778 MB / 0.5244 GB, free: 82.81 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.4662, allocations: 31.78 kB / 0.5244 GB, free: 82.81 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.4663, allocations: 49.91 kB / 0.5244 GB, free: 82.8 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.4669, allocations: 465.4 kB / 0.5249 GB, free: 82.58 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4669, allocations: 1.562 kB / 0.5249 GB, free: 82.58 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.4669, allocations: 18.31 kB / 0.5249 GB, free: 82.58 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.4669, allocations: 15.55 kB / 0.5249 GB, free: 82.57 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.4673, allocations: 158.4 kB / 0.5251 GB, free: 82.57 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.4688, allocations: 1.34 MB / 0.5264 GB, free: 81.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.4691, allocations: 205.5 kB / 0.5266 GB, free: 81.69 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.207e-05/0.4692, allocations: 54.69 kB / 0.5266 GB, free: 81.67 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.255e-05/0.4692, allocations: 19.14 kB / 0.5266 GB, free: 81.67 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.4693, allocations: 43.53 kB / 0.5267 GB, free: 81.63 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 1.492e-06/0.4693, allocations: 0 / 0.5267 GB, free: 81.63 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.0006972/0.47, allocations: 321 kB / 0.527 GB, free: 81.58 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.47, allocations: 187.7 kB / 0.5272 GB, free: 81.36 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.4714, allocations: 1.473 MB / 0.5286 GB, free: 81.11 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.4714, allocations: 30.23 kB / 0.5286 GB, free: 81.08 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.4716, allocations: 378.7 kB / 0.529 GB, free: 80.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.4716, allocations: 131.6 kB / 0.5291 GB, free: 80.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.4717, allocations: 109.3 kB / 0.5292 GB, free: 80.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.4718, allocations: 327.7 kB / 0.5295 GB, free: 80.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.363e-05/0.4718, allocations: 42.59 kB / 0.5296 GB, free: 80.51 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.472, allocations: 246.2 kB / 0.5298 GB, free: 80.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.4722, allocations: 237.9 kB / 0.53 GB, free: 80.15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4722, allocations: 2.5 kB / 0.53 GB, free: 80.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003467/0.4725, allocations: 312.7 kB / 0.5303 GB, free: 80.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4725, allocations: 6.312 kB / 0.5303 GB, free: 80.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4725, allocations: 3.406 kB / 0.5303 GB, free: 80.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4725, allocations: 6.188 kB / 0.5304 GB, free: 80.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.4728, allocations: 105.3 kB / 0.5305 GB, free: 80.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4728, allocations: 9.031 kB / 0.5305 GB, free: 80.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.473, allocations: 55.45 kB / 0.5305 GB, free: 80.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.473, allocations: 15.06 kB / 0.5305 GB, free: 80.09 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.0001985/0.4732, allocations: 139 kB / 0.5307 GB, free: 79.96 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.4733, allocations: 97.7 kB / 0.5308 GB, free: 79.96 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.4738, allocations: 362.7 kB / 0.5311 GB, free: 79.85 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4738, allocations: 3.156 kB / 0.5311 GB, free: 79.85 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.4738, allocations: 1.094 kB / 0.5311 GB, free: 79.85 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4738, allocations: 7.406 kB / 0.5311 GB, free: 79.85 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.4744, allocations: 445.4 kB / 0.5315 GB, free: 79.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4744, allocations: 1.25 kB / 0.5315 GB, free: 79.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.4746, allocations: 59.88 kB / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4746, allocations: 1.406 kB / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.4746, allocations: 10.36 kB / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4746, allocations: 1.531 kB / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4746, allocations: 3.281 kB / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.475, allocations: 442.3 kB / 0.532 GB, free: 79.52 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.4752, allocations: 193.4 kB / 0.5322 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/0.4753, allocations: 10.81 kB / 0.5322 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.4755, allocations: 16.23 kB / 0.5322 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.4755, allocations: 19.98 kB / 0.5323 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4755, allocations: 8.594 kB / 0.5323 GB, free: 79.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0008226/0.4764, allocations: 0.8025 MB / 0.5331 GB, free: 79.34 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4764, allocations: 0 / 0.5331 GB, free: 79.34 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004532/0.4768, allocations: 168.3 kB / 0.5332 GB, free: 79.31 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.001294/0.4781, allocations: 0.5533 MB / 0.5338 GB, free: 79.22 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.4784, allocations: 183 kB / 0.5339 GB, free: 79.21 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.067e-05/0.4784, allocations: 18.03 kB / 0.5339 GB, free: 79.21 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/0.4785, allocations: 65.16 kB / 0.534 GB, free: 79.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.4791, allocations: 217.1 kB / 0.5342 GB, free: 79.18 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.4818, allocations: 2.104 MB / 0.5363 GB, free: 78.15 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.482, allocations: 309.4 kB / 0.5366 GB, free: 78.06 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0003688/0.4824, allocations: 156.7 kB / 0.5367 GB, free: 78.04 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.4827, allocations: 231.8 kB / 0.5369 GB, free: 78 MB / 490.8 MB Notification: Performance of SimCode: time 1.172e-06/0.4827, allocations: 0 / 0.5369 GB, free: 78 MB / 490.8 MB Notification: Performance of Templates: time 0.01588/0.4986, allocations: 10.73 MB / 0.5474 GB, free: 69.48 MB / 490.8 MB " [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 -s gbode -gbm=radauIIA3 -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.029787173960358]