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.008102/0.008102, allocations: 1.798 MB / 21.35 MB, free: 3.191 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.0008007/0.0008007, allocations: 84.78 kB / 25.15 MB, free: 7.469 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.001067/0.001067, allocations: 163.8 kB / 29.06 MB, free: 3.664 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.9543/0.9543, allocations: 177.2 MB / 210 MB, free: 3.562 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.6185/0.6185, allocations: 102.4 MB / 369.5 MB, free: 316 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 2.124e-06/2.124e-06, allocations: 0 / 469.9 MB, free: 19.03 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.479e-05, allocations: 5.703 kB / 469.9 MB, free: 19.02 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.1215/0.1215, allocations: 54.87 MB / 0.5125 GB, free: 1.094 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.009329/0.1309, allocations: 7.273 MB / 0.5196 GB, free: 9.801 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.1315, allocations: 19.88 kB / 0.5196 GB, free: 9.781 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.001488/0.133, allocations: 0.5164 MB / 0.5201 GB, free: 9.262 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0008206/0.1338, allocations: 429.6 kB / 0.5205 GB, free: 8.84 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.135, allocations: 0.6583 MB / 0.5212 GB, free: 8.18 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.1362, allocations: 1.008 MB / 0.5222 GB, free: 7.172 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.1367, allocations: 192.4 kB / 0.5224 GB, free: 6.969 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005363/0.1372, allocations: 0.5063 MB / 0.5229 GB, free: 6.461 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004516/0.1377, allocations: 435.5 kB / 0.5233 GB, free: 6.039 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.1378, allocations: 100 kB / 0.5234 GB, free: 5.941 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007303/0.1385, allocations: 431 kB / 0.5238 GB, free: 5.52 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.1388, allocations: 0.4984 MB / 0.5243 GB, free: 5.02 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.1391, allocations: 362.7 kB / 0.5246 GB, free: 4.664 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.1405, allocations: 1.393 MB / 0.526 GB, free: 3.266 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1405, allocations: 0 / 0.526 GB, free: 3.266 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1405, allocations: 0 / 0.526 GB, free: 3.266 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.1405, allocations: 0 / 0.526 GB, free: 3.266 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.002147/0.1427, allocations: 2.204 MB / 0.5281 GB, free: 1.016 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1427, allocations: 16.03 kB / 0.5281 GB, free: 1 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/0.1431, allocations: 235.7 kB / 0.5284 GB, free: 0.7695 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.1452, allocations: 1.799 MB / 0.5301 GB, free: 14.94 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.1452, allocations: 33.38 kB / 0.5301 GB, free: 14.91 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.1453, allocations: 44.38 kB / 0.5302 GB, free: 14.86 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.1459, allocations: 0.4947 MB / 0.5307 GB, free: 14.3 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.146, allocations: 192 / 0.5307 GB, free: 14.3 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.146, allocations: 24.12 kB / 0.5307 GB, free: 14.27 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.146, allocations: 8 kB / 0.5307 GB, free: 14.27 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/0.1464, allocations: 195.6 kB / 0.5309 GB, free: 14.08 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.1486, allocations: 2.332 MB / 0.5332 GB, free: 11.66 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.1491, allocations: 245.2 kB / 0.5334 GB, free: 11.39 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1492, allocations: 79.62 kB / 0.5335 GB, free: 11.3 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.507e-05/0.1492, allocations: 20.23 kB / 0.5335 GB, free: 11.28 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1493, allocations: 49.55 kB / 0.5335 GB, free: 11.22 MB / 458.8 MB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.1493, allocations: 0 / 0.5335 GB, free: 11.22 MB / 458.8 MB Notification: Performance of matching and sorting (n=34): time 0.0008201/0.1501, allocations: 454.8 kB / 0.534 GB, free: 10.77 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.1502, allocations: 183.9 kB / 0.5342 GB, free: 10.55 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.1517, allocations: 1.695 MB / 0.5358 GB, free: 8.793 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.1517, allocations: 33.7 kB / 0.5358 GB, free: 8.754 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006946/0.1524, allocations: 0.7826 MB / 0.5366 GB, free: 7.965 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.1525, allocations: 130.9 kB / 0.5367 GB, free: 7.836 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1526, allocations: 115.7 kB / 0.5368 GB, free: 7.715 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1527, allocations: 0.4966 MB / 0.5373 GB, free: 7.211 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1529, allocations: 56.97 kB / 0.5374 GB, free: 7.156 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.1531, allocations: 318.7 kB / 0.5377 GB, free: 6.75 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1534, allocations: 306.3 kB / 0.538 GB, free: 6.391 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1534, allocations: 0 / 0.538 GB, free: 6.391 MB / 458.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005493/0.1539, allocations: 458.5 kB / 0.5384 GB, free: 5.938 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.154, allocations: 11.98 kB / 0.5384 GB, free: 5.926 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.154, allocations: 4 kB / 0.5384 GB, free: 5.922 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.154, allocations: 11.88 kB / 0.5384 GB, free: 5.91 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.1543, allocations: 96.08 kB / 0.5385 GB, free: 5.816 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.1543, allocations: 11.94 kB / 0.5385 GB, free: 5.805 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.1545, allocations: 55.66 kB / 0.5386 GB, free: 5.75 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.1545, allocations: 20 kB / 0.5386 GB, free: 5.73 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.0001904/0.1547, allocations: 180.5 kB / 0.5388 GB, free: 5.543 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.1549, allocations: 182.9 kB / 0.539 GB, free: 5.363 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005441/0.1554, allocations: 423.9 kB / 0.5394 GB, free: 4.914 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1554, allocations: 7.938 kB / 0.5394 GB, free: 4.906 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1554, allocations: 0 / 0.5394 GB, free: 4.906 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1555, allocations: 0 / 0.5394 GB, free: 4.906 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008486/0.1563, allocations: 0.7928 MB / 0.5401 GB, free: 4.07 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1563, allocations: 4 kB / 0.5401 GB, free: 4.066 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.1565, allocations: 55.91 kB / 0.5402 GB, free: 4.012 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.1565, allocations: 4 kB / 0.5402 GB, free: 4.008 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1565, allocations: 8 kB / 0.5402 GB, free: 4 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1565, allocations: 4 kB / 0.5402 GB, free: 3.996 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1565, allocations: 3.938 kB / 0.5402 GB, free: 3.992 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.1571, allocations: 0.6396 MB / 0.5408 GB, free: 3.328 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.1574, allocations: 240.7 kB / 0.5411 GB, free: 3.094 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/0.1574, allocations: 8 kB / 0.5411 GB, free: 3.086 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.1576, allocations: 15.98 kB / 0.5411 GB, free: 3.07 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.1577, allocations: 27.89 kB / 0.5411 GB, free: 3.043 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1577, allocations: 12 kB / 0.5411 GB, free: 3.031 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0009697/0.1587, allocations: 1.015 MB / 0.5421 GB, free: 1.992 MB / 458.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1587, allocations: 0 / 0.5421 GB, free: 1.992 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0005007/0.1592, allocations: 199.6 kB / 0.5423 GB, free: 1.797 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.00116/0.1603, allocations: 0.5686 MB / 0.5429 GB, free: 1.344 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.1607, allocations: 204.2 kB / 0.5431 GB, free: 1.141 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1607, allocations: 0 / 0.5431 GB, free: 1.141 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1608, allocations: 88.61 kB / 0.5432 GB, free: 1.051 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.1615, allocations: 214.5 kB / 0.5434 GB, free: 0.8438 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.1642, allocations: 2.125 MB / 0.5454 GB, free: 14.66 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1644, allocations: 305.8 kB / 0.5457 GB, free: 14.34 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0003162/0.1648, allocations: 175.1 kB / 0.5459 GB, free: 14.16 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.1649, allocations: 88.41 kB / 0.546 GB, free: 14.08 MB / 474.8 MB Notification: Performance of SimCode: time 1.282e-06/0.1649, allocations: 4 kB / 0.546 GB, free: 14.07 MB / 474.8 MB Notification: Performance of Templates: time 0.01789/0.1828, allocations: 11.03 MB / 0.5568 GB, free: 3.148 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.704662824049592]