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.00138/0.00138, allocations: 81.08 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.001553/0.001553, allocations: 169 kB / 23.27 MB, free: 1.223 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.8819/0.8819, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.04814/0.04814, allocations: 13 MB / 273.3 MB, free: 304 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 1.212e-06/1.212e-06, allocations: 0 / 350 MB, free: 16 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.79e-05, allocations: 6.25 kB / 350 MB, free: 8 kB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.001919/0.001937, allocations: 1.83 MB / 351.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002778/0.002215, allocations: 163.5 kB / 352 MB, free: 14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.002296, allocations: 3.938 kB / 352 MB, free: 14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.002422, allocations: 23.73 kB / 352 MB, free: 13.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.00253, allocations: 23.8 kB / 352 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.371e-05/0.002594, allocations: 43.89 kB / 352.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.002707, allocations: 127.6 kB / 352.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.002805, allocations: 33.53 kB / 352.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.074e-05/0.002876, allocations: 71.81 kB / 352.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.002942, allocations: 23.91 kB / 352.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.00296, allocations: 12 kB / 352.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.002972, allocations: 8 kB / 352.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.002994, allocations: 23.84 kB / 352.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.003023, allocations: 31.92 kB / 352.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.003123, allocations: 71.67 kB / 352.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003125, allocations: 7.938 kB / 352.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003126, allocations: 0 / 352.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003129, allocations: 0 / 352.5 MB, free: 13.5 MB / 330.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.000352/0.003481, allocations: 448.2 kB / 352.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.00351, allocations: 8.031 kB / 352.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.003541, allocations: 24.84 kB / 352.9 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.003683, allocations: 174.9 kB / 353.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.003699, allocations: 8.562 kB / 353.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.003718, allocations: 12.38 kB / 353.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.003852, allocations: 133.8 kB / 353.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.003859, allocations: 11.94 kB / 353.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.003867, allocations: 4 kB / 353.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.003872, allocations: 4 kB / 353.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.652e-05/0.003909, allocations: 23.92 kB / 353.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.004295, allocations: 0.6449 MB / 353.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.004424, allocations: 109.2 kB / 354 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.004452, allocations: 35.19 kB / 354.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.004467, allocations: 7.984 kB / 354.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.004487, allocations: 45.44 kB / 354.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.004488, allocations: 0 / 354.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001289/0.004617, allocations: 77.52 kB / 354.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.004651, allocations: 110.8 kB / 354.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/0.004737, allocations: 209.6 kB / 354.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.004747, allocations: 25.7 kB / 354.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.004806, allocations: 170.6 kB / 354.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.004819, allocations: 24.05 kB / 354.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.00485, allocations: 35.36 kB / 354.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.00495, allocations: 0.4962 MB / 355.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.004965, allocations: 11.92 kB / 355.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.005022, allocations: 132.9 kB / 355.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.515e-05/0.005077, allocations: 74.06 kB / 355.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005079, allocations: 4.031 kB / 355.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.212e-05/0.005161, allocations: 93.5 kB / 355.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.00517, allocations: 8 kB / 355.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.005174, allocations: 3.938 kB / 355.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.005183, allocations: 0 / 355.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.00525, allocations: 27.92 kB / 355.6 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.005253, allocations: 320 / 355.6 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.005288, allocations: 15.89 kB / 355.6 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.005293, allocations: 8.156 kB / 355.6 MB, free: 9.961 MB / 330.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 6.148e-05/0.005355, allocations: 160.6 kB / 355.8 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.005373, allocations: 15.89 kB / 355.8 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.005395, allocations: 24.39 kB / 355.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.005396, allocations: 0 / 355.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005398, allocations: 0 / 355.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.0054, allocations: 4 kB / 355.8 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.0055, allocations: 125.2 kB / 356 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.005501, allocations: 0 / 356 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.005543, allocations: 12 kB / 356 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.005544, allocations: 4 kB / 356 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.005551, allocations: 7.922 kB / 356 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.005553, allocations: 4 kB / 356 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.005555, allocations: 3.938 kB / 356 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.005739, allocations: 243.1 kB / 356.2 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.005757, allocations: 15.88 kB / 356.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.005771, allocations: 0 / 356.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.005839, allocations: 8 kB / 356.3 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.005866, allocations: 11.92 kB / 356.3 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.005869, allocations: 0 / 356.3 MB, free: 9.273 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.753e-05/0.005916, allocations: 155.2 kB / 356.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005916, allocations: 0 / 356.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.006063, allocations: 15.95 kB / 356.4 MB, free: 9.105 MB / 330.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.707e-05/0.00612, allocations: 95.25 kB / 356.5 MB, free: 9.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.292e-05/0.006203, allocations: 47.53 kB / 356.6 MB, free: 8.953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.006204, allocations: 0 / 356.6 MB, free: 8.953 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.208e-05/0.006226, allocations: 27.98 kB / 356.6 MB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.006414, allocations: 32.52 kB / 356.6 MB, free: 8.895 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.006702, allocations: 245.9 kB / 356.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.292e-05/0.006735, allocations: 67.33 kB / 356.9 MB, free: 8.531 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.517e-05/0.00677, allocations: 12.75 kB / 357 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.006827, allocations: 90.19 kB / 357 MB, free: 8.43 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.006828, allocations: 0 / 357 MB, free: 8.43 MB / 330.7 MB Notification: Performance of Templates: time 0.002459/0.009286, allocations: 1.151 MB / 358.2 MB, free: 7.301 MB / 330.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.4889257880859077]