Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.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.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 111.2 kB / 16.42 MB, free: 6.426 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.001834/0.001834, allocations: 182.1 kB / 17.36 MB, free: 5.684 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07314/0.07314, allocations: 16.78 MB / 308 MB, free: 14.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.745e-05, allocations: 2.281 kB / 429.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002473/0.002509, allocations: 1.828 MB / 431.1 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004413/0.002963, allocations: 159.5 kB / 431.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.003104, allocations: 7.938 kB / 431.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.003279, allocations: 23.8 kB / 431.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.003464, allocations: 19.8 kB / 431.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.003583, allocations: 47.88 kB / 431.4 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.003808, allocations: 143.7 kB / 431.5 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.004019, allocations: 45.28 kB / 431.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.004095, allocations: 47.78 kB / 431.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.004251, allocations: 47.72 kB / 431.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.004287, allocations: 8 kB / 431.7 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.135e-05/0.004313, allocations: 8 kB / 431.7 MB, free: 6.113 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001852/0.004503, allocations: 189.7 kB / 431.9 MB, free: 5.926 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.193e-05/0.004582, allocations: 126.1 kB / 432 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.004616, allocations: 19.94 kB / 432 MB, free: 5.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.228e-05/0.004663, allocations: 7.938 kB / 432 MB, free: 5.773 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: 22 (22) * Number of variables: 22 (22) Notification: Performance of Bindings: time 0.0005346/0.005203, allocations: 0.4951 MB / 432.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.735e-05/0.005297, allocations: 35.89 kB / 432.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001498/0.005453, allocations: 168.3 kB / 432.7 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simplify1: time 5.651e-05/0.005515, allocations: 68.33 kB / 432.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of Alias: time 0.0005869/0.006107, allocations: 414.5 kB / 433.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of simplify2: time 4.008e-05/0.006157, allocations: 44.42 kB / 433.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003526/0.006515, allocations: 56.58 kB / 433.3 MB, free: 4.203 MB / 302.1 MB Notification: Performance of Events: time 9.038e-05/0.006613, allocations: 33.03 kB / 433.3 MB, free: 4.172 MB / 302.1 MB Notification: Performance of Partitioning: time 8.52e-05/0.006705, allocations: 72.3 kB / 433.4 MB, free: 4.078 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002326/0.006942, allocations: 204.1 kB / 433.6 MB, free: 3.855 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 9.55e-05/0.007046, allocations: 132.2 kB / 433.7 MB, free: 3.699 MB / 302.1 MB Notification: Performance of Inline: time 0.000185/0.007236, allocations: 205.6 kB / 433.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of Partitioning: time 1.538e-05/0.007261, allocations: 16.06 kB / 433.9 MB, free: 3.441 MB / 302.1 MB Notification: Performance of Cleanup: time 2.573e-05/0.007292, allocations: 35.91 kB / 434 MB, free: 3.406 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002458/0.007542, allocations: 230.9 kB / 434.2 MB, free: 3.176 MB / 302.1 MB Notification: Performance of Tearing: time 1.19e-05/0.007561, allocations: 4 kB / 434.2 MB, free: 3.172 MB / 302.1 MB Notification: Performance of Initialization: time 3.81e-07/0.007568, allocations: 4 kB / 434.2 MB, free: 3.168 MB / 302.1 MB Notification: Performance of Tearing: time 2.675e-06/0.007575, allocations: 3.938 kB / 434.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of Categorize: time 7.484e-06/0.007586, allocations: 0 / 434.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of Solve: time 9.023e-05/0.007682, allocations: 43.94 kB / 434.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001114/0.0078, allocations: 198 kB / 434.4 MB, free: 2.891 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: ......... 2 * 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) {derivativeLag.integrator.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {$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: ........... 12 (scalar:12, 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: ........... 15 (scalar:15, 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: Performance of backend: time 3.447e-05/0.007842, allocations: 28.08 kB / 434.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005229/0.008369, allocations: 1.014 MB / 435.5 MB, free: 1.824 MB / 302.1 MB Notification: Performance of Templates: time 0.002346/0.01073, allocations: 0.7072 MB / 436.2 MB, free: 1.117 MB / 302.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches