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.008327/0.008327, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0008271/0.0008271, allocations: 85.23 kB / 25.4 MB, free: 7 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.0008919/0.0008919, allocations: 158.9 kB / 29.33 MB, free: 3.137 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.9489/0.9489, allocations: 177.1 MB / 210.3 MB, free: 3.438 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.6347/0.6347, allocations: 102.5 MB / 369.9 MB, free: 15.73 MB / 346.7 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.683e-06/1.683e-06, allocations: 0 / 470.4 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.398e-05, allocations: 2.875 kB / 470.4 MB, free: 18.85 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.1097/0.1098, allocations: 54.84 MB / 0.513 GB, free: 0.793 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.007706/0.1175, allocations: 7.242 MB / 0.52 GB, free: 9.531 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005273/0.118, allocations: 23.88 kB / 0.5201 GB, free: 9.508 MB / 442.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.001248/0.1192, allocations: 0.5165 MB / 0.5206 GB, free: 8.988 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006989/0.1199, allocations: 437.5 kB / 0.521 GB, free: 8.559 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009595/0.1209, allocations: 0.6506 MB / 0.5216 GB, free: 7.906 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008066/0.1217, allocations: 1.013 MB / 0.5226 GB, free: 6.891 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.122, allocations: 199.6 kB / 0.5228 GB, free: 6.684 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1448/0.2668, allocations: 45.62 MB / 0.5673 GB, free: 10.26 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.2673, allocations: 310.8 kB / 0.5676 GB, free: 9.953 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 9.591e-05/0.2674, allocations: 56 kB / 0.5677 GB, free: 9.898 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.2679, allocations: 267.3 kB / 0.568 GB, free: 9.637 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.2682, allocations: 414.5 kB / 0.5683 GB, free: 9.23 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.2684, allocations: 294.7 kB / 0.5686 GB, free: 8.941 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.27, allocations: 1.144 MB / 0.5697 GB, free: 7.793 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.27, allocations: 0 / 0.5697 GB, free: 7.793 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.193e-06/0.27, allocations: 0 / 0.5697 GB, free: 7.793 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.27, allocations: 0 / 0.5697 GB, free: 7.793 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.001688/0.2717, allocations: 1.966 MB / 0.5717 GB, free: 5.781 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.2717, allocations: 12.03 kB / 0.5717 GB, free: 5.77 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.2719, allocations: 211.7 kB / 0.5719 GB, free: 5.562 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009546/0.2729, allocations: 1.004 MB / 0.5729 GB, free: 4.52 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.2729, allocations: 37.36 kB / 0.5729 GB, free: 4.484 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.273, allocations: 36.38 kB / 0.5729 GB, free: 4.449 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006257/0.2736, allocations: 494.5 kB / 0.5734 GB, free: 3.895 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.2736, allocations: 192 / 0.5734 GB, free: 3.895 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.2736, allocations: 20.12 kB / 0.5734 GB, free: 3.875 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.2736, allocations: 8 kB / 0.5734 GB, free: 3.867 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.274, allocations: 160.3 kB / 0.5736 GB, free: 3.715 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.2756, allocations: 2.036 MB / 0.5756 GB, free: 1.605 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.2759, allocations: 248.8 kB / 0.5758 GB, free: 1.328 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.594e-05/0.276, allocations: 63.62 kB / 0.5759 GB, free: 1.254 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/0.276, allocations: 40.03 kB / 0.5759 GB, free: 1.215 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2761, allocations: 41.78 kB / 0.5759 GB, free: 1.164 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.2761, allocations: 4 kB / 0.5759 GB, free: 1.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.0006263/0.2767, allocations: 422.1 kB / 0.5764 GB, free: 0.7422 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.2768, allocations: 187.9 kB / 0.5765 GB, free: 0.5156 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.2779, allocations: 1.627 MB / 0.5781 GB, free: 14.83 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.278, allocations: 33.7 kB / 0.5782 GB, free: 14.79 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.2784, allocations: 0.8019 MB / 0.5789 GB, free: 13.98 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.2786, allocations: 130.9 kB / 0.5791 GB, free: 13.85 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.2787, allocations: 115.7 kB / 0.5792 GB, free: 13.73 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2788, allocations: 0.4965 MB / 0.5797 GB, free: 13.23 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.2788, allocations: 44.95 kB / 0.5797 GB, free: 13.18 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.279, allocations: 308.7 kB / 0.58 GB, free: 12.78 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.2792, allocations: 286.3 kB / 0.5803 GB, free: 12.44 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2792, allocations: 0 / 0.5803 GB, free: 12.44 MB / 0.4949 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003659/0.2796, allocations: 430.1 kB / 0.5807 GB, free: 12.02 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2796, allocations: 8.406 kB / 0.5807 GB, free: 12.01 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2796, allocations: 8 kB / 0.5807 GB, free: 12 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2796, allocations: 4 kB / 0.5807 GB, free: 12 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.2798, allocations: 103.8 kB / 0.5808 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2798, allocations: 8 kB / 0.5808 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.28, allocations: 55.86 kB / 0.5809 GB, free: 11.83 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.28, allocations: 16 kB / 0.5809 GB, free: 11.82 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.0001621/0.2802, allocations: 188.4 kB / 0.581 GB, free: 11.62 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.2803, allocations: 182.8 kB / 0.5812 GB, free: 11.44 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.2807, allocations: 404.1 kB / 0.5816 GB, free: 11.01 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2807, allocations: 4 kB / 0.5816 GB, free: 11.01 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2807, allocations: 3.938 kB / 0.5816 GB, free: 11 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2807, allocations: 0 / 0.5816 GB, free: 11 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.2813, allocations: 0.5511 MB / 0.5822 GB, free: 10.42 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.2813, allocations: 4 kB / 0.5822 GB, free: 10.42 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2814, allocations: 55.91 kB / 0.5822 GB, free: 10.36 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.2814, allocations: 0 / 0.5822 GB, free: 10.36 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2815, allocations: 8 kB / 0.5822 GB, free: 10.36 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.2815, allocations: 8 kB / 0.5822 GB, free: 10.35 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2815, allocations: 0 / 0.5822 GB, free: 10.35 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.2822, allocations: 0.6277 MB / 0.5828 GB, free: 9.695 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.2824, allocations: 228.7 kB / 0.5831 GB, free: 9.473 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/0.2825, allocations: 11.95 kB / 0.5831 GB, free: 9.461 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2826, allocations: 15.98 kB / 0.5831 GB, free: 9.445 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.2827, allocations: 27.95 kB / 0.5831 GB, free: 9.418 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.2827, allocations: 7.938 kB / 0.5831 GB, free: 9.41 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0006733/0.2834, allocations: 0.9097 MB / 0.584 GB, free: 8.477 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.5e-07/0.2834, allocations: 4 kB / 0.584 GB, free: 8.473 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0003841/0.2837, allocations: 167.7 kB / 0.5842 GB, free: 8.309 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.0009048/0.2847, allocations: 453.8 kB / 0.5846 GB, free: 7.852 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.2849, allocations: 184.3 kB / 0.5848 GB, free: 7.668 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2849, allocations: 4.75 kB / 0.5848 GB, free: 7.664 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.285, allocations: 71.58 kB / 0.5849 GB, free: 7.59 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.2856, allocations: 216.3 kB / 0.5851 GB, free: 7.375 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.2879, allocations: 2.113 MB / 0.5871 GB, free: 5.207 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2881, allocations: 297.9 kB / 0.5874 GB, free: 4.891 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0002886/0.2884, allocations: 159 kB / 0.5876 GB, free: 4.73 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.2887, allocations: 266.1 kB / 0.5878 GB, free: 4.469 MB / 0.4949 GB Notification: Performance of SimCode: time 7.21e-07/0.2887, allocations: 4 kB / 0.5878 GB, free: 4.465 MB / 0.4949 GB Notification: Performance of Templates: time 0.01583/0.3045, allocations: 10.9 MB / 0.5985 GB, free: 9.543 MB / 0.5105 GB " [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.438471070956439]