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.001068/0.001068, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001161/0.001161, allocations: 173.7 kB / 23.28 MB, free: 1.219 MB / 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.8829/0.8829, allocations: 158.6 MB / 185.2 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.03958/0.03958, allocations: 10.66 MB / 248.2 MB, free: 4.281 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 2.766e-06/2.766e-06, allocations: 0 / 319.9 MB, free: 39.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/2.096e-05, allocations: 7.406 kB / 319.9 MB, free: 39.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002088/0.002109, allocations: 1.819 MB / 321.8 MB, free: 37.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003726/0.002481, allocations: 163.5 kB / 321.9 MB, free: 37.28 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.563e-05/0.002577, allocations: 7.938 kB / 321.9 MB, free: 37.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.002705, allocations: 31.67 kB / 322 MB, free: 37.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.002824, allocations: 23.84 kB / 322 MB, free: 37.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.202e-05/0.002906, allocations: 43.89 kB / 322 MB, free: 37.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003014, allocations: 123.6 kB / 322.1 MB, free: 37.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.003134, allocations: 38.84 kB / 322.2 MB, free: 37.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.003205, allocations: 67.81 kB / 322.2 MB, free: 36.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.00328, allocations: 31.89 kB / 322.3 MB, free: 36.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.003301, allocations: 8 kB / 322.3 MB, free: 36.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.003312, allocations: 16 kB / 322.3 MB, free: 36.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.003332, allocations: 19.86 kB / 322.3 MB, free: 36.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.003357, allocations: 27.92 kB / 322.3 MB, free: 36.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.003467, allocations: 79.61 kB / 322.4 MB, free: 36.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003469, allocations: 0 / 322.4 MB, free: 36.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00347, allocations: 0 / 322.4 MB, free: 36.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003474, allocations: 0 / 322.4 MB, free: 36.77 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.0003449/0.003818, allocations: 450.7 kB / 322.9 MB, free: 36.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.003853, allocations: 12.03 kB / 322.9 MB, free: 36.28 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.003884, allocations: 20.84 kB / 322.9 MB, free: 36.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.004014, allocations: 168.4 kB / 323.1 MB, free: 36.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.00403, allocations: 8.562 kB / 323.1 MB, free: 36.06 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.004054, allocations: 8.375 kB / 323.1 MB, free: 36.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.004191, allocations: 145.8 kB / 323.2 MB, free: 35.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.004198, allocations: 0 / 323.2 MB, free: 35.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.004206, allocations: 0 / 323.2 MB, free: 35.88 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.004212, allocations: 4 kB / 323.2 MB, free: 35.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.808e-05/0.00425, allocations: 37.78 kB / 323.3 MB, free: 35.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.004597, allocations: 0.6445 MB / 323.9 MB, free: 35.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.004731, allocations: 110.2 kB / 324 MB, free: 35.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.004757, allocations: 35.17 kB / 324 MB, free: 34.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.004774, allocations: 7.938 kB / 324.1 MB, free: 34.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.00479, allocations: 37.39 kB / 324.1 MB, free: 34.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.004791, allocations: 4 kB / 324.1 MB, free: 34.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001513/0.004942, allocations: 81.69 kB / 324.2 MB, free: 34.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.004966, allocations: 110.8 kB / 324.3 MB, free: 34.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.005046, allocations: 209.8 kB / 324.5 MB, free: 34.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.005056, allocations: 25.7 kB / 324.5 MB, free: 34.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.005103, allocations: 166.6 kB / 324.7 MB, free: 34.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.005117, allocations: 31.73 kB / 324.7 MB, free: 34.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.00515, allocations: 31.36 kB / 324.7 MB, free: 34.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.005199, allocations: 0.4923 MB / 325.2 MB, free: 33.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.005212, allocations: 8.312 kB / 325.2 MB, free: 33.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.005265, allocations: 142.3 kB / 325.4 MB, free: 33.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.005325, allocations: 78.03 kB / 325.5 MB, free: 33.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005327, allocations: 0 / 325.5 MB, free: 33.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.534e-05/0.005412, allocations: 93.61 kB / 325.5 MB, free: 33.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.005423, allocations: 8 kB / 325.6 MB, free: 33.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.005429, allocations: 3.938 kB / 325.6 MB, free: 33.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.005443, allocations: 4 kB / 325.6 MB, free: 33.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.005514, allocations: 23.98 kB / 325.6 MB, free: 33.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.005519, allocations: 4 kB / 325.6 MB, free: 33.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.005555, allocations: 11.94 kB / 325.6 MB, free: 33.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.005562, allocations: 4 kB / 325.6 MB, free: 33.24 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.215e-05/0.005614, allocations: 164.5 kB / 325.8 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.005636, allocations: 11.94 kB / 325.8 MB, free: 33.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.005663, allocations: 28.38 kB / 325.8 MB, free: 33.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.005666, allocations: 4 kB / 325.8 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.005669, allocations: 3.984 kB / 325.8 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005672, allocations: 0 / 325.8 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.992e-05/0.005772, allocations: 125.2 kB / 325.9 MB, free: 32.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.005773, allocations: 0 / 325.9 MB, free: 32.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.005818, allocations: 15.98 kB / 325.9 MB, free: 32.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005819, allocations: 0 / 325.9 MB, free: 32.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.005826, allocations: 4 kB / 326 MB, free: 32.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.005827, allocations: 0 / 326 MB, free: 32.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.005829, allocations: 8 kB / 326 MB, free: 32.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.005951, allocations: 255.1 kB / 326.2 MB, free: 32.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.005962, allocations: 7.953 kB / 326.2 MB, free: 32.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.005972, allocations: 4 kB / 326.2 MB, free: 32.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.00601, allocations: 0 / 326.2 MB, free: 32.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.006042, allocations: 15.92 kB / 326.2 MB, free: 32.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.006045, allocations: 0 / 326.2 MB, free: 32.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.923e-05/0.006074, allocations: 150.6 kB / 326.4 MB, free: 32.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006074, allocations: 0 / 326.4 MB, free: 32.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001502/0.006224, allocations: 23.95 kB / 326.4 MB, free: 32.38 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 5.355e-05/0.006278, allocations: 99.22 kB / 326.5 MB, free: 32.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.976e-05/0.006358, allocations: 47.59 kB / 326.6 MB, free: 32.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.006359, allocations: 0 / 326.6 MB, free: 32.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.00638, allocations: 23.62 kB / 326.6 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.0001999/0.00658, allocations: 29.98 kB / 326.6 MB, free: 32.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.006859, allocations: 254.2 kB / 326.9 MB, free: 31.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.057e-05/0.006889, allocations: 64.03 kB / 326.9 MB, free: 31.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.006927, allocations: 12.48 kB / 326.9 MB, free: 31.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.00698, allocations: 82.2 kB / 327 MB, free: 31.7 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.00698, allocations: 4 kB / 327 MB, free: 31.7 MB / 282.7 MB Notification: Performance of Templates: time 0.002646/0.009626, allocations: 1.195 MB / 328.2 MB, free: 30.53 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.7647513961419463]