Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_symb_jac_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_symb_jac_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.001566/0.001566, allocations: 112.3 kB / 17.1 MB, free: 5.988 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.0017/0.0017, allocations: 196.2 kB / 18.04 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05983/0.05983, allocations: 14.16 MB / 285.4 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.119e-05, allocations: 2.281 kB / 397.8 MB, free: 43.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLimiterWithLag): time 0.004202/0.004249, allocations: 1.771 MB / 399.5 MB, free: 42.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.005659, allocations: 0.5675 MB / 400.1 MB, free: 42.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.005877, allocations: 1.062 kB / 400.1 MB, free: 42.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.006042, allocations: 12.72 kB / 400.1 MB, free: 42.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.006305, allocations: 36.98 kB / 400.2 MB, free: 42.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.006697, allocations: 65.55 kB / 400.2 MB, free: 42.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.007204, allocations: 216.5 kB / 400.4 MB, free: 42.1 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.007383, allocations: 19.27 kB / 400.5 MB, free: 42.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.007633, allocations: 86.98 kB / 400.5 MB, free: 42.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.007842, allocations: 86.53 kB / 400.6 MB, free: 42.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.521e-05/0.007927, allocations: 21.34 kB / 400.6 MB, free: 42.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.886e-05/0.007985, allocations: 17.31 kB / 400.7 MB, free: 42.02 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002985/0.008291, allocations: 247.8 kB / 400.9 MB, free: 41.86 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.35e-05/0.008393, allocations: 126.1 kB / 401 MB, free: 41.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.806e-05/0.00848, allocations: 19.41 kB / 401 MB, free: 41.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.637e-05/0.008525, allocations: 7.688 kB / 401.1 MB, free: 41.76 MB / 318.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.0008577/0.00939, allocations: 0.6222 MB / 401.7 MB, free: 41.24 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.394e-05/0.009464, allocations: 22.14 kB / 401.7 MB, free: 41.22 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0004587/0.009931, allocations: 365 kB / 402.1 MB, free: 40.92 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001206/0.01006, allocations: 81.27 kB / 402.1 MB, free: 40.84 MB / 318.1 MB Notification: Performance of Alias: time 0.0004721/0.01054, allocations: 220.8 kB / 402.4 MB, free: 40.61 MB / 318.1 MB Notification: Performance of simplify2: time 9.538e-05/0.01065, allocations: 85.58 kB / 402.4 MB, free: 40.52 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002734/0.01094, allocations: 173.5 kB / 402.6 MB, free: 40.37 MB / 318.1 MB Notification: Performance of Events: time 0.0003759/0.01132, allocations: 195.7 kB / 402.8 MB, free: 40.23 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001651/0.0115, allocations: 119.7 kB / 402.9 MB, free: 40.16 MB / 318.1 MB Notification: Performance of Causalize: time 0.0006203/0.01213, allocations: 393.3 kB / 403.3 MB, free: 40 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003807/0.01252, allocations: 437.2 kB / 403.7 MB, free: 39.64 MB / 318.1 MB Notification: Performance of Inline: time 0.0006787/0.0132, allocations: 0.6298 MB / 404.4 MB, free: 39.14 MB / 318.1 MB Notification: Performance of Partitioning: time 3.293e-05/0.01325, allocations: 18.12 kB / 404.4 MB, free: 39.12 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001425/0.0134, allocations: 182.6 kB / 404.5 MB, free: 38.97 MB / 318.1 MB Notification: Performance of Causalize: time 0.001832/0.01524, allocations: 1.181 MB / 405.7 MB, free: 38.48 MB / 318.1 MB Notification: Performance of Tearing: time 1.719e-05/0.01527, allocations: 7.938 kB / 405.7 MB, free: 38.48 MB / 318.1 MB Notification: Performance of Initialization: time 1.342e-06/0.01527, allocations: 1.094 kB / 405.7 MB, free: 38.48 MB / 318.1 MB Notification: Performance of Tearing: time 4.258e-06/0.01528, allocations: 0 / 405.7 MB, free: 38.48 MB / 318.1 MB Notification: Performance of Categorize: time 1.112e-05/0.0153, allocations: 2 kB / 405.7 MB, free: 38.48 MB / 318.1 MB Notification: Performance of Solve: time 0.0002127/0.01552, allocations: 79.73 kB / 405.8 MB, free: 38.43 MB / 318.1 MB Notification: Performance of Jacobian: time 4.588e-06/0.01553, allocations: 1.25 kB / 405.8 MB, free: 38.43 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: ............... 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 0.0001354/0.01567, allocations: 55.75 kB / 405.9 MB, free: 38.39 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008745/0.01655, allocations: 1.134 MB / 407 MB, free: 37.39 MB / 318.1 MB Notification: Performance of Templates: time 0.005438/0.022, allocations: 2.424 MB / 409.4 MB, free: 35.84 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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