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.008482/0.008482, allocations: 1.794 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.001405/0.001405, allocations: 86.7 kB / 25.15 MB, free: 6.887 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.001501/0.001501, allocations: 172 kB / 29.06 MB, free: 3.492 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.8461/0.8461, allocations: 177.1 MB / 210 MB, free: 2.426 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.6763/0.6763, allocations: 102.5 MB / 369.5 MB, free: 0.9297 MB / 330.8 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.172e-06/1.172e-06, allocations: 0 / 470 MB, free: 12.62 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.939e-05, allocations: 3.859 kB / 470 MB, free: 12.62 MB / 442.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.09665/0.09667, allocations: 54.88 MB / 0.5125 GB, free: 5.695 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.1753/0.2719, allocations: 7.26 MB / 0.5196 GB, free: 74.97 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005335/0.2725, allocations: 21.33 kB / 0.5197 GB, free: 74.97 MB / 490.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.001214/0.2737, allocations: 0.5192 MB / 0.5202 GB, free: 74.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.2742, allocations: 443.4 kB / 0.5206 GB, free: 74.91 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008393/0.2751, allocations: 0.6436 MB / 0.5212 GB, free: 74.88 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006798/0.2757, allocations: 1.012 MB / 0.5222 GB, free: 74.7 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.276, allocations: 196.9 kB / 0.5224 GB, free: 74.66 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1035/0.3796, allocations: 45.62 MB / 0.5669 GB, free: 47.16 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004276/0.38, allocations: 310.7 kB / 0.5672 GB, free: 47.04 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.3801, allocations: 57.25 kB / 0.5673 GB, free: 47.04 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.3806, allocations: 253.9 kB / 0.5675 GB, free: 46.97 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.3808, allocations: 421.6 kB / 0.5679 GB, free: 46.78 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.381, allocations: 291.4 kB / 0.5682 GB, free: 46.62 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.3822, allocations: 1.149 MB / 0.5693 GB, free: 46.12 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3822, allocations: 0 / 0.5693 GB, free: 46.12 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3822, allocations: 0 / 0.5693 GB, free: 46.12 MB / 490.8 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.3823, allocations: 3.328 kB / 0.5693 GB, free: 46.12 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.001615/0.3839, allocations: 1.948 MB / 0.5712 GB, free: 44.73 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3839, allocations: 9.625 kB / 0.5712 GB, free: 44.73 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.3841, allocations: 213.3 kB / 0.5714 GB, free: 44.62 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.3851, allocations: 1.039 MB / 0.5725 GB, free: 44 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.3851, allocations: 31.94 kB / 0.5725 GB, free: 43.99 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.3852, allocations: 48.27 kB / 0.5725 GB, free: 43.97 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006119/0.3858, allocations: 0.4933 MB / 0.573 GB, free: 43.63 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3858, allocations: 1.562 kB / 0.573 GB, free: 43.63 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.3858, allocations: 16.62 kB / 0.573 GB, free: 43.62 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.3858, allocations: 16.12 kB / 0.5731 GB, free: 43.62 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003793/0.3862, allocations: 192.3 kB / 0.5732 GB, free: 43.59 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.3879, allocations: 2.31 MB / 0.5755 GB, free: 41.9 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.3883, allocations: 247.1 kB / 0.5757 GB, free: 41.76 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3884, allocations: 78.31 kB / 0.5758 GB, free: 41.71 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.519e-05/0.3885, allocations: 20.98 kB / 0.5758 GB, free: 41.71 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.3885, allocations: 42.58 kB / 0.5759 GB, free: 41.66 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 1.253e-06/0.3885, allocations: 0 / 0.5759 GB, free: 41.66 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.0007528/0.3893, allocations: 456.1 kB / 0.5763 GB, free: 41.47 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3893, allocations: 186.2 kB / 0.5765 GB, free: 41.25 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.3907, allocations: 1.675 MB / 0.5781 GB, free: 40.55 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3907, allocations: 33.05 kB / 0.5781 GB, free: 40.52 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.3911, allocations: 0.7831 MB / 0.5789 GB, free: 39.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.3912, allocations: 124.2 kB / 0.579 GB, free: 39.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.3913, allocations: 119.2 kB / 0.5791 GB, free: 39.72 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.3913, allocations: 0.4916 MB / 0.5796 GB, free: 39.23 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.3914, allocations: 53.86 kB / 0.5797 GB, free: 39.23 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.3916, allocations: 327.4 kB / 0.58 GB, free: 38.9 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.3919, allocations: 303.2 kB / 0.5803 GB, free: 38.65 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3919, allocations: 1.875 kB / 0.5803 GB, free: 38.65 MB / 490.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004746/0.3924, allocations: 459.6 kB / 0.5807 GB, free: 38.46 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3924, allocations: 9.297 kB / 0.5807 GB, free: 38.46 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3924, allocations: 2.438 kB / 0.5807 GB, free: 38.46 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3924, allocations: 8.875 kB / 0.5807 GB, free: 38.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.3926, allocations: 101 kB / 0.5808 GB, free: 38.44 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3926, allocations: 7.047 kB / 0.5808 GB, free: 38.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.3928, allocations: 52.78 kB / 0.5809 GB, free: 38.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.3928, allocations: 25.28 kB / 0.5809 GB, free: 38.4 MB / 490.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.0001426/0.393, allocations: 185.2 kB / 0.5811 GB, free: 38.22 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.3931, allocations: 185.5 kB / 0.5813 GB, free: 38.12 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.3936, allocations: 409.2 kB / 0.5817 GB, free: 37.9 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3936, allocations: 12.61 kB / 0.5817 GB, free: 37.89 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3936, allocations: 2 kB / 0.5817 GB, free: 37.89 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3936, allocations: 2.062 kB / 0.5817 GB, free: 37.89 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008146/0.3944, allocations: 0.7984 MB / 0.5825 GB, free: 37.47 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3945, allocations: 0.75 kB / 0.5825 GB, free: 37.47 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.3946, allocations: 56.45 kB / 0.5825 GB, free: 37.46 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3946, allocations: 1.562 kB / 0.5825 GB, free: 37.46 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3946, allocations: 10.19 kB / 0.5825 GB, free: 37.46 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3946, allocations: 1.781 kB / 0.5825 GB, free: 37.46 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3946, allocations: 4.594 kB / 0.5825 GB, free: 37.45 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.3951, allocations: 0.6525 MB / 0.5832 GB, free: 36.99 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.3953, allocations: 239 kB / 0.5834 GB, free: 36.86 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/0.3954, allocations: 7.906 kB / 0.5834 GB, free: 36.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.3955, allocations: 19.14 kB / 0.5834 GB, free: 36.85 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.3956, allocations: 25.36 kB / 0.5834 GB, free: 36.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3956, allocations: 8.891 kB / 0.5834 GB, free: 36.84 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0009397/0.3966, allocations: 0.9886 MB / 0.5844 GB, free: 36.48 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3966, allocations: 0 / 0.5844 GB, free: 36.48 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003675/0.3969, allocations: 171.1 kB / 0.5846 GB, free: 36.44 MB / 490.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.0008013/0.3977, allocations: 463 kB / 0.585 GB, free: 36.13 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.398, allocations: 204.8 kB / 0.5852 GB, free: 36.08 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.398, allocations: 0 / 0.5852 GB, free: 36.08 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3981, allocations: 83.86 kB / 0.5853 GB, free: 36.01 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.3987, allocations: 222 kB / 0.5855 GB, free: 35.82 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.4008, allocations: 2.127 MB / 0.5876 GB, free: 33.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.4011, allocations: 300.6 kB / 0.5879 GB, free: 33.59 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.4013, allocations: 169.1 kB / 0.588 GB, free: 33.47 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.4015, allocations: 94.02 kB / 0.5881 GB, free: 33.4 MB / 490.8 MB Notification: Performance of SimCode: time 8.22e-07/0.4015, allocations: 0 / 0.5881 GB, free: 33.4 MB / 490.8 MB Notification: Performance of Templates: time 0.01322/0.4147, allocations: 10.71 MB / 0.5986 GB, free: 24.5 MB / 490.8 MB " [Timeout remaining time 799] 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.032798886764795]