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.008332/0.008332, allocations: 1.777 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.0008283/0.0008283, allocations: 78.2 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.0008711/0.0008711, allocations: 168.6 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.8962/0.8962, allocations: 177.1 MB / 211.1 MB, free: 3.465 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.6096/0.6096, allocations: 102.5 MB / 370.7 MB, free: 264 kB / 330.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.523e-06/1.523e-06, allocations: 0 / 471.2 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.896e-05, allocations: 3.156 kB / 471.2 MB, free: 18.84 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.1023/0.1024, allocations: 54.83 MB / 0.5137 GB, free: 0.8477 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.007057/0.1094, allocations: 7.234 MB / 0.5208 GB, free: 9.594 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.1097, allocations: 19.88 kB / 0.5208 GB, free: 9.574 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.001083/0.1108, allocations: 0.5204 MB / 0.5213 GB, free: 9.051 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.1113, allocations: 445.5 kB / 0.5217 GB, free: 8.613 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007423/0.1121, allocations: 0.6505 MB / 0.5224 GB, free: 7.961 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1131, allocations: 1.005 MB / 0.5234 GB, free: 6.953 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.1134, allocations: 203.7 kB / 0.5236 GB, free: 6.742 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1082/0.2216, allocations: 45.61 MB / 0.5681 GB, free: 10.3 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000438/0.222, allocations: 306.8 kB / 0.5684 GB, free: 10 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 9.128e-05/0.2221, allocations: 56 kB / 0.5684 GB, free: 9.949 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.2226, allocations: 263.3 kB / 0.5687 GB, free: 9.691 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.2228, allocations: 418.5 kB / 0.5691 GB, free: 9.281 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.223, allocations: 290.7 kB / 0.5694 GB, free: 8.996 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.2242, allocations: 1.148 MB / 0.5705 GB, free: 7.844 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2242, allocations: 0 / 0.5705 GB, free: 7.844 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2242, allocations: 0 / 0.5705 GB, free: 7.844 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.2242, allocations: 0 / 0.5705 GB, free: 7.844 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.001552/0.2258, allocations: 1.961 MB / 0.5724 GB, free: 5.836 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2258, allocations: 8.031 kB / 0.5724 GB, free: 5.828 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.226, allocations: 219.7 kB / 0.5726 GB, free: 5.613 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009217/0.2269, allocations: 0.9999 MB / 0.5736 GB, free: 4.574 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.2269, allocations: 33.38 kB / 0.5736 GB, free: 4.543 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.227, allocations: 48.34 kB / 0.5737 GB, free: 4.496 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/0.2275, allocations: 490.5 kB / 0.5742 GB, free: 3.945 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2276, allocations: 4.172 kB / 0.5742 GB, free: 3.941 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.2276, allocations: 20.12 kB / 0.5742 GB, free: 3.922 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2276, allocations: 8 kB / 0.5742 GB, free: 3.914 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.2279, allocations: 168.3 kB / 0.5743 GB, free: 3.754 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.2294, allocations: 2.032 MB / 0.5763 GB, free: 1.648 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.2297, allocations: 241 kB / 0.5766 GB, free: 1.379 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.2298, allocations: 71.62 kB / 0.5766 GB, free: 1.297 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.2298, allocations: 24.16 kB / 0.5766 GB, free: 1.273 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.2299, allocations: 45.56 kB / 0.5767 GB, free: 1.219 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 1.423e-06/0.2299, allocations: 0 / 0.5767 GB, free: 1.219 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.0007308/0.2306, allocations: 418.1 kB / 0.5771 GB, free: 0.8047 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.2306, allocations: 195.8 kB / 0.5773 GB, free: 0.5703 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.2318, allocations: 1.62 MB / 0.5789 GB, free: 14.89 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.2318, allocations: 33.7 kB / 0.5789 GB, free: 14.85 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.2323, allocations: 0.806 MB / 0.5797 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.2323, allocations: 134.9 kB / 0.5798 GB, free: 13.91 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2325, allocations: 115.7 kB / 0.5799 GB, free: 13.79 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2326, allocations: 0.4926 MB / 0.5804 GB, free: 13.29 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.2326, allocations: 44.95 kB / 0.5804 GB, free: 13.24 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.2329, allocations: 304.7 kB / 0.5807 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.2332, allocations: 290.3 kB / 0.581 GB, free: 12.5 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2332, allocations: 0 / 0.581 GB, free: 12.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003892/0.2336, allocations: 434.1 kB / 0.5814 GB, free: 12.07 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2336, allocations: 4 kB / 0.5814 GB, free: 12.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2336, allocations: 4 kB / 0.5814 GB, free: 12.07 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2336, allocations: 8 kB / 0.5814 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.2338, allocations: 95.83 kB / 0.5815 GB, free: 11.96 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2338, allocations: 7.938 kB / 0.5815 GB, free: 11.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.234, allocations: 60.02 kB / 0.5816 GB, free: 11.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.234, allocations: 16 kB / 0.5816 GB, free: 11.88 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.0001639/0.2342, allocations: 184.4 kB / 0.5818 GB, free: 11.69 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.2343, allocations: 178.9 kB / 0.582 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.2347, allocations: 404.1 kB / 0.5823 GB, free: 11.09 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2347, allocations: 4 kB / 0.5823 GB, free: 11.08 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2347, allocations: 3.938 kB / 0.5823 GB, free: 11.08 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2347, allocations: 0 / 0.5823 GB, free: 11.08 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/0.2353, allocations: 0.5551 MB / 0.5829 GB, free: 10.49 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2353, allocations: 3.984 kB / 0.5829 GB, free: 10.49 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2354, allocations: 60.16 kB / 0.5829 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2354, allocations: 0 / 0.5829 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.2354, allocations: 12 kB / 0.583 GB, free: 10.42 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2354, allocations: 0 / 0.583 GB, free: 10.42 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2354, allocations: 0 / 0.583 GB, free: 10.42 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.2359, allocations: 0.6317 MB / 0.5836 GB, free: 9.762 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.2361, allocations: 232.6 kB / 0.5838 GB, free: 9.535 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.2362, allocations: 8 kB / 0.5838 GB, free: 9.527 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.2363, allocations: 23.92 kB / 0.5838 GB, free: 9.504 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.2364, allocations: 23.95 kB / 0.5839 GB, free: 9.48 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.2364, allocations: 11.94 kB / 0.5839 GB, free: 9.469 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0006371/0.237, allocations: 0.9058 MB / 0.5847 GB, free: 8.539 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.237, allocations: 0 / 0.5847 GB, free: 8.539 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0003606/0.2374, allocations: 167.7 kB / 0.5849 GB, free: 8.375 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.0008226/0.2382, allocations: 457.8 kB / 0.5853 GB, free: 7.914 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.2384, allocations: 196.2 kB / 0.5855 GB, free: 7.719 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2384, allocations: 0 / 0.5855 GB, free: 7.719 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 7.948e-05/0.2385, allocations: 71.53 kB / 0.5856 GB, free: 7.645 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.2391, allocations: 220.5 kB / 0.5858 GB, free: 7.426 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.2414, allocations: 2.105 MB / 0.5879 GB, free: 5.266 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.2417, allocations: 305.9 kB / 0.5882 GB, free: 4.941 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0002745/0.2419, allocations: 151.1 kB / 0.5883 GB, free: 4.789 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.2422, allocations: 262.1 kB / 0.5886 GB, free: 4.531 MB / 0.4949 GB Notification: Performance of SimCode: time 6.41e-07/0.2422, allocations: 0 / 0.5886 GB, free: 4.531 MB / 0.4949 GB Notification: Performance of Templates: time 0.01549/0.2577, allocations: 11.11 MB / 0.5994 GB, free: 9.395 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.288897283375263]