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.0124/0.0124, allocations: 1.45 MB / 20.8 MB, free: 3.598 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.006882/0.006882, allocations: 78.78 kB / 24.45 MB, free: 7.562 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.001546/0.001546, allocations: 159.1 kB / 28.2 MB, free: 4.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 1.45/1.45, allocations: 177.1 MB / 209 MB, free: 2.805 MB / 186.7 MB " [Timeout remaining time 178] 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 1.148/1.148, allocations: 102.5 MB / 368.4 MB, free: 1.34 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 0.5.2 (/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 2.194e-06/2.194e-06, allocations: 0 / 468.3 MB, free: 13.56 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.684e-05, allocations: 6.25 kB / 468.3 MB, free: 13.55 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.1718/0.1718, allocations: 52.28 MB / 0.5084 GB, free: 9.246 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.1834, allocations: 7.102 MB / 0.5153 GB, free: 2.117 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.184, allocations: 19.88 kB / 0.5153 GB, free: 2.098 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.001762/0.1858, allocations: 0.5088 MB / 0.5158 GB, free: 1.586 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.1868, allocations: 433.5 kB / 0.5163 GB, free: 1.16 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.1883, allocations: 0.6428 MB / 0.5169 GB, free: 0.5156 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.2113/0.3996, allocations: 1.01 MB / 0.5179 GB, free: 73.34 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000632/0.4002, allocations: 202.3 kB / 0.5181 GB, free: 73.31 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006821/0.4009, allocations: 0.5052 MB / 0.5186 GB, free: 73.31 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.4014, allocations: 438.8 kB / 0.519 GB, free: 73.25 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.4015, allocations: 97.62 kB / 0.5191 GB, free: 73.25 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08821/0.4897, allocations: 15.85 MB / 0.5345 GB, free: 65.24 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0006587/0.4904, allocations: 0.5035 MB / 0.535 GB, free: 65.16 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007155/0.4911, allocations: 364.5 kB / 0.5354 GB, free: 65.09 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.494, allocations: 1.93 MB / 0.5373 GB, free: 64.88 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.494, allocations: 0 / 0.5373 GB, free: 64.88 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.494, allocations: 0 / 0.5373 GB, free: 64.88 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.692e-05/0.4941, allocations: 5.906 kB / 0.5373 GB, free: 64.88 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.00399/0.4981, allocations: 2.069 MB / 0.5393 GB, free: 63.82 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4981, allocations: 8.562 kB / 0.5393 GB, free: 63.82 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000612/0.4987, allocations: 238.9 kB / 0.5395 GB, free: 63.71 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.5024, allocations: 2.153 MB / 0.5416 GB, free: 63.24 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.5025, allocations: 32.47 kB / 0.5417 GB, free: 63.24 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-05/0.5025, allocations: 42.19 kB / 0.5417 GB, free: 63.24 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5036, allocations: 0.571 MB / 0.5423 GB, free: 63.03 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5037, allocations: 1.438 kB / 0.5423 GB, free: 63.03 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.5037, allocations: 14.78 kB / 0.5423 GB, free: 63.03 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.5037, allocations: 13.97 kB / 0.5423 GB, free: 63.02 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.5048, allocations: 396.3 kB / 0.5427 GB, free: 63.02 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.5077, allocations: 1.951 MB / 0.5446 GB, free: 62.15 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.5086, allocations: 380.3 kB / 0.5449 GB, free: 62.06 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.509, allocations: 158.2 kB / 0.5451 GB, free: 62 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.5091, allocations: 26.03 kB / 0.5451 GB, free: 61.99 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5091, allocations: 40.7 kB / 0.5451 GB, free: 61.95 MB / 490.8 MB Notification: Performance of pre-optimization done (n=34): time 2.285e-06/0.5091, allocations: 0 / 0.5451 GB, free: 61.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.002317/0.5114, allocations: 0.6937 MB / 0.5458 GB, free: 61.68 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.5115, allocations: 185 kB / 0.546 GB, free: 61.46 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/0.5154, allocations: 2.191 MB / 0.5481 GB, free: 60.69 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.5155, allocations: 36.7 kB / 0.5482 GB, free: 60.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/0.516, allocations: 0.6757 MB / 0.5488 GB, free: 60.12 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.5161, allocations: 125 kB / 0.549 GB, free: 60.02 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.5163, allocations: 111 kB / 0.5491 GB, free: 59.96 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.5164, allocations: 323.3 kB / 0.5494 GB, free: 59.65 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.5168, allocations: 161 kB / 0.5495 GB, free: 59.6 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.5172, allocations: 367.9 kB / 0.5499 GB, free: 59.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008231/0.5181, allocations: 456 kB / 0.5503 GB, free: 59.06 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5181, allocations: 1.219 kB / 0.5503 GB, free: 59.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001328/0.5194, allocations: 0.6446 MB / 0.5509 GB, free: 58.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.5194, allocations: 7.906 kB / 0.5509 GB, free: 58.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.5194, allocations: 3.594 kB / 0.551 GB, free: 58.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/0.5195, allocations: 9.781 kB / 0.551 GB, free: 58.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.5199, allocations: 106.2 kB / 0.5511 GB, free: 58.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.5199, allocations: 7.438 kB / 0.5511 GB, free: 58.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.5204, allocations: 62.11 kB / 0.5511 GB, free: 58.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.5205, allocations: 15.33 kB / 0.5511 GB, free: 58.77 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.0005913/0.5211, allocations: 444.6 kB / 0.5516 GB, free: 58.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.5214, allocations: 185.4 kB / 0.5517 GB, free: 58.44 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.5226, allocations: 0.5561 MB / 0.5523 GB, free: 58.19 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.5226, allocations: 7.188 kB / 0.5523 GB, free: 58.18 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5226, allocations: 1.219 kB / 0.5523 GB, free: 58.18 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5226, allocations: 1.547 kB / 0.5523 GB, free: 58.18 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.5237, allocations: 0.6895 MB / 0.553 GB, free: 57.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.5237, allocations: 0 / 0.553 GB, free: 57.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.5241, allocations: 64.67 kB / 0.553 GB, free: 57.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.5241, allocations: 2.828 kB / 0.553 GB, free: 57.86 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.5241, allocations: 7.234 kB / 0.553 GB, free: 57.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.5241, allocations: 2.375 kB / 0.553 GB, free: 57.86 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5241, allocations: 10.48 kB / 0.5531 GB, free: 57.85 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.5256, allocations: 0.818 MB / 0.5539 GB, free: 57.39 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.526, allocations: 248.1 kB / 0.5541 GB, free: 57.26 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.5262, allocations: 9.781 kB / 0.5541 GB, free: 57.26 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.5266, allocations: 23.06 kB / 0.5541 GB, free: 57.25 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5267, allocations: 27.86 kB / 0.5541 GB, free: 57.25 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.5267, allocations: 6.703 kB / 0.5542 GB, free: 57.25 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002375/0.5291, allocations: 1.577 MB / 0.5557 GB, free: 56.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5291, allocations: 0 / 0.5557 GB, free: 56.69 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0008268/0.5299, allocations: 205.6 kB / 0.5559 GB, free: 56.64 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.002255/0.5322, allocations: 0.593 MB / 0.5565 GB, free: 56.34 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.001/0.5332, allocations: 367.8 kB / 0.5568 GB, free: 56.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5332, allocations: 0 / 0.5568 GB, free: 56.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.5336, allocations: 153.1 kB / 0.557 GB, free: 56.21 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5347, allocations: 217.8 kB / 0.5572 GB, free: 56.11 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.539, allocations: 2.602 MB / 0.5597 GB, free: 54.85 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.54, allocations: 0.6753 MB / 0.5604 GB, free: 54.67 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0005827/0.5406, allocations: 205.5 kB / 0.5606 GB, free: 54.65 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.5408, allocations: 91.92 kB / 0.5607 GB, free: 54.64 MB / 490.8 MB Notification: Performance of SimCode: time 1.403e-06/0.5408, allocations: 1.344 kB / 0.5607 GB, free: 54.64 MB / 490.8 MB Notification: Performance of Templates: time 0.01989/0.5607, allocations: 11.04 MB / 0.5714 GB, free: 50.02 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=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 6.91698809096124]