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.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.001358/0.001358, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001296/0.001296, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9615/0.9615, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04952/0.04952, allocations: 12.94 MB / 272.9 MB, free: 0.5273 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_dev_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_dev_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 349.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.548e-05, allocations: 2.312 kB / 349.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003661/0.003697, allocations: 1.842 MB / 351.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005306/0.004228, allocations: 167.5 kB / 351.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.004353, allocations: 7.938 kB / 351.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.004517, allocations: 27.73 kB / 351.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.004697, allocations: 19.8 kB / 351.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.004833, allocations: 43.97 kB / 351.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.00503, allocations: 123.6 kB / 351.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.005188, allocations: 41.5 kB / 351.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.005303, allocations: 67.81 kB / 351.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.005411, allocations: 27.91 kB / 351.8 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.005439, allocations: 8 kB / 351.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.064e-05/0.00546, allocations: 12 kB / 351.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.005495, allocations: 19.91 kB / 351.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.692e-05/0.005542, allocations: 31.86 kB / 351.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.00575, allocations: 75.61 kB / 351.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.005755, allocations: 4 kB / 351.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.005757, allocations: 0 / 351.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.005763, allocations: 0 / 351.9 MB, free: 12.68 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.0006663/0.006429, allocations: 448.2 kB / 352.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.006478, allocations: 12.03 kB / 352.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.006556, allocations: 20.84 kB / 352.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.006854, allocations: 163 kB / 352.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.006883, allocations: 8.562 kB / 352.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.006924, allocations: 12.38 kB / 352.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.00722, allocations: 152.9 kB / 352.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.00723, allocations: 4 kB / 352.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.007245, allocations: 4 kB / 352.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.007257, allocations: 4 kB / 352.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.007365, allocations: 35.91 kB / 352.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008235/0.008188, allocations: 0.6599 MB / 353.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.008453, allocations: 113.3 kB / 353.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.008518, allocations: 39.23 kB / 353.6 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.008542, allocations: 4 kB / 353.6 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.008578, allocations: 45.31 kB / 353.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.635e-06/0.008581, allocations: 0 / 353.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002789/0.00886, allocations: 89.67 kB / 353.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.008914, allocations: 106.8 kB / 353.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.009074, allocations: 199.7 kB / 354 MB, free: 10.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.009095, allocations: 37.95 kB / 354.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.009191, allocations: 166.6 kB / 354.2 MB, free: 10.13 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.009218, allocations: 27.75 kB / 354.3 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.009273, allocations: 31.36 kB / 354.3 MB, free: 10.06 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.009425, allocations: 0.4923 MB / 354.8 MB, free: 9.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.389e-05/0.009469, allocations: 8.062 kB / 354.8 MB, free: 9.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.794e-05/0.009567, allocations: 103.5 kB / 354.9 MB, free: 9.414 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.009683, allocations: 90.02 kB / 355 MB, free: 9.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.009685, allocations: 0 / 355 MB, free: 9.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001762/0.009862, allocations: 93.52 kB / 355.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.009882, allocations: 7.938 kB / 355.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.009889, allocations: 4 kB / 355.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.009908, allocations: 0 / 355.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.01005, allocations: 28.12 kB / 355.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01006, allocations: 7.938 kB / 355.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.01013, allocations: 15.89 kB / 355.1 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.01014, allocations: 4 kB / 355.1 MB, free: 9.137 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 0.0001026/0.01025, allocations: 160.6 kB / 355.3 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.01029, allocations: 15.89 kB / 355.3 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.01033, allocations: 16.45 kB / 355.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01033, allocations: 0 / 355.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01033, allocations: 0 / 355.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01034, allocations: 4 kB / 355.3 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.01054, allocations: 140.6 kB / 355.5 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01054, allocations: 4 kB / 355.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.01065, allocations: 23.92 kB / 355.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.01066, allocations: 4 kB / 355.5 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01067, allocations: 3.938 kB / 355.5 MB, free: 8.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.01067, allocations: 0 / 355.5 MB, free: 8.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.01068, allocations: 4.062 kB / 355.5 MB, free: 8.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.01094, allocations: 251.2 kB / 355.7 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.01097, allocations: 15.83 kB / 355.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.01099, allocations: 3.938 kB / 355.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.01108, allocations: 15.95 kB / 355.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.01113, allocations: 11.98 kB / 355.8 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.01114, allocations: 0 / 355.8 MB, free: 8.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.538e-05/0.01122, allocations: 145.4 kB / 355.9 MB, free: 8.266 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01122, allocations: 4 kB / 355.9 MB, free: 8.262 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002905/0.01152, allocations: 16 kB / 356 MB, free: 8.246 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 0.0001128/0.01163, allocations: 95.45 kB / 356 MB, free: 8.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.01179, allocations: 51.86 kB / 356.1 MB, free: 8.086 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01179, allocations: 4 kB / 356.1 MB, free: 8.082 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.473e-05/0.01184, allocations: 27.61 kB / 356.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.01221, allocations: 29.23 kB / 356.2 MB, free: 8.023 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006766/0.01288, allocations: 245.8 kB / 356.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.596e-05/0.01294, allocations: 63.34 kB / 356.5 MB, free: 7.664 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.589e-05/0.013, allocations: 16.61 kB / 356.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.01305, allocations: 16.5 kB / 356.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of SimCode: time 1.412e-06/0.01305, allocations: 0 / 356.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of Templates: time 0.004227/0.01728, allocations: 1.03 MB / 357.5 MB, free: 6.625 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_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.9349646223708987]