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.02566/0.02566, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.001372/0.001372, allocations: 78.16 kB / 26.19 MB, free: 6.078 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.001686/0.001686, allocations: 166.3 kB / 30.12 MB, free: 2.184 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.9336/0.9336, allocations: 177.2 MB / 211.1 MB, free: 3.398 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.6401/0.6401, allocations: 102.4 MB / 370.6 MB, free: 196 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.393e-06/1.393e-06, allocations: 0 / 471.2 MB, free: 18.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.585e-05, allocations: 5.188 kB / 471.2 MB, free: 18.77 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.1146/0.1146, allocations: 54.83 MB / 0.5137 GB, free: 0.793 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.008382/0.123, allocations: 7.25 MB / 0.5208 GB, free: 9.523 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.1236, allocations: 19.88 kB / 0.5208 GB, free: 9.504 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.00141/0.125, allocations: 0.5087 MB / 0.5213 GB, free: 8.992 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0007866/0.1258, allocations: 445.5 kB / 0.5217 GB, free: 8.555 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1268, allocations: 0.6505 MB / 0.5224 GB, free: 7.902 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008948/0.1277, allocations: 1.013 MB / 0.5234 GB, free: 6.887 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.1281, allocations: 192.4 kB / 0.5235 GB, free: 6.684 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1104/0.2385, allocations: 45.62 MB / 0.5681 GB, free: 10.29 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.239, allocations: 314.8 kB / 0.5684 GB, free: 9.977 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-05/0.239, allocations: 56 kB / 0.5684 GB, free: 9.922 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004889/0.2395, allocations: 263.3 kB / 0.5687 GB, free: 9.664 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.2398, allocations: 410.5 kB / 0.5691 GB, free: 9.262 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.24, allocations: 298.7 kB / 0.5694 GB, free: 8.969 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.2412, allocations: 1.148 MB / 0.5705 GB, free: 7.816 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2413, allocations: 4 kB / 0.5705 GB, free: 7.812 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2413, allocations: 0 / 0.5705 GB, free: 7.812 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2413, allocations: 0 / 0.5705 GB, free: 7.812 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.001735/0.243, allocations: 1.961 MB / 0.5724 GB, free: 5.805 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.243, allocations: 12.03 kB / 0.5724 GB, free: 5.793 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.2432, allocations: 211.7 kB / 0.5726 GB, free: 5.586 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009617/0.2442, allocations: 1.004 MB / 0.5736 GB, free: 4.543 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.2442, allocations: 33.38 kB / 0.5736 GB, free: 4.512 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.2443, allocations: 44.38 kB / 0.5737 GB, free: 4.469 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.2449, allocations: 486.5 kB / 0.5741 GB, free: 3.922 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2449, allocations: 4.125 kB / 0.5741 GB, free: 3.918 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.2449, allocations: 20.12 kB / 0.5742 GB, free: 3.898 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.2449, allocations: 8 kB / 0.5742 GB, free: 3.891 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.2452, allocations: 160.3 kB / 0.5743 GB, free: 3.738 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.2469, allocations: 2.036 MB / 0.5763 GB, free: 1.629 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.2472, allocations: 240.9 kB / 0.5765 GB, free: 1.359 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.2473, allocations: 71.62 kB / 0.5766 GB, free: 1.277 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-05/0.2473, allocations: 20.17 kB / 0.5766 GB, free: 1.258 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.2474, allocations: 45.56 kB / 0.5767 GB, free: 1.203 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 2.594e-06/0.2474, allocations: 0 / 0.5767 GB, free: 1.203 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.0006536/0.248, allocations: 430.1 kB / 0.5771 GB, free: 0.7773 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.2481, allocations: 187.9 kB / 0.5773 GB, free: 0.5508 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.2495, allocations: 1.62 MB / 0.5788 GB, free: 14.87 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.2495, allocations: 33.7 kB / 0.5789 GB, free: 14.83 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/0.25, allocations: 0.8058 MB / 0.5797 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.25, allocations: 126.9 kB / 0.5798 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.2501, allocations: 123.8 kB / 0.5799 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2503, allocations: 0.4925 MB / 0.5804 GB, free: 13.27 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.847e-05/0.2503, allocations: 48.95 kB / 0.5804 GB, free: 13.22 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2505, allocations: 308.6 kB / 0.5807 GB, free: 12.82 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.2507, allocations: 286.2 kB / 0.581 GB, free: 12.48 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2507, allocations: 0 / 0.581 GB, free: 12.48 MB / 0.4949 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003844/0.2511, allocations: 426.4 kB / 0.5814 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2511, allocations: 8 kB / 0.5814 GB, free: 12.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2511, allocations: 4 kB / 0.5814 GB, free: 12.05 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2511, allocations: 4 kB / 0.5814 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.2514, allocations: 103.8 kB / 0.5815 GB, free: 11.94 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2514, allocations: 11.92 kB / 0.5815 GB, free: 11.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.2515, allocations: 55.62 kB / 0.5816 GB, free: 11.88 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.2516, allocations: 19.98 kB / 0.5816 GB, free: 11.86 MB / 0.4949 GB 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.0001689/0.2517, allocations: 188.6 kB / 0.5818 GB, free: 11.66 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.2519, allocations: 178.9 kB / 0.582 GB, free: 11.48 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/0.2523, allocations: 400 kB / 0.5823 GB, free: 11.06 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2523, allocations: 4 kB / 0.5823 GB, free: 11.05 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2523, allocations: 3.938 kB / 0.5823 GB, free: 11.05 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2523, allocations: 8.016 kB / 0.5823 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.2529, allocations: 0.5472 MB / 0.5829 GB, free: 10.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2529, allocations: 0 / 0.5829 GB, free: 10.46 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.253, allocations: 56.22 kB / 0.5829 GB, free: 10.41 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.253, allocations: 0 / 0.5829 GB, free: 10.41 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.253, allocations: 15.98 kB / 0.583 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.253, allocations: 3.938 kB / 0.583 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.253, allocations: 7.922 kB / 0.583 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.2535, allocations: 0.6239 MB / 0.5836 GB, free: 9.734 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.2537, allocations: 240.6 kB / 0.5838 GB, free: 9.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/0.2538, allocations: 8 kB / 0.5838 GB, free: 9.492 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.2539, allocations: 12 kB / 0.5838 GB, free: 9.48 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.254, allocations: 27.95 kB / 0.5838 GB, free: 9.453 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.254, allocations: 7.938 kB / 0.5839 GB, free: 9.445 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0006527/0.2547, allocations: 0.9136 MB / 0.5847 GB, free: 8.508 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.2547, allocations: 0 / 0.5847 GB, free: 8.508 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0003787/0.255, allocations: 167.7 kB / 0.5849 GB, free: 8.344 MB / 0.4949 GB 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.001103/0.2561, allocations: 441.8 kB / 0.5853 GB, free: 7.898 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.2564, allocations: 192.8 kB / 0.5855 GB, free: 7.707 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2564, allocations: 0 / 0.5855 GB, free: 7.707 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.2565, allocations: 75.56 kB / 0.5856 GB, free: 7.629 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.2571, allocations: 211.1 kB / 0.5858 GB, free: 7.418 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.2593, allocations: 2.102 MB / 0.5878 GB, free: 5.262 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.2595, allocations: 305.8 kB / 0.5881 GB, free: 4.938 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0002901/0.2598, allocations: 155.1 kB / 0.5883 GB, free: 4.781 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.2601, allocations: 262 kB / 0.5885 GB, free: 4.523 MB / 0.4949 GB Notification: Performance of SimCode: time 1.122e-06/0.2601, allocations: 0 / 0.5885 GB, free: 4.523 MB / 0.4949 GB Notification: Performance of Templates: time 0.01636/0.2765, allocations: 11.11 MB / 0.5994 GB, free: 9.387 MB / 0.5105 GB " [Timeout remaining time 799] 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.642155107110739]