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.000912/0.000912, allocations: 93.06 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.001001/0.001001, allocations: 169 kB / 23.02 MB, free: 1.547 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.9224/0.9224, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.06488/0.06488, allocations: 12.97 MB / 272.9 MB, free: 492 kB / 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.415e-06/2.415e-06, allocations: 0 / 349.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.819e-05, allocations: 2.312 kB / 349.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003421/0.003449, allocations: 1.836 MB / 351.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004723/0.003921, allocations: 163.5 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.00404, allocations: 3.938 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.004216, allocations: 31.73 kB / 351.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.004397, allocations: 23.8 kB / 351.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.004515, allocations: 43.88 kB / 351.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.004714, allocations: 123.6 kB / 351.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.004861, allocations: 37.5 kB / 351.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.004975, allocations: 67.83 kB / 351.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.005077, allocations: 35.88 kB / 351.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.005109, allocations: 12 kB / 351.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.005126, allocations: 12 kB / 351.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.005154, allocations: 11.94 kB / 351.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.005197, allocations: 35.84 kB / 351.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.005361, allocations: 71.67 kB / 352 MB, free: 12.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.005365, allocations: 7.938 kB / 352 MB, free: 12.6 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005365, allocations: 0 / 352 MB, free: 12.6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.00537, allocations: 0 / 352 MB, free: 12.6 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.000573/0.005943, allocations: 440.3 kB / 352.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.005985, allocations: 8.031 kB / 352.4 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/0.006055, allocations: 32.83 kB / 352.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.006289, allocations: 164.4 kB / 352.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.006314, allocations: 8.562 kB / 352.6 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.006348, allocations: 12.38 kB / 352.6 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.006606, allocations: 145.7 kB / 352.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.006618, allocations: 3.938 kB / 352.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.006636, allocations: 8 kB / 352.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.006646, allocations: 0 / 352.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.006871, allocations: 41.16 kB / 352.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.007638, allocations: 0.6639 MB / 353.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.007886, allocations: 113.4 kB / 353.6 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.007946, allocations: 39.11 kB / 353.7 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.007961, allocations: 0 / 353.7 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.00799, allocations: 45.27 kB / 353.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.007991, allocations: 0 / 353.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002507/0.008242, allocations: 81.77 kB / 353.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.00829, allocations: 106.8 kB / 353.9 MB, free: 10.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.008443, allocations: 204.3 kB / 354.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.008458, allocations: 25.7 kB / 354.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.008545, allocations: 174.6 kB / 354.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.008571, allocations: 23.81 kB / 354.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.008624, allocations: 39.3 kB / 354.3 MB, free: 9.977 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.008756, allocations: 0.4884 MB / 354.8 MB, free: 9.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.008796, allocations: 12.23 kB / 354.8 MB, free: 9.465 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.008896, allocations: 148.8 kB / 355 MB, free: 9.273 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.009, allocations: 74.06 kB / 355.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.009003, allocations: 4 kB / 355.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001646/0.009167, allocations: 93.66 kB / 355.2 MB, free: 9.074 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.009187, allocations: 15.97 kB / 355.2 MB, free: 9.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.009193, allocations: 0 / 355.2 MB, free: 9.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.009208, allocations: 4 kB / 355.2 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.009335, allocations: 23.92 kB / 355.2 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.009345, allocations: 4 kB / 355.2 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.009412, allocations: 19.88 kB / 355.2 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.009424, allocations: 4 kB / 355.2 MB, free: 9.004 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 8.541e-05/0.00951, allocations: 160.6 kB / 355.4 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.009547, allocations: 15.83 kB / 355.4 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.009574, allocations: 20.47 kB / 355.4 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.009578, allocations: 7.984 kB / 355.4 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.009582, allocations: 0 / 355.4 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.009585, allocations: 0 / 355.4 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.00976, allocations: 148.6 kB / 355.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.009761, allocations: 0 / 355.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.009845, allocations: 15.98 kB / 355.6 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.009847, allocations: 0 / 355.6 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.00986, allocations: 3.938 kB / 355.6 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.009863, allocations: 4 kB / 355.6 MB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.009864, allocations: 64 / 355.6 MB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.01009, allocations: 255.1 kB / 355.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.01011, allocations: 11.89 kB / 355.9 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.01013, allocations: 11.88 kB / 355.9 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.0102, allocations: 4 kB / 355.9 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.01025, allocations: 11.97 kB / 355.9 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.01026, allocations: 4 kB / 355.9 MB, free: 8.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.862e-05/0.01034, allocations: 152.6 kB / 356 MB, free: 8.125 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01034, allocations: 0 / 356 MB, free: 8.125 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.0106, allocations: 12 kB / 356 MB, free: 8.113 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 8.039e-05/0.01068, allocations: 103.3 kB / 356.1 MB, free: 8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.01082, allocations: 51.53 kB / 356.2 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01082, allocations: 0 / 356.2 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/0.01087, allocations: 31.61 kB / 356.2 MB, free: 7.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.01118, allocations: 23.92 kB / 356.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.01165, allocations: 250.3 kB / 356.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.727e-05/0.0117, allocations: 67.34 kB / 356.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.541e-05/0.01175, allocations: 8.484 kB / 356.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.01179, allocations: 16.5 kB / 356.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01179, allocations: 0 / 356.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of Templates: time 0.003892/0.01568, allocations: 1.12 MB / 357.7 MB, free: 6.398 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.7576146898791194]