Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag.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.TestLimiterWithLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="HfSignal.amplitude|HfSignal.falling|HfSignal.nperiod|HfSignal.offset|HfSignal.period|HfSignal.rising|HfSignal.startTime|HfSignal.width|HfSignal.y|LfSignal.amplitude|LfSignal.falling|LfSignal.nperiod|LfSignal.offset|LfSignal.period|LfSignal.rising|LfSignal.startTime|LfSignal.width|LfSignal.y|limiterWithLag.LagMax|limiterWithLag.LagMin|limiterWithLag.stateStart|limiterWithLag.u|limiterWithLag.uMax|limiterWithLag.uMin|limiterWithLag.useLag|limiterWithLag.y|sum.k.1.|sum.k.2.|sum.nin|sum.u.1.|sum.u.2.|sum.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag") translateModel(PowerGrids.Controls.Test.TestLimiterWithLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="HfSignal.amplitude|HfSignal.falling|HfSignal.nperiod|HfSignal.offset|HfSignal.period|HfSignal.rising|HfSignal.startTime|HfSignal.width|HfSignal.y|LfSignal.amplitude|LfSignal.falling|LfSignal.nperiod|LfSignal.offset|LfSignal.period|LfSignal.rising|LfSignal.startTime|LfSignal.width|LfSignal.y|limiterWithLag.LagMax|limiterWithLag.LagMin|limiterWithLag.stateStart|limiterWithLag.u|limiterWithLag.uMax|limiterWithLag.uMin|limiterWithLag.useLag|limiterWithLag.y|sum.k.1.|sum.k.2.|sum.nin|sum.u.1.|sum.u.2.|sum.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 115.3 kB / 16.43 MB, free: 6.523 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.001083/0.001083, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.157/1.157, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.06808/0.06808, allocations: 16.79 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.789e-06/9.799e-06, allocations: 2.281 kB / 427.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLimiterWithLag): time 0.001758/0.001776, allocations: 1.764 MB / 429 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.002407, allocations: 0.5182 MB / 429.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.002469, allocations: 0 / 429.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.657e-05/0.002566, allocations: 15.86 kB / 429.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.002695, allocations: 39.66 kB / 429.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.002856, allocations: 63.89 kB / 429.6 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.003086, allocations: 219.4 kB / 429.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.003203, allocations: 25.03 kB / 429.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.003297, allocations: 79.8 kB / 429.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.0034, allocations: 87.66 kB / 430 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.00344, allocations: 16 kB / 430 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.924e-05/0.003475, allocations: 24 kB / 430 MB, free: 7.77 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001586/0.003638, allocations: 245.5 kB / 430.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.529e-05/0.003698, allocations: 130 kB / 430.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.003744, allocations: 27.88 kB / 430.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.475e-05/0.003763, allocations: 4 kB / 430.4 MB, free: 7.367 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: 14 (12) * Number of variables: 14 (13) Notification: Performance of Bindings: time 0.0005391/0.004306, allocations: 0.608 MB / 431 MB, free: 6.656 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.622e-05/0.004338, allocations: 15.98 kB / 431.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002305/0.004573, allocations: 360 kB / 431.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simplify1: time 5.595e-05/0.004635, allocations: 88.34 kB / 431.5 MB, free: 6.148 MB / 302.1 MB Notification: Performance of Alias: time 0.0002532/0.004893, allocations: 221.7 kB / 431.7 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simplify2: time 4.819e-05/0.004951, allocations: 96.28 kB / 431.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002094/0.005165, allocations: 161.1 kB / 432 MB, free: 5.59 MB / 302.1 MB Notification: Performance of Events: time 0.0002124/0.005385, allocations: 200.5 kB / 432.2 MB, free: 5.398 MB / 302.1 MB Notification: Performance of Partitioning: time 9.942e-05/0.005491, allocations: 113.9 kB / 432.3 MB, free: 5.281 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004006/0.005897, allocations: 404.2 kB / 432.7 MB, free: 4.883 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000268/0.006173, allocations: 431.9 kB / 433.1 MB, free: 4.434 MB / 302.1 MB Notification: Performance of Inline: time 0.0004742/0.006653, allocations: 0.6339 MB / 433.7 MB, free: 3.762 MB / 302.1 MB Notification: Performance of Partitioning: time 1.992e-05/0.006681, allocations: 18.38 kB / 433.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001087/0.006795, allocations: 176.9 kB / 433.9 MB, free: 3.559 MB / 302.1 MB Notification: Performance of Causalize: time 0.001112/0.007912, allocations: 1.201 MB / 435.1 MB, free: 2.344 MB / 302.1 MB Notification: Performance of Tearing: time 8.987e-06/0.00793, allocations: 0 / 435.1 MB, free: 2.344 MB / 302.1 MB Notification: Performance of Initialization: time 3e-07/0.007936, allocations: 4 kB / 435.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of Tearing: time 2.094e-06/0.007942, allocations: 4 kB / 435.1 MB, free: 2.336 MB / 302.1 MB Notification: Performance of Categorize: time 5.34e-06/0.007951, allocations: 0 / 435.1 MB, free: 2.336 MB / 302.1 MB Notification: Performance of Solve: time 0.0001276/0.008083, allocations: 93.47 kB / 435.2 MB, free: 2.246 MB / 302.1 MB Notification: Performance of Jacobian: time 2.374e-06/0.008091, allocations: 0 / 435.2 MB, free: 2.246 MB / 302.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: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 4 (4) {HfSignal.T_start, HfSignal.count, LfSignal.T_start, LfSignal.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 15 (15) {limiterWithLag.state, limiterWithLag.saturationLimitReached, limiterWithLag.satON, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 18 (scalar:18, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:1, when:4, 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: ........... 31 (scalar:31, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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: ........... 31 (scalar:31, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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 4.44e-05/0.008139, allocations: 38.98 kB / 435.3 MB, free: 2.211 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004507/0.008594, allocations: 1.135 MB / 436.4 MB, free: 1.043 MB / 302.1 MB Notification: Performance of Templates: time 0.003863/0.01247, allocations: 2.431 MB / 438.8 MB, free: 14.61 MB / 318.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLimiterWithLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLimiterWithLag.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:HfSignal.amplitude,HfSignal.falling,HfSignal.nperiod,HfSignal.offset,HfSignal.period,HfSignal.rising,HfSignal.startTime,HfSignal.width,HfSignal.y,LfSignal.amplitude,LfSignal.falling,LfSignal.nperiod,LfSignal.offset,LfSignal.period,LfSignal.rising,LfSignal.startTime,LfSignal.width,LfSignal.y,limiterWithLag.LagMax,limiterWithLag.LagMin,limiterWithLag.stateStart,limiterWithLag.u,limiterWithLag.uMax,limiterWithLag.uMin,limiterWithLag.useLag,limiterWithLag.y,sum.k[1],sum.k[2],sum.nin,sum.u[1],sum.u[2],sum.y,time Variables in the result:HfSignal.T_falling,HfSignal.T_rising,HfSignal.T_width,HfSignal.amplitude,HfSignal.falling,HfSignal.nperiod,HfSignal.offset,HfSignal.period,HfSignal.rising,HfSignal.startTime,HfSignal.width,HfSignal.y,LfSignal.T_falling,LfSignal.T_rising,LfSignal.T_width,LfSignal.amplitude,LfSignal.falling,LfSignal.nperiod,LfSignal.offset,LfSignal.period,LfSignal.rising,LfSignal.startTime,LfSignal.width,LfSignal.y,limiterWithLag.LagMax,limiterWithLag.LagMin,limiterWithLag.stateStart,limiterWithLag.u,limiterWithLag.uMax,limiterWithLag.uMin,limiterWithLag.useLag,limiterWithLag.y,sum.k[1],sum.k[2],sum.nin,sum.u[1],sum.u[2],sum.y,time