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.00951/0.00951, allocations: 1.784 MB / 21.64 MB, free: 2.816 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.001278/0.001278, allocations: 85.97 kB / 25.48 MB, free: 6.414 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.001582/0.001582, allocations: 162.2 kB / 28.89 MB, free: 3.387 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.9214/0.9214, allocations: 177.2 MB / 209.4 MB, free: 2.188 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.801/0.801, allocations: 102.5 MB / 368.3 MB, free: 0.7539 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.543e-06/1.543e-06, allocations: 0 / 415 MB, free: 2.234 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.095e-05, allocations: 2.312 kB / 415 MB, free: 2.23 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.1173/0.1173, allocations: 60.63 MB / 475.7 MB, free: 5.664 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.007795/0.1251, allocations: 7.347 MB / 483 MB, free: 14.29 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.1256, allocations: 23.88 kB / 483 MB, free: 14.27 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.001245/0.1268, allocations: 0.5242 MB / 483.6 MB, free: 13.74 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0007256/0.1276, allocations: 445.5 kB / 484 MB, free: 13.3 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009875/0.1285, allocations: 0.6428 MB / 484.6 MB, free: 12.66 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0009534/0.1295, allocations: 1.005 MB / 485.6 MB, free: 11.65 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.1298, allocations: 206.2 kB / 485.9 MB, free: 11.43 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3039/0.4337, allocations: 45.79 MB / 0.5192 GB, free: 84.56 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005647/0.4343, allocations: 309.8 kB / 0.5195 GB, free: 84.56 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.4344, allocations: 54.12 kB / 0.5195 GB, free: 84.56 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.435, allocations: 254.5 kB / 0.5198 GB, free: 84.56 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003425/0.4353, allocations: 424.3 kB / 0.5202 GB, free: 84.56 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.4356, allocations: 291.5 kB / 0.5205 GB, free: 84.49 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.4371, allocations: 1.152 MB / 0.5216 GB, free: 84.3 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4371, allocations: 2.031 kB / 0.5216 GB, free: 84.3 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4371, allocations: 3.469 kB / 0.5216 GB, free: 84.3 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.677e-05/0.4372, allocations: 0.5312 kB / 0.5216 GB, free: 84.3 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.002144/0.4393, allocations: 1.732 MB / 0.5233 GB, free: 83.3 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4393, allocations: 10.16 kB / 0.5233 GB, free: 83.3 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000254/0.4396, allocations: 130.8 kB / 0.5234 GB, free: 83.3 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.4406, allocations: 0.8792 MB / 0.5243 GB, free: 82.87 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.4407, allocations: 31.09 kB / 0.5243 GB, free: 82.87 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.4407, allocations: 49.45 kB / 0.5243 GB, free: 82.87 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.4413, allocations: 466.9 kB / 0.5248 GB, free: 82.64 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4413, allocations: 4.906 kB / 0.5248 GB, free: 82.64 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.4413, allocations: 13.94 kB / 0.5248 GB, free: 82.64 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.4413, allocations: 14.72 kB / 0.5248 GB, free: 82.64 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.4416, allocations: 157.4 kB / 0.525 GB, free: 82.63 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.443, allocations: 1.335 MB / 0.5263 GB, free: 81.83 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.4434, allocations: 212.7 kB / 0.5265 GB, free: 81.75 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.4434, allocations: 56.48 kB / 0.5265 GB, free: 81.73 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.4435, allocations: 21.56 kB / 0.5266 GB, free: 81.73 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.4435, allocations: 44.19 kB / 0.5266 GB, free: 81.69 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 2.395e-06/0.4435, allocations: 0 / 0.5266 GB, free: 81.69 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.0006271/0.4441, allocations: 314.9 kB / 0.5269 GB, free: 81.64 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.4442, allocations: 192.8 kB / 0.5271 GB, free: 81.43 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.4454, allocations: 1.463 MB / 0.5285 GB, free: 81.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.4455, allocations: 36.86 kB / 0.5285 GB, free: 81.15 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.4456, allocations: 383.9 kB / 0.5289 GB, free: 80.99 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.4457, allocations: 126.6 kB / 0.529 GB, free: 80.91 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.4458, allocations: 108.1 kB / 0.5291 GB, free: 80.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.4458, allocations: 329.1 kB / 0.5294 GB, free: 80.57 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.4459, allocations: 39.03 kB / 0.5295 GB, free: 80.57 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.446, allocations: 246.7 kB / 0.5297 GB, free: 80.34 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.4462, allocations: 244.2 kB / 0.53 GB, free: 80.21 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4462, allocations: 0 / 0.53 GB, free: 80.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002911/0.4465, allocations: 308.6 kB / 0.5302 GB, free: 80.18 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4465, allocations: 6.5 kB / 0.5303 GB, free: 80.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4465, allocations: 3.812 kB / 0.5303 GB, free: 80.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4465, allocations: 8.219 kB / 0.5303 GB, free: 80.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.4467, allocations: 96.2 kB / 0.5304 GB, free: 80.18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4467, allocations: 9.75 kB / 0.5304 GB, free: 80.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.4469, allocations: 52.28 kB / 0.5304 GB, free: 80.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.4469, allocations: 14.47 kB / 0.5304 GB, free: 80.15 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.0001511/0.447, allocations: 142.9 kB / 0.5306 GB, free: 80.03 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4472, allocations: 95.59 kB / 0.5307 GB, free: 80.03 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.4475, allocations: 367.3 kB / 0.531 GB, free: 79.91 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4475, allocations: 4.469 kB / 0.531 GB, free: 79.91 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.4475, allocations: 1.438 kB / 0.531 GB, free: 79.91 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4475, allocations: 5.062 kB / 0.531 GB, free: 79.91 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.4481, allocations: 443 kB / 0.5314 GB, free: 79.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4481, allocations: 1.875 kB / 0.5314 GB, free: 79.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.4482, allocations: 59.41 kB / 0.5315 GB, free: 79.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4482, allocations: 0.5625 kB / 0.5315 GB, free: 79.82 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.4482, allocations: 6.25 kB / 0.5315 GB, free: 79.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4482, allocations: 10.88 kB / 0.5315 GB, free: 79.82 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4482, allocations: 0 / 0.5315 GB, free: 79.82 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.4485, allocations: 441.4 kB / 0.5319 GB, free: 79.59 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.4488, allocations: 190.3 kB / 0.5321 GB, free: 79.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.4488, allocations: 12.5 kB / 0.5321 GB, free: 79.49 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.449, allocations: 14.69 kB / 0.5321 GB, free: 79.49 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.449, allocations: 21.06 kB / 0.5322 GB, free: 79.49 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.449, allocations: 9.484 kB / 0.5322 GB, free: 79.49 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0006784/0.4497, allocations: 0.7976 MB / 0.533 GB, free: 79.4 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4497, allocations: 1.031 kB / 0.533 GB, free: 79.4 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003665/0.4501, allocations: 164.2 kB / 0.5331 GB, free: 79.38 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.001287/0.4514, allocations: 0.5674 MB / 0.5337 GB, free: 79.28 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.4516, allocations: 170.9 kB / 0.5338 GB, free: 79.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/0.4516, allocations: 18.69 kB / 0.5338 GB, free: 79.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.4517, allocations: 75.69 kB / 0.5339 GB, free: 79.26 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.4522, allocations: 206.5 kB / 0.5341 GB, free: 79.24 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.4545, allocations: 2.105 MB / 0.5362 GB, free: 78.21 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.4547, allocations: 300.7 kB / 0.5365 GB, free: 78.12 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0003069/0.455, allocations: 159.6 kB / 0.5366 GB, free: 78.11 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.4553, allocations: 225.5 kB / 0.5368 GB, free: 78.06 MB / 490.8 MB Notification: Performance of SimCode: time 8.61e-07/0.4553, allocations: 2.656 kB / 0.5368 GB, free: 78.06 MB / 490.8 MB Notification: Performance of Templates: time 0.0134/0.4687, allocations: 10.73 MB / 0.5473 GB, free: 69.64 MB / 490.8 MB " [Timeout remaining time 800] 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.2087872992269695]