Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLag.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.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 105.2 kB / 16.42 MB, free: 6.48 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.00103/0.00103, allocations: 190 kB / 17.36 MB, free: 5.707 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.076/1.076, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05385/0.05385, allocations: 14.16 MB / 284.8 MB, free: 13.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.521e-05, allocations: 3.266 kB / 399.2 MB, free: 42.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.001916/0.001939, allocations: 1.803 MB / 401 MB, free: 41.49 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000272/0.002222, allocations: 147.2 kB / 401.2 MB, free: 41.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.002306, allocations: 2.719 kB / 401.2 MB, free: 41.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.002412, allocations: 24.72 kB / 401.2 MB, free: 41.37 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.002536, allocations: 31.86 kB / 401.2 MB, free: 41.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.315e-05/0.002616, allocations: 40.14 kB / 401.2 MB, free: 41.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.002785, allocations: 153.1 kB / 401.4 MB, free: 41.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.00291, allocations: 58.42 kB / 401.5 MB, free: 41.22 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.002964, allocations: 47.36 kB / 401.5 MB, free: 41.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.003038, allocations: 51.02 kB / 401.5 MB, free: 41.17 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.003062, allocations: 10.09 kB / 401.6 MB, free: 41.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.529e-05/0.003082, allocations: 9.812 kB / 401.6 MB, free: 41.17 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001135/0.003199, allocations: 197.8 kB / 401.8 MB, free: 41.04 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.568e-05/0.00324, allocations: 129.7 kB / 401.9 MB, free: 40.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.003264, allocations: 18.59 kB / 401.9 MB, free: 40.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.778e-05/0.003286, allocations: 6.656 kB / 401.9 MB, free: 40.93 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: 20 (20) * Number of variables: 20 (20) Notification: Performance of Bindings: time 0.0003991/0.00369, allocations: 0.636 MB / 402.5 MB, free: 40.35 MB / 318.1 MB Notification: Performance of FunctionAlias: time 5.164e-05/0.003749, allocations: 28.66 kB / 402.6 MB, free: 40.32 MB / 318.1 MB Notification: Performance of Early Inline: time 0.000148/0.003903, allocations: 251.9 kB / 402.8 MB, free: 40.11 MB / 318.1 MB Notification: Performance of simplify1: time 1.777e-05/0.003927, allocations: 20.44 kB / 402.8 MB, free: 40.09 MB / 318.1 MB Notification: Performance of Alias: time 0.0004541/0.004386, allocations: 0.5059 MB / 403.3 MB, free: 39.68 MB / 318.1 MB Notification: Performance of simplify2: time 1.416e-05/0.004409, allocations: 12.86 kB / 403.4 MB, free: 39.68 MB / 318.1 MB Notification: Performance of Events: time 6.995e-05/0.004484, allocations: 61.67 kB / 403.4 MB, free: 39.63 MB / 318.1 MB Notification: Performance of Detect States: time 9.026e-05/0.004581, allocations: 88.58 kB / 403.5 MB, free: 39.54 MB / 318.1 MB Notification: Performance of Partitioning: time 7.079e-05/0.004659, allocations: 92.75 kB / 403.6 MB, free: 39.45 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002366/0.004901, allocations: 292 kB / 403.9 MB, free: 39.27 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001027/0.005011, allocations: 181.1 kB / 404.1 MB, free: 39.11 MB / 318.1 MB Notification: Performance of Inline: time 0.0002213/0.005238, allocations: 353.9 kB / 404.4 MB, free: 38.83 MB / 318.1 MB Notification: Performance of Partitioning: time 1.833e-05/0.005264, allocations: 24.59 kB / 404.4 MB, free: 38.8 MB / 318.1 MB Notification: Performance of Cleanup: time 1.114e-05/0.005281, allocations: 18.42 kB / 404.4 MB, free: 38.79 MB / 318.1 MB Notification: Performance of Causalize: time 0.0003684/0.005653, allocations: 403.9 kB / 404.8 MB, free: 38.61 MB / 318.1 MB Notification: Performance of Tearing: time 0.0001542/0.005815, allocations: 284.3 kB / 405.1 MB, free: 38.33 MB / 318.1 MB Notification: Performance of Initialization: time 4.11e-07/0.005823, allocations: 0 / 405.1 MB, free: 38.33 MB / 318.1 MB Notification: Performance of Tearing: time 2.765e-06/0.005832, allocations: 5.125 kB / 405.1 MB, free: 38.33 MB / 318.1 MB Notification: Performance of Categorize: time 7.444e-06/0.005843, allocations: 1.094 kB / 405.1 MB, free: 38.33 MB / 318.1 MB Notification: Performance of Solve: time 7.293e-05/0.00592, allocations: 57.75 kB / 405.2 MB, free: 38.3 MB / 318.1 MB Notification: Performance of Jacobian: time 7.132e-05/0.005998, allocations: 219.4 kB / 405.4 MB, free: 38.08 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: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {leadLag.firstOrder.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$SEV_1, $SEV_0, $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: ........... 13 (scalar:13, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 2.309e-05/0.006027, allocations: 27.59 kB / 405.4 MB, free: 38.05 MB / 318.1 MB Notification: Performance of SimCode: time 0.0003737/0.006405, allocations: 1.048 MB / 406.5 MB, free: 37.11 MB / 318.1 MB Notification: Performance of Templates: time 0.002459/0.008873, allocations: 0.9678 MB / 407.4 MB, free: 36.62 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:leadLag.T1,leadLag.T2,leadLag.feedback.y,leadLag.firstOrder.T,leadLag.firstOrder.initType,leadLag.firstOrder.k,leadLag.firstOrder.u,leadLag.firstOrder.y,leadLag.firstOrder.y_start,leadLag.gain.k,leadLag.gain.u,leadLag.gain.y,leadLag.initType,leadLag.k,leadLag.noDynamics,leadLag.u,leadLag.y,leadLag.yStart,leadLagAnalyticSolution.y,leadLagNoDynamics.T1,leadLagNoDynamics.T2,leadLagNoDynamics.feedback.y,leadLagNoDynamics.gain.k,leadLagNoDynamics.gain.u,leadLagNoDynamics.gain.y,leadLagNoDynamics.initType,leadLagNoDynamics.k,leadLagNoDynamics.noDynamics,leadLagNoDynamics.u,leadLagNoDynamics.y,leadLagNoDynamics.yStart,leadLagNoDynamics.zero.y,leadLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time Variables in the result:leadLag.T1,leadLag.T2,leadLag.feedback.y,leadLag.firstOrder.T,leadLag.firstOrder.initType,leadLag.firstOrder.k,leadLag.firstOrder.u,leadLag.firstOrder.y,leadLag.firstOrder.y_start,leadLag.gain.k,leadLag.gain.u,leadLag.gain.y,leadLag.initType,leadLag.k,leadLag.noDynamics,leadLag.u,leadLag.y,leadLag.yStart,leadLagAnalyticSolution.y,leadLagNoDynamics.T1,leadLagNoDynamics.T2,leadLagNoDynamics.feedback.u2,leadLagNoDynamics.feedback.y,leadLagNoDynamics.gain.k,leadLagNoDynamics.gain.u,leadLagNoDynamics.gain.y,leadLagNoDynamics.initType,leadLagNoDynamics.k,leadLagNoDynamics.noDynamics,leadLagNoDynamics.u,leadLagNoDynamics.y,leadLagNoDynamics.yStart,leadLagNoDynamics.zero.y,leadLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time