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.008178/0.008178, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.001215/0.001215, allocations: 86.52 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.001395/0.001395, allocations: 168.8 kB / 29.06 MB, free: 3.668 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.9187/0.9187, allocations: 177.2 MB / 210 MB, free: 3.578 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.5941/0.5941, allocations: 102.4 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 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.805e-06/2.805e-06, allocations: 0 / 469.9 MB, free: 19.03 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.114e-05, allocations: 4.422 kB / 469.9 MB, free: 19.03 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.1263/0.1263, allocations: 54.87 MB / 0.5125 GB, free: 1.098 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.006981/0.1333, allocations: 7.269 MB / 0.5196 GB, free: 9.809 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/0.1336, allocations: 23.88 kB / 0.5196 GB, free: 9.785 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.001183/0.1348, allocations: 0.5203 MB / 0.5202 GB, free: 9.262 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.1353, allocations: 433.5 kB / 0.5206 GB, free: 8.836 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.1361, allocations: 0.6544 MB / 0.5212 GB, free: 8.18 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007379/0.1368, allocations: 1.013 MB / 0.5222 GB, free: 7.164 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.1373, allocations: 191.8 kB / 0.5224 GB, free: 6.965 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1097/0.247, allocations: 45.62 MB / 0.5669 GB, free: 10.5 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.2474, allocations: 314.8 kB / 0.5672 GB, free: 10.2 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 9.632e-05/0.2475, allocations: 60 kB / 0.5673 GB, free: 10.14 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/0.248, allocations: 255.4 kB / 0.5675 GB, free: 9.887 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.2482, allocations: 422.4 kB / 0.5679 GB, free: 9.473 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.2484, allocations: 286.8 kB / 0.5682 GB, free: 9.191 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.2497, allocations: 1.152 MB / 0.5693 GB, free: 8.035 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2497, allocations: 0 / 0.5693 GB, free: 8.035 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2497, allocations: 0 / 0.5693 GB, free: 8.035 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.2497, allocations: 0 / 0.5693 GB, free: 8.035 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.001629/0.2513, allocations: 1.958 MB / 0.5712 GB, free: 6.031 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2514, allocations: 8.031 kB / 0.5712 GB, free: 6.023 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.2516, allocations: 215.7 kB / 0.5715 GB, free: 5.812 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009138/0.2525, allocations: 1.031 MB / 0.5725 GB, free: 4.742 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.2525, allocations: 33.38 kB / 0.5725 GB, free: 4.711 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.2525, allocations: 44.38 kB / 0.5725 GB, free: 4.668 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.2532, allocations: 0.4908 MB / 0.573 GB, free: 4.105 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2532, allocations: 4.125 kB / 0.573 GB, free: 4.102 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.2532, allocations: 24.12 kB / 0.573 GB, free: 4.078 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2532, allocations: 12 kB / 0.5731 GB, free: 4.066 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.2536, allocations: 191.7 kB / 0.5732 GB, free: 3.883 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.2553, allocations: 2.316 MB / 0.5755 GB, free: 1.48 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.2557, allocations: 249.1 kB / 0.5757 GB, free: 1.203 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.2558, allocations: 75.62 kB / 0.5758 GB, free: 1.117 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-05/0.2559, allocations: 24.22 kB / 0.5758 GB, free: 1.094 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.2559, allocations: 45.56 kB / 0.5759 GB, free: 1.039 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.2559, allocations: 0 / 0.5759 GB, free: 1.039 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.000734/0.2567, allocations: 446.1 kB / 0.5763 GB, free: 0.5977 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.488e-05/0.2568, allocations: 183.9 kB / 0.5765 GB, free: 384 kB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.2581, allocations: 1.675 MB / 0.5781 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.2582, allocations: 33.7 kB / 0.5781 GB, free: 14.6 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/0.2586, allocations: 0.7865 MB / 0.5789 GB, free: 13.81 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.2587, allocations: 123 kB / 0.579 GB, free: 13.69 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.2588, allocations: 115.7 kB / 0.5791 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2589, allocations: 0.4964 MB / 0.5796 GB, free: 13.06 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.259, allocations: 60.89 kB / 0.5797 GB, free: 13 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.2593, allocations: 324.5 kB / 0.58 GB, free: 12.59 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.2596, allocations: 302.3 kB / 0.5803 GB, free: 12.24 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2596, allocations: 7.938 kB / 0.5803 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004788/0.2601, allocations: 462.2 kB / 0.5807 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2601, allocations: 4 kB / 0.5807 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2601, allocations: 4 kB / 0.5807 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2601, allocations: 7.938 kB / 0.5807 GB, free: 11.76 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.2604, allocations: 108.2 kB / 0.5808 GB, free: 11.65 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2604, allocations: 8 kB / 0.5809 GB, free: 11.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2605, allocations: 59.55 kB / 0.5809 GB, free: 11.59 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.2606, allocations: 20 kB / 0.5809 GB, free: 11.57 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.0001715/0.2607, allocations: 176.5 kB / 0.5811 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.2609, allocations: 178.9 kB / 0.5813 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.2613, allocations: 427.9 kB / 0.5817 GB, free: 10.75 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2613, allocations: 7.938 kB / 0.5817 GB, free: 10.75 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2613, allocations: 4 kB / 0.5817 GB, free: 10.74 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2613, allocations: 0 / 0.5817 GB, free: 10.74 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.2621, allocations: 0.7928 MB / 0.5825 GB, free: 9.906 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2621, allocations: 4 kB / 0.5825 GB, free: 9.902 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.2622, allocations: 47.97 kB / 0.5825 GB, free: 9.855 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2622, allocations: 0 / 0.5825 GB, free: 9.855 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.2623, allocations: 8 kB / 0.5825 GB, free: 9.848 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.2623, allocations: 7.938 kB / 0.5825 GB, free: 9.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2623, allocations: 3.938 kB / 0.5825 GB, free: 9.836 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.2628, allocations: 0.6435 MB / 0.5832 GB, free: 9.168 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.263, allocations: 248.6 kB / 0.5834 GB, free: 8.926 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.2631, allocations: 8 kB / 0.5834 GB, free: 8.918 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.2632, allocations: 15.98 kB / 0.5834 GB, free: 8.902 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.2633, allocations: 31.89 kB / 0.5835 GB, free: 8.871 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.2633, allocations: 4 kB / 0.5835 GB, free: 8.867 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0009098/0.2642, allocations: 0.9882 MB / 0.5844 GB, free: 7.855 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2642, allocations: 0 / 0.5844 GB, free: 7.855 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0003719/0.2646, allocations: 167.7 kB / 0.5846 GB, free: 7.691 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.0008391/0.2654, allocations: 465.7 kB / 0.585 GB, free: 7.223 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.2658, allocations: 208.2 kB / 0.5852 GB, free: 7.016 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2658, allocations: 0 / 0.5852 GB, free: 7.016 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.2659, allocations: 75.59 kB / 0.5853 GB, free: 6.938 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.2665, allocations: 220.7 kB / 0.5855 GB, free: 6.719 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.2689, allocations: 2.121 MB / 0.5876 GB, free: 4.543 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.2691, allocations: 305.8 kB / 0.5879 GB, free: 4.219 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0002857/0.2694, allocations: 167.1 kB / 0.588 GB, free: 4.051 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.2695, allocations: 92.39 kB / 0.5881 GB, free: 3.961 MB / 0.4949 GB Notification: Performance of SimCode: time 1.162e-06/0.2695, allocations: 0 / 0.5881 GB, free: 3.961 MB / 0.4949 GB Notification: Performance of Templates: time 0.01477/0.2843, allocations: 10.71 MB / 0.5986 GB, free: 9.211 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.286354235839099]