Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 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.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_dev_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_dev_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.001553/0.001553, allocations: 113.9 kB / 16.42 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.001662/0.001662, allocations: 179.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.486/1.486, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07561/0.07561, allocations: 16.77 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.484e-05, allocations: 2.281 kB / 429.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002774/0.002818, allocations: 1.796 MB / 431.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003642/0.003195, allocations: 155.4 kB / 431.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.003309, allocations: 4 kB / 431.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.003457, allocations: 15.8 kB / 431.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.003623, allocations: 31.77 kB / 431.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.73e-05/0.00373, allocations: 39.91 kB / 431.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.00392, allocations: 143.7 kB / 431.5 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.004088, allocations: 69.27 kB / 431.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.236e-05/0.004157, allocations: 55.7 kB / 431.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.004253, allocations: 47.77 kB / 431.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.004288, allocations: 8 kB / 431.7 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.974e-05/0.004313, allocations: 12 kB / 431.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001287/0.004446, allocations: 193.8 kB / 431.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.861e-05/0.0045, allocations: 130 kB / 432 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.004526, allocations: 15.94 kB / 432 MB, free: 5.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.327e-05/0.004553, allocations: 7.938 kB / 432 MB, free: 5.797 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: 20 (20) * Number of variables: 20 (20) Notification: Performance of Bindings: time 0.0005321/0.00509, allocations: 0.6316 MB / 432.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.632e-05/0.005163, allocations: 27.97 kB / 432.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001807/0.00535, allocations: 244.2 kB / 432.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simplify1: time 2.148e-05/0.005376, allocations: 19.97 kB / 432.9 MB, free: 4.75 MB / 302.1 MB Notification: Performance of Alias: time 0.0005706/0.005953, allocations: 0.53 MB / 433.4 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simplify2: time 1.608e-05/0.005979, allocations: 11.98 kB / 433.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001282/0.006113, allocations: 73.33 kB / 433.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of Events: time 9.182e-05/0.006213, allocations: 43.89 kB / 433.6 MB, free: 3.984 MB / 302.1 MB Notification: Performance of Partitioning: time 8.869e-05/0.006309, allocations: 103.6 kB / 433.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002468/0.006561, allocations: 296.8 kB / 434 MB, free: 3.535 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001254/0.006694, allocations: 188.4 kB / 434.2 MB, free: 3.324 MB / 302.1 MB Notification: Performance of Inline: time 0.0002676/0.006968, allocations: 332.9 kB / 434.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of Partitioning: time 2.279e-05/0.006999, allocations: 24.11 kB / 434.5 MB, free: 2.934 MB / 302.1 MB Notification: Performance of Cleanup: time 1.799e-05/0.007022, allocations: 19.91 kB / 434.5 MB, free: 2.914 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004064/0.007436, allocations: 420.2 kB / 434.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003926/0.007837, allocations: 326 kB / 435.2 MB, free: 2.129 MB / 302.1 MB Notification: Performance of Initialization: time 4.21e-07/0.007849, allocations: 0 / 435.2 MB, free: 2.129 MB / 302.1 MB Notification: Performance of Tearing: time 4.158e-06/0.007861, allocations: 3.938 kB / 435.3 MB, free: 2.125 MB / 302.1 MB Notification: Performance of Categorize: time 1.367e-05/0.00788, allocations: 4 kB / 435.3 MB, free: 2.121 MB / 302.1 MB Notification: Performance of Solve: time 9.801e-05/0.007982, allocations: 48.02 kB / 435.3 MB, free: 2.074 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001168/0.008105, allocations: 222.1 kB / 435.5 MB, free: 1.82 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: ............... 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: 1, nonlinear:0) Notification: Performance of backend: time 5.57e-05/0.008168, allocations: 36.5 kB / 435.6 MB, free: 1.793 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006404/0.008814, allocations: 1.066 MB / 436.6 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of Templates: time 0.003214/0.01204, allocations: 0.9648 MB / 437.6 MB, free: 15.73 MB / 318.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_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