Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=480,variableFilter="inputSignal.offset|inputSignal.shiftTime|inputSignal.startTime|inputSignal.table.1,1.|inputSignal.table.1,2.|inputSignal.table.2,1.|inputSignal.table.2,2.|inputSignal.table.3,1.|inputSignal.table.3,2.|inputSignal.table.4,1.|inputSignal.table.4,2.|inputSignal.table.5,1.|inputSignal.table.5,2.|inputSignal.table.6,1.|inputSignal.table.6,2.|inputSignal.timeScale|inputSignal.y|integrator1.I.initType|integrator1.I.k|integrator1.I.u|integrator1.I.y|integrator1.I.y_start|integrator1.initType|integrator1.k|integrator1.lim.homotopyType|integrator1.lim.limitsAtInit|integrator1.lim.strict|integrator1.lim.u|integrator1.lim.uMax|integrator1.lim.uMin|integrator1.lim.y|integrator1.strict|integrator1.u|integrator1.y|integrator1.yMax|integrator1.yMin|integrator1.yStart|integrator2.I.initType|integrator2.I.k|integrator2.I.u|integrator2.I.y|integrator2.I.y_start|integrator2.initType|integrator2.k|integrator2.lim.homotopyType|integrator2.lim.limitsAtInit|integrator2.lim.strict|integrator2.lim.u|integrator2.lim.uMax|integrator2.lim.uMin|integrator2.lim.y|integrator2.strict|integrator2.u|integrator2.y|integrator2.yMax|integrator2.yMin|integrator2.yStart|integratorAnalyticSolution.y|neg.k|neg.u|neg.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=480,variableFilter="inputSignal.offset|inputSignal.shiftTime|inputSignal.startTime|inputSignal.table.1,1.|inputSignal.table.1,2.|inputSignal.table.2,1.|inputSignal.table.2,2.|inputSignal.table.3,1.|inputSignal.table.3,2.|inputSignal.table.4,1.|inputSignal.table.4,2.|inputSignal.table.5,1.|inputSignal.table.5,2.|inputSignal.table.6,1.|inputSignal.table.6,2.|inputSignal.timeScale|inputSignal.y|integrator1.I.initType|integrator1.I.k|integrator1.I.u|integrator1.I.y|integrator1.I.y_start|integrator1.initType|integrator1.k|integrator1.lim.homotopyType|integrator1.lim.limitsAtInit|integrator1.lim.strict|integrator1.lim.u|integrator1.lim.uMax|integrator1.lim.uMin|integrator1.lim.y|integrator1.strict|integrator1.u|integrator1.y|integrator1.yMax|integrator1.yMin|integrator1.yStart|integrator2.I.initType|integrator2.I.k|integrator2.I.u|integrator2.I.y|integrator2.I.y_start|integrator2.initType|integrator2.k|integrator2.lim.homotopyType|integrator2.lim.limitsAtInit|integrator2.lim.strict|integrator2.lim.u|integrator2.lim.uMax|integrator2.lim.uMin|integrator2.lim.y|integrator2.strict|integrator2.u|integrator2.y|integrator2.yMax|integrator2.yMin|integrator2.yStart|integratorAnalyticSolution.y|neg.k|neg.u|neg.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 113.6 kB / 16.43 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 185.5 kB / 17.36 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08171/0.08171, allocations: 16.78 MB / 308 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.073e-05, allocations: 8.75 kB / 429.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.003111/0.003152, allocations: 1.85 MB / 431.2 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.00456, allocations: 0.7714 MB / 431.9 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.004808, allocations: 7.938 kB / 431.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.00508, allocations: 47.7 kB / 432 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.005248, allocations: 67.67 kB / 432 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.006039, allocations: 221.8 kB / 432.3 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.006439, allocations: 283.4 kB / 432.5 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.006598, allocations: 45.61 kB / 432.6 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.006778, allocations: 103.6 kB / 432.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.006982, allocations: 111.6 kB / 432.8 MB, free: 5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.007037, allocations: 20 kB / 432.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.007204, allocations: 95.86 kB / 432.9 MB, free: 4.887 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002087/0.007419, allocations: 316.4 kB / 433.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.091e-05/0.007497, allocations: 189.1 kB / 433.4 MB, free: 4.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.007562, allocations: 27.94 kB / 433.4 MB, free: 4.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.585e-05/0.007624, allocations: 15.88 kB / 433.4 MB, free: 4.344 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 (24) * Number of variables: 28 (28) Notification: Performance of Bindings: time 0.0007832/0.008412, allocations: 0.9083 MB / 434.4 MB, free: 3.328 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.416e-05/0.008474, allocations: 31.91 kB / 434.4 MB, free: 3.297 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003301/0.008809, allocations: 432.1 kB / 434.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of simplify1: time 3.329e-05/0.00885, allocations: 27.95 kB / 434.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of Alias: time 0.0007475/0.009604, allocations: 0.6848 MB / 435.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of simplify2: time 3.229e-05/0.009647, allocations: 19.97 kB / 435.5 MB, free: 1.992 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001937/0.009846, allocations: 160 kB / 435.7 MB, free: 1.82 MB / 302.1 MB Notification: Performance of Events: time 0.0002839/0.01014, allocations: 205.5 kB / 435.9 MB, free: 1.617 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001867/0.01033, allocations: 204.4 kB / 436.1 MB, free: 1.387 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006272/0.01097, allocations: 0.6199 MB / 436.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003689/0.01135, allocations: 0.5096 MB / 437.2 MB, free: 204 kB / 302.1 MB Notification: Performance of Inline: time 0.000912/0.01227, allocations: 0.7707 MB / 438 MB, free: 15.39 MB / 318.1 MB Notification: Performance of Partitioning: time 7.12e-05/0.01235, allocations: 42.38 kB / 438 MB, free: 15.34 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001524/0.01251, allocations: 120 kB / 438.2 MB, free: 15.23 MB / 318.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) inputSignal.nextEventScaled = $START.inputSignal.nextEventScaled ($RES_SRT_50) slice: {}; Notification: Performance of Causalize: time 0.004612/0.01713, allocations: 3.441 MB / 441.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of Tearing: time 1.964e-05/0.01716, allocations: 4 kB / 441.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of Initialization: time 7.42e-07/0.01717, allocations: 0 / 441.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of Tearing: time 9.187e-06/0.01718, allocations: 7.938 kB / 441.6 MB, free: 11.69 MB / 318.1 MB Notification: Performance of Categorize: time 1.945e-05/0.01721, allocations: 0 / 441.6 MB, free: 11.69 MB / 318.1 MB Notification: Performance of Solve: time 0.0002442/0.01746, allocations: 129.5 kB / 441.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0003435/0.01781, allocations: 346.2 kB / 442.1 MB, free: 11.19 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {integrator1.lim.simplifiedExpr, integrator2.lim.simplifiedExpr} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 26 (26) {inputSignal.a, inputSignal.b, inputSignal.last, inputSignal.nextEvent, inputSignal.nextEventScaled, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 30 (scalar:30, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 44 (scalar:44, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 44 (scalar:44, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.014e-05/0.01791, allocations: 46 kB / 442.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of SimCode: time 0.001586/0.0195, allocations: 1.522 MB / 443.6 MB, free: 9.594 MB / 318.1 MB Notification: Performance of Templates: time 0.00674/0.02626, allocations: 2.867 MB / 446.5 MB, free: 6.734 MB / 318.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable integrator1.lim.limitsAtInit in file PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat. Warning: Get data of variable integrator1.lim.limitsAtInit from file PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat failed! Error: Could not read variable integrator2.lim.limitsAtInit in file PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat. Warning: Get data of variable integrator2.lim.limitsAtInit from file PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat failed! " Variables in the reference:inputSignal.offset,inputSignal.shiftTime,inputSignal.startTime,inputSignal.table[1,1],inputSignal.table[1,2],inputSignal.table[2,1],inputSignal.table[2,2],inputSignal.table[3,1],inputSignal.table[3,2],inputSignal.table[4,1],inputSignal.table[4,2],inputSignal.table[5,1],inputSignal.table[5,2],inputSignal.table[6,1],inputSignal.table[6,2],inputSignal.timeScale,inputSignal.y,integrator1.I.initType,integrator1.I.k,integrator1.I.u,integrator1.I.y,integrator1.I.y_start,integrator1.initType,integrator1.k,integrator1.lim.homotopyType,integrator1.lim.limitsAtInit,integrator1.lim.strict,integrator1.lim.u,integrator1.lim.uMax,integrator1.lim.uMin,integrator1.lim.y,integrator1.strict,integrator1.u,integrator1.y,integrator1.yMax,integrator1.yMin,integrator1.yStart,integrator2.I.initType,integrator2.I.k,integrator2.I.u,integrator2.I.y,integrator2.I.y_start,integrator2.initType,integrator2.k,integrator2.lim.homotopyType,integrator2.lim.limitsAtInit,integrator2.lim.strict,integrator2.lim.u,integrator2.lim.uMax,integrator2.lim.uMin,integrator2.lim.y,integrator2.strict,integrator2.u,integrator2.y,integrator2.yMax,integrator2.yMin,integrator2.yStart,integratorAnalyticSolution.y,neg.k,neg.u,neg.y,time Variables in the result:inputSignal.offset,inputSignal.shiftTime,inputSignal.startTime,inputSignal.table[1,1],inputSignal.table[1,2],inputSignal.table[2,1],inputSignal.table[2,2],inputSignal.table[3,1],inputSignal.table[3,2],inputSignal.table[4,1],inputSignal.table[4,2],inputSignal.table[5,1],inputSignal.table[5,2],inputSignal.table[6,1],inputSignal.table[6,2],inputSignal.timeScale,inputSignal.timeScaled,inputSignal.y,integrator1.I.initType,integrator1.I.k,integrator1.I.u,integrator1.I.y,integrator1.I.y_start,integrator1.initType,integrator1.k,integrator1.lim.homotopyType,integrator1.lim.simplifiedExpr,integrator1.lim.strict,integrator1.lim.u,integrator1.lim.uMax,integrator1.lim.uMin,integrator1.lim.y,integrator1.strict,integrator1.u,integrator1.y,integrator1.yMax,integrator1.yMin,integrator1.yStart,integrator2.I.initType,integrator2.I.k,integrator2.I.u,integrator2.I.y,integrator2.I.y_start,integrator2.initType,integrator2.k,integrator2.lim.homotopyType,integrator2.lim.simplifiedExpr,integrator2.lim.strict,integrator2.lim.u,integrator2.lim.uMax,integrator2.lim.uMin,integrator2.lim.y,integrator2.strict,integrator2.u,integrator2.y,integrator2.yMax,integrator2.yMin,integrator2.yStart,integratorAnalyticSolution.y,neg.k,neg.u,neg.y,time