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.01067/0.01067, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.0008798/0.0008798, allocations: 83.77 kB / 25.61 MB, free: 6.941 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.0009047/0.0009047, allocations: 172.8 kB / 29.46 MB, free: 3.152 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.9469/0.9469, allocations: 177.2 MB / 210.3 MB, free: 3.59 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.625/0.625, allocations: 102.4 MB / 369.8 MB, free: 376 kB / 330.7 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.713e-06/1.713e-06, allocations: 0 / 469.8 MB, free: 19.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.24e-05, allocations: 4.281 kB / 469.8 MB, free: 19.04 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.1227/0.1228, allocations: 54.81 MB / 0.5124 GB, free: 1.52 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.008109/0.1309, allocations: 7.269 MB / 0.5195 GB, free: 10.23 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.1314, allocations: 19.94 kB / 0.5195 GB, free: 10.21 MB / 442.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.001464/0.1329, allocations: 0.5087 MB / 0.52 GB, free: 9.699 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006882/0.1336, allocations: 445.5 kB / 0.5204 GB, free: 9.262 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.1347, allocations: 0.6506 MB / 0.521 GB, free: 8.609 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.1358, allocations: 1.007 MB / 0.522 GB, free: 7.602 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.1362, allocations: 196.3 kB / 0.5222 GB, free: 7.395 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005443/0.1368, allocations: 0.5064 MB / 0.5227 GB, free: 6.887 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004516/0.1372, allocations: 432.8 kB / 0.5231 GB, free: 6.465 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1373, allocations: 96 kB / 0.5232 GB, free: 6.371 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000598/0.1379, allocations: 431.1 kB / 0.5236 GB, free: 5.949 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.1382, allocations: 0.4984 MB / 0.5241 GB, free: 5.449 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.1385, allocations: 362.7 kB / 0.5245 GB, free: 5.094 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.1398, allocations: 1.389 MB / 0.5258 GB, free: 3.699 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1398, allocations: 0 / 0.5258 GB, free: 3.699 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1398, allocations: 0 / 0.5258 GB, free: 3.699 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.1398, allocations: 0 / 0.5258 GB, free: 3.699 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.001998/0.1418, allocations: 2.207 MB / 0.528 GB, free: 1.445 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1419, allocations: 12.03 kB / 0.528 GB, free: 1.434 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.1422, allocations: 235.7 kB / 0.5282 GB, free: 1.203 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.1442, allocations: 1.805 MB / 0.53 GB, free: 15.37 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.1442, allocations: 29.38 kB / 0.53 GB, free: 15.34 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.1443, allocations: 48.33 kB / 0.53 GB, free: 15.29 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.1449, allocations: 0.4947 MB / 0.5305 GB, free: 14.73 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1449, allocations: 192 / 0.5305 GB, free: 14.73 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.1449, allocations: 20.12 kB / 0.5305 GB, free: 14.71 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1449, allocations: 12 kB / 0.5306 GB, free: 14.7 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.1453, allocations: 191.6 kB / 0.5307 GB, free: 14.51 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.1471, allocations: 2.324 MB / 0.533 GB, free: 12.1 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.1475, allocations: 248.9 kB / 0.5332 GB, free: 11.82 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1476, allocations: 71.62 kB / 0.5333 GB, free: 11.74 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/0.1476, allocations: 24.23 kB / 0.5333 GB, free: 11.72 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1477, allocations: 49.61 kB / 0.5334 GB, free: 11.66 MB / 458.8 MB Notification: Performance of pre-optimization done (n=34): time 1.283e-06/0.1477, allocations: 0 / 0.5334 GB, free: 11.66 MB / 458.8 MB Notification: Performance of matching and sorting (n=34): time 0.0007494/0.1484, allocations: 459.4 kB / 0.5338 GB, free: 11.21 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.1485, allocations: 187.9 kB / 0.534 GB, free: 10.98 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.1499, allocations: 1.695 MB / 0.5357 GB, free: 9.227 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1499, allocations: 29.7 kB / 0.5357 GB, free: 9.191 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/0.1504, allocations: 0.7866 MB / 0.5364 GB, free: 8.398 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.1504, allocations: 126.9 kB / 0.5366 GB, free: 8.273 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.1505, allocations: 111.7 kB / 0.5367 GB, free: 8.156 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1506, allocations: 0.4926 MB / 0.5372 GB, free: 7.656 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.1507, allocations: 57.09 kB / 0.5372 GB, free: 7.602 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1509, allocations: 324.6 kB / 0.5375 GB, free: 7.188 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.1512, allocations: 302.4 kB / 0.5378 GB, free: 6.832 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1512, allocations: 0 / 0.5378 GB, free: 6.832 MB / 458.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004625/0.1517, allocations: 458.1 kB / 0.5382 GB, free: 6.379 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1517, allocations: 12.34 kB / 0.5383 GB, free: 6.367 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1517, allocations: 8 kB / 0.5383 GB, free: 6.359 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1517, allocations: 7.938 kB / 0.5383 GB, free: 6.352 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.152, allocations: 99.83 kB / 0.5384 GB, free: 6.254 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.152, allocations: 4 kB / 0.5384 GB, free: 6.25 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.1521, allocations: 55.66 kB / 0.5384 GB, free: 6.195 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1522, allocations: 16 kB / 0.5384 GB, free: 6.18 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.0001612/0.1523, allocations: 180.5 kB / 0.5386 GB, free: 5.992 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.1525, allocations: 182.9 kB / 0.5388 GB, free: 5.812 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.153, allocations: 428 kB / 0.5392 GB, free: 5.359 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.153, allocations: 3.938 kB / 0.5392 GB, free: 5.355 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.153, allocations: 4 kB / 0.5392 GB, free: 5.352 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.153, allocations: 4.031 kB / 0.5392 GB, free: 5.348 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.1537, allocations: 0.7967 MB / 0.54 GB, free: 4.508 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1537, allocations: 0 / 0.54 GB, free: 4.508 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.1539, allocations: 59.91 kB / 0.54 GB, free: 4.449 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1539, allocations: 0 / 0.54 GB, free: 4.449 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1539, allocations: 12 kB / 0.5401 GB, free: 4.438 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1539, allocations: 0 / 0.5401 GB, free: 4.438 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1539, allocations: 7.938 kB / 0.5401 GB, free: 4.43 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.1544, allocations: 0.6384 MB / 0.5407 GB, free: 3.766 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.1546, allocations: 244.7 kB / 0.5409 GB, free: 3.527 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.1547, allocations: 8 kB / 0.5409 GB, free: 3.52 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1548, allocations: 15.98 kB / 0.5409 GB, free: 3.504 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.1549, allocations: 27.89 kB / 0.541 GB, free: 3.477 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.1549, allocations: 4.312 kB / 0.541 GB, free: 3.473 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0008936/0.1558, allocations: 1.015 MB / 0.542 GB, free: 2.434 MB / 458.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1558, allocations: 4 kB / 0.542 GB, free: 2.43 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0004037/0.1562, allocations: 199.6 kB / 0.5422 GB, free: 2.234 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.001061/0.1573, allocations: 0.5612 MB / 0.5427 GB, free: 1.789 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.1576, allocations: 205 kB / 0.5429 GB, free: 1.586 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1576, allocations: 0 / 0.5429 GB, free: 1.586 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1577, allocations: 87.5 kB / 0.543 GB, free: 1.496 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.1583, allocations: 227.4 kB / 0.5432 GB, free: 1.277 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1606, allocations: 2.109 MB / 0.5453 GB, free: 15.11 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1608, allocations: 305.9 kB / 0.5456 GB, free: 14.79 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.1611, allocations: 183 kB / 0.5457 GB, free: 14.61 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1612, allocations: 84.47 kB / 0.5458 GB, free: 14.52 MB / 474.8 MB Notification: Performance of SimCode: time 1.092e-06/0.1612, allocations: 0 / 0.5458 GB, free: 14.52 MB / 474.8 MB Notification: Performance of Templates: time 0.01525/0.1765, allocations: 11.02 MB / 0.5566 GB, free: 3.605 MB / 474.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.463666544994339]