Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009561/0.0009561, allocations: 69.89 kB / 20.65 MB, free: 3.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009604/0.0009604, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8663/0.8663, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.03822/0.03822, allocations: 10.66 MB / 249 MB, free: 4.305 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 320.7 MB, free: 39.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.657e-05, allocations: 2.312 kB / 320.7 MB, free: 39.28 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002972/0.002998, allocations: 1.826 MB / 322.5 MB, free: 37.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004864/0.003485, allocations: 163.5 kB / 322.7 MB, free: 37.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.003633, allocations: 11.88 kB / 322.7 MB, free: 37.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.003801, allocations: 27.73 kB / 322.7 MB, free: 37.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.003982, allocations: 19.8 kB / 322.8 MB, free: 37.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.004108, allocations: 51.94 kB / 322.8 MB, free: 37.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.004283, allocations: 119.6 kB / 322.9 MB, free: 37.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.004432, allocations: 38.83 kB / 323 MB, free: 37.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.004538, allocations: 63.83 kB / 323 MB, free: 36.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.004636, allocations: 35.89 kB / 323.1 MB, free: 36.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.004662, allocations: 8 kB / 323.1 MB, free: 36.92 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.679e-05/0.004679, allocations: 8 kB / 323.1 MB, free: 36.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.004708, allocations: 23.86 kB / 323.1 MB, free: 36.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.004746, allocations: 31.91 kB / 323.1 MB, free: 36.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.004892, allocations: 75.62 kB / 323.2 MB, free: 36.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.004895, allocations: 0 / 323.2 MB, free: 36.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004896, allocations: 4 kB / 323.2 MB, free: 36.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.004901, allocations: 0 / 323.2 MB, free: 36.78 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000445/0.005346, allocations: 450.5 kB / 323.7 MB, free: 36.3 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.005383, allocations: 8.031 kB / 323.7 MB, free: 36.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.005437, allocations: 24.84 kB / 323.7 MB, free: 36.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.005628, allocations: 164.3 kB / 323.9 MB, free: 36.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.005654, allocations: 8.562 kB / 323.9 MB, free: 36.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.005679, allocations: 12.38 kB / 323.9 MB, free: 36.06 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.005881, allocations: 145.8 kB / 324 MB, free: 35.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.005891, allocations: 0 / 324 MB, free: 35.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.005901, allocations: 8 kB / 324 MB, free: 35.88 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.005908, allocations: 0 / 324 MB, free: 35.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.005961, allocations: 29.64 kB / 324 MB, free: 35.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.006344, allocations: 0.6445 MB / 324.7 MB, free: 35.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.006474, allocations: 113.3 kB / 324.8 MB, free: 35.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.0065, allocations: 39 kB / 324.8 MB, free: 34.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.006519, allocations: 3.984 kB / 324.8 MB, free: 34.96 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.006541, allocations: 41.52 kB / 324.9 MB, free: 34.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/0.006543, allocations: 0 / 324.9 MB, free: 34.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001481/0.006691, allocations: 73.52 kB / 325 MB, free: 34.83 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.006715, allocations: 114.8 kB / 325.1 MB, free: 34.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.006784, allocations: 205.8 kB / 325.3 MB, free: 34.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.006792, allocations: 25.95 kB / 325.3 MB, free: 34.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.006833, allocations: 174.6 kB / 325.5 MB, free: 34.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.006848, allocations: 27.73 kB / 325.5 MB, free: 34.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.006878, allocations: 35.36 kB / 325.5 MB, free: 34.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.006919, allocations: 0.4923 MB / 326 MB, free: 33.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.006933, allocations: 7.984 kB / 326 MB, free: 33.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.006977, allocations: 133.6 kB / 326.2 MB, free: 33.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.18e-05/0.007029, allocations: 88.52 kB / 326.2 MB, free: 33.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007031, allocations: 0 / 326.2 MB, free: 33.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.423e-05/0.007115, allocations: 93.5 kB / 326.3 MB, free: 33.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.007126, allocations: 4 kB / 326.3 MB, free: 33.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.007132, allocations: 7.938 kB / 326.3 MB, free: 33.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.007141, allocations: 0 / 326.3 MB, free: 33.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.007217, allocations: 27.97 kB / 326.4 MB, free: 33.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.00722, allocations: 4.156 kB / 326.4 MB, free: 33.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.007257, allocations: 7.953 kB / 326.4 MB, free: 33.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.007265, allocations: 4 kB / 326.4 MB, free: 33.25 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.007315, allocations: 168.5 kB / 326.6 MB, free: 33.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.007337, allocations: 11.95 kB / 326.6 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.007359, allocations: 20.41 kB / 326.6 MB, free: 33.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007361, allocations: 0 / 326.6 MB, free: 33.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.007363, allocations: 0 / 326.6 MB, free: 33.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.007367, allocations: 4.812 kB / 326.6 MB, free: 33.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.565e-05/0.007463, allocations: 129.1 kB / 326.7 MB, free: 32.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007465, allocations: 8 kB / 326.7 MB, free: 32.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.007511, allocations: 11.98 kB / 326.7 MB, free: 32.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.007513, allocations: 4 kB / 326.7 MB, free: 32.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.007521, allocations: 0 / 326.7 MB, free: 32.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.007522, allocations: 4.25 kB / 326.7 MB, free: 32.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.007524, allocations: 7.938 kB / 326.8 MB, free: 32.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.007643, allocations: 247.2 kB / 327 MB, free: 32.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.007656, allocations: 11.94 kB / 327 MB, free: 32.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.007667, allocations: 0 / 327 MB, free: 32.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.007763, allocations: 8 kB / 327 MB, free: 32.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.007793, allocations: 11.95 kB / 327 MB, free: 32.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.007797, allocations: 4 kB / 327 MB, free: 32.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.308e-05/0.00783, allocations: 150.6 kB / 327.2 MB, free: 32.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.00783, allocations: 3.938 kB / 327.2 MB, free: 32.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.007991, allocations: 15.95 kB / 327.2 MB, free: 32.39 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.116e-05/0.008052, allocations: 95.25 kB / 327.3 MB, free: 32.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.291e-05/0.008145, allocations: 47.58 kB / 327.3 MB, free: 32.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008146, allocations: 320 / 327.3 MB, free: 32.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.3e-05/0.008169, allocations: 31.62 kB / 327.4 MB, free: 32.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.008377, allocations: 27.08 kB / 327.4 MB, free: 32.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.008691, allocations: 253.8 kB / 327.6 MB, free: 31.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.355e-05/0.008725, allocations: 64.03 kB / 327.7 MB, free: 31.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.008767, allocations: 12.61 kB / 327.7 MB, free: 31.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.008824, allocations: 90.14 kB / 327.8 MB, free: 31.71 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.008825, allocations: 0 / 327.8 MB, free: 31.71 MB / 282.7 MB Notification: Performance of Templates: time 0.00256/0.01139, allocations: 1.211 MB / 329 MB, free: 30.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7998033086769283]