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.008301/0.008301, allocations: 1.798 MB / 21.35 MB, free: 3.188 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.0007918/0.0007918, allocations: 91.08 kB / 25.15 MB, free: 7.465 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.0008947/0.0008947, allocations: 162.2 kB / 29.06 MB, free: 3.656 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.9391/0.9391, allocations: 177.1 MB / 210 MB, free: 3.559 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.5952/0.5952, allocations: 102.5 MB / 369.5 MB, free: 332 kB / 330.7 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.643e-06/1.643e-06, allocations: 0 / 469.9 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.691e-05, allocations: 3.984 kB / 470 MB, free: 18.94 MB / 410.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.1054/0.1055, allocations: 54.87 MB / 0.5125 GB, free: 1.082 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.007047/0.1125, allocations: 7.273 MB / 0.5196 GB, free: 9.789 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004433/0.113, allocations: 15.94 kB / 0.5196 GB, free: 9.773 MB / 442.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.001237/0.1142, allocations: 0.5165 MB / 0.5201 GB, free: 9.254 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005848/0.1148, allocations: 437.6 kB / 0.5206 GB, free: 8.824 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008874/0.1157, allocations: 0.6505 MB / 0.5212 GB, free: 8.172 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007357/0.1164, allocations: 1.005 MB / 0.5222 GB, free: 7.164 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.1167, allocations: 203.5 kB / 0.5224 GB, free: 6.953 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.1171, allocations: 0.5025 MB / 0.5229 GB, free: 6.449 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.1175, allocations: 430.7 kB / 0.5233 GB, free: 6.027 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.1176, allocations: 104 kB / 0.5234 GB, free: 5.926 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005671/0.1181, allocations: 427.1 kB / 0.5238 GB, free: 5.508 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.1184, allocations: 0.5022 MB / 0.5243 GB, free: 5.004 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.1187, allocations: 362.7 kB / 0.5246 GB, free: 4.648 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.1199, allocations: 1.385 MB / 0.526 GB, free: 3.258 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.1199, allocations: 0 / 0.526 GB, free: 3.258 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1199, allocations: 0 / 0.526 GB, free: 3.258 MB / 442.8 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1199, allocations: 4 kB / 0.526 GB, free: 3.254 MB / 442.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.002091/0.122, allocations: 2.204 MB / 0.5281 GB, free: 1.004 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1221, allocations: 8.031 kB / 0.5281 GB, free: 0.9961 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.1224, allocations: 239.7 kB / 0.5284 GB, free: 0.7617 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.1244, allocations: 1.819 MB / 0.5301 GB, free: 14.91 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.1244, allocations: 33.38 kB / 0.5302 GB, free: 14.88 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.1245, allocations: 40.38 kB / 0.5302 GB, free: 14.84 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.1254, allocations: 0.4947 MB / 0.5307 GB, free: 14.28 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1254, allocations: 192 / 0.5307 GB, free: 14.28 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.1255, allocations: 20.12 kB / 0.5307 GB, free: 14.26 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1255, allocations: 8 kB / 0.5307 GB, free: 14.25 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.1258, allocations: 191.6 kB / 0.5309 GB, free: 14.07 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.1277, allocations: 2.332 MB / 0.5332 GB, free: 11.65 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.1281, allocations: 253 kB / 0.5334 GB, free: 11.37 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1282, allocations: 75.56 kB / 0.5335 GB, free: 11.28 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.323e-05/0.1282, allocations: 24.23 kB / 0.5335 GB, free: 11.26 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1283, allocations: 49.61 kB / 0.5336 GB, free: 11.2 MB / 458.8 MB Notification: Performance of pre-optimization done (n=34): time 1.764e-06/0.1283, allocations: 0 / 0.5336 GB, free: 11.2 MB / 458.8 MB Notification: Performance of matching and sorting (n=34): time 0.0007681/0.129, allocations: 458.6 kB / 0.534 GB, free: 10.75 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.1291, allocations: 187.9 kB / 0.5342 GB, free: 10.52 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.1305, allocations: 1.695 MB / 0.5358 GB, free: 8.766 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.1305, allocations: 33.7 kB / 0.5359 GB, free: 8.727 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/0.131, allocations: 0.7789 MB / 0.5366 GB, free: 7.941 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.1311, allocations: 126.9 kB / 0.5367 GB, free: 7.816 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.1312, allocations: 115.7 kB / 0.5369 GB, free: 7.695 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1313, allocations: 0.5005 MB / 0.5373 GB, free: 7.188 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1314, allocations: 52.97 kB / 0.5374 GB, free: 7.137 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.1319, allocations: 324.6 kB / 0.5377 GB, free: 6.723 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.1322, allocations: 302.4 kB / 0.538 GB, free: 6.367 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1322, allocations: 0 / 0.538 GB, free: 6.367 MB / 458.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004825/0.1327, allocations: 462.5 kB / 0.5384 GB, free: 5.91 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1327, allocations: 7.984 kB / 0.5384 GB, free: 5.902 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1327, allocations: 4 kB / 0.5384 GB, free: 5.898 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1327, allocations: 7.938 kB / 0.5385 GB, free: 5.891 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.1329, allocations: 103.8 kB / 0.5386 GB, free: 5.789 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1329, allocations: 4 kB / 0.5386 GB, free: 5.785 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.1331, allocations: 51.66 kB / 0.5386 GB, free: 5.734 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.1331, allocations: 20 kB / 0.5386 GB, free: 5.715 MB / 458.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.0001633/0.1333, allocations: 180.5 kB / 0.5388 GB, free: 5.527 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.1335, allocations: 182.9 kB / 0.539 GB, free: 5.348 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.1339, allocations: 420 kB / 0.5394 GB, free: 4.902 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1339, allocations: 7.938 kB / 0.5394 GB, free: 4.895 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.134, allocations: 0 / 0.5394 GB, free: 4.895 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.134, allocations: 0 / 0.5394 GB, free: 4.895 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/0.1347, allocations: 0.8045 MB / 0.5402 GB, free: 4.047 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1347, allocations: 0 / 0.5402 GB, free: 4.047 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.1349, allocations: 51.91 kB / 0.5402 GB, free: 3.996 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1349, allocations: 8 kB / 0.5402 GB, free: 3.988 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1349, allocations: 4 kB / 0.5402 GB, free: 3.984 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1349, allocations: 4 kB / 0.5402 GB, free: 3.98 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1349, allocations: 3.938 kB / 0.5402 GB, free: 3.977 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.1354, allocations: 0.6435 MB / 0.5409 GB, free: 3.309 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.1357, allocations: 240.7 kB / 0.5411 GB, free: 3.074 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.1357, allocations: 15.94 kB / 0.5411 GB, free: 3.059 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.1359, allocations: 16.3 kB / 0.5411 GB, free: 3.043 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.1359, allocations: 23.91 kB / 0.5411 GB, free: 3.02 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.136, allocations: 19.98 kB / 0.5412 GB, free: 3 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0009018/0.1369, allocations: 1.012 MB / 0.5422 GB, free: 1.965 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1369, allocations: 0 / 0.5422 GB, free: 1.965 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0004529/0.1373, allocations: 199.6 kB / 0.5423 GB, free: 1.77 MB / 458.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.001179/0.1385, allocations: 0.5564 MB / 0.5429 GB, free: 1.336 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.1388, allocations: 204.3 kB / 0.5431 GB, free: 1.133 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1388, allocations: 0 / 0.5431 GB, free: 1.133 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.1389, allocations: 88.55 kB / 0.5432 GB, free: 1.043 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.1396, allocations: 215.7 kB / 0.5434 GB, free: 0.832 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.1423, allocations: 2.113 MB / 0.5454 GB, free: 14.66 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.1425, allocations: 301.8 kB / 0.5457 GB, free: 14.34 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.1429, allocations: 179 kB / 0.5459 GB, free: 14.16 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.143, allocations: 92.47 kB / 0.546 GB, free: 14.07 MB / 474.8 MB Notification: Performance of SimCode: time 1.463e-06/0.143, allocations: 4 kB / 0.546 GB, free: 14.07 MB / 474.8 MB Notification: Performance of Templates: time 0.01537/0.1584, allocations: 11.03 MB / 0.5568 GB, free: 3.141 MB / 474.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.522154961246997]