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.008831/0.008831, 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.0008697/0.0008697, allocations: 88.08 kB / 25.49 MB, free: 6.41 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.0009203/0.0009203, allocations: 166.6 kB / 28.89 MB, free: 3.375 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.9369/0.9369, allocations: 177.1 MB / 209.3 MB, free: 2.23 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.7165/0.7165, allocations: 102.5 MB / 368.3 MB, free: 0.7773 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 / 415.1 MB, free: 2.195 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.075e-05, allocations: 2.312 kB / 415.1 MB, free: 2.191 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.113/0.113, allocations: 60.68 MB / 475.8 MB, free: 5.582 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.007968/0.121, allocations: 7.355 MB / 483.1 MB, free: 14.2 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.1215, allocations: 15.94 kB / 483.1 MB, free: 14.18 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.001258/0.1227, allocations: 0.5165 MB / 483.7 MB, free: 13.66 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006278/0.1233, allocations: 441.3 kB / 484.1 MB, free: 13.23 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009232/0.1243, allocations: 0.6506 MB / 484.7 MB, free: 12.58 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007898/0.1251, allocations: 1.005 MB / 485.8 MB, free: 11.57 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.1254, allocations: 214.2 kB / 486 MB, free: 11.35 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2931/0.4185, allocations: 45.79 MB / 0.5193 GB, free: 84.5 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005494/0.419, allocations: 306.6 kB / 0.5196 GB, free: 84.5 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.4192, allocations: 58.5 kB / 0.5196 GB, free: 84.5 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.4197, allocations: 260.2 kB / 0.5199 GB, free: 84.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.42, allocations: 417.9 kB / 0.5203 GB, free: 84.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.4203, allocations: 294.1 kB / 0.5206 GB, free: 84.43 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.4217, allocations: 1.155 MB / 0.5217 GB, free: 84.24 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4217, allocations: 0 / 0.5217 GB, free: 84.24 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4217, allocations: 1.5 kB / 0.5217 GB, free: 84.24 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.678e-05/0.4217, allocations: 0 / 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.002229/0.424, allocations: 1.731 MB / 0.5234 GB, free: 83.23 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.424, allocations: 13.66 kB / 0.5234 GB, free: 83.23 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.4242, allocations: 129.8 kB / 0.5235 GB, free: 83.23 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.4252, allocations: 0.8758 MB / 0.5244 GB, free: 82.81 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.4253, allocations: 30.31 kB / 0.5244 GB, free: 82.81 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.4253, allocations: 52.34 kB / 0.5245 GB, free: 82.8 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.4259, allocations: 467.5 kB / 0.5249 GB, free: 82.58 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.426, allocations: 3.031 kB / 0.5249 GB, free: 82.58 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.426, allocations: 24.53 kB / 0.5249 GB, free: 82.57 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.426, allocations: 12.94 kB / 0.5249 GB, free: 82.57 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.4263, allocations: 152.5 kB / 0.5251 GB, free: 82.57 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.4277, allocations: 1.338 MB / 0.5264 GB, free: 81.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.428, allocations: 202.5 kB / 0.5266 GB, free: 81.69 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.4281, allocations: 56.5 kB / 0.5266 GB, free: 81.67 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.068e-05/0.4282, allocations: 24.73 kB / 0.5267 GB, free: 81.67 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.4282, allocations: 39.56 kB / 0.5267 GB, free: 81.63 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/0.4282, allocations: 0 / 0.5267 GB, free: 81.63 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.0006808/0.4289, allocations: 318.1 kB / 0.527 GB, free: 81.59 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.4289, allocations: 188.1 kB / 0.5272 GB, free: 81.37 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.4302, allocations: 1.463 MB / 0.5286 GB, free: 81.12 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.4302, allocations: 37.55 kB / 0.5286 GB, free: 81.09 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.4304, allocations: 383.7 kB / 0.529 GB, free: 80.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/0.4305, allocations: 129.7 kB / 0.5291 GB, free: 80.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.4306, allocations: 106.6 kB / 0.5292 GB, free: 80.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.4306, allocations: 325.6 kB / 0.5295 GB, free: 80.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.4307, allocations: 41.53 kB / 0.5296 GB, free: 80.52 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4308, allocations: 256.9 kB / 0.5298 GB, free: 80.28 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.431, allocations: 234.8 kB / 0.5301 GB, free: 80.15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.431, allocations: 1.375 kB / 0.5301 GB, free: 80.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000323/0.4313, allocations: 306.5 kB / 0.5303 GB, free: 80.12 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4313, allocations: 8.047 kB / 0.5304 GB, free: 80.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4314, allocations: 3.688 kB / 0.5304 GB, free: 80.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4314, allocations: 8.25 kB / 0.5304 GB, free: 80.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.4316, allocations: 105.1 kB / 0.5305 GB, free: 80.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4316, allocations: 10.34 kB / 0.5305 GB, free: 80.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.4318, allocations: 51.3 kB / 0.5305 GB, free: 80.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.4318, allocations: 16.81 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.0001646/0.432, allocations: 136.5 kB / 0.5307 GB, free: 79.97 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.4321, allocations: 95.94 kB / 0.5308 GB, free: 79.97 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.4325, allocations: 372.5 kB / 0.5311 GB, free: 79.85 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4325, allocations: 4.75 kB / 0.5311 GB, free: 79.85 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4325, allocations: 7.375 kB / 0.5311 GB, free: 79.85 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4325, allocations: 3.938 kB / 0.5311 GB, free: 79.85 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.4331, allocations: 451.5 kB / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4331, allocations: 0 / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.4333, allocations: 60.66 kB / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4333, allocations: 2.031 kB / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.4333, allocations: 5.812 kB / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4333, allocations: 0 / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4333, allocations: 1.531 kB / 0.5316 GB, free: 79.75 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.4336, allocations: 437.8 kB / 0.532 GB, free: 79.53 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.4338, allocations: 195.1 kB / 0.5322 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.4339, allocations: 10.78 kB / 0.5322 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.4341, allocations: 16.28 kB / 0.5323 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.4341, allocations: 29.97 kB / 0.5323 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.4341, allocations: 5.062 kB / 0.5323 GB, free: 79.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0006877/0.4348, allocations: 0.7975 MB / 0.5331 GB, free: 79.34 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4348, allocations: 0 / 0.5331 GB, free: 79.34 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003947/0.4352, allocations: 164.2 kB / 0.5332 GB, free: 79.32 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.001204/0.4364, allocations: 0.5647 MB / 0.5338 GB, free: 79.22 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.4367, allocations: 171.2 kB / 0.5339 GB, free: 79.21 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/0.4367, allocations: 17.5 kB / 0.534 GB, free: 79.21 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 7.127e-05/0.4368, allocations: 70.91 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.0006241/0.4374, allocations: 212 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.002541/0.4399, allocations: 2.106 MB / 0.5363 GB, free: 78.15 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.4402, allocations: 304.1 kB / 0.5366 GB, free: 78.06 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0003735/0.4405, allocations: 161.2 kB / 0.5367 GB, free: 78.04 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.4409, allocations: 222.1 kB / 0.5369 GB, free: 78 MB / 490.8 MB Notification: Performance of SimCode: time 1.022e-06/0.4409, allocations: 3.938 kB / 0.5369 GB, free: 77.99 MB / 490.8 MB Notification: Performance of Templates: time 0.01553/0.4564, allocations: 10.74 MB / 0.5474 GB, free: 69.53 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 -s gbode -gbm=radauIIA3 -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.875653536990285]