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.001441/0.001441, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001239/0.001239, allocations: 173 kB / 23.49 MB, free: 1.062 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.9021/0.9021, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.04778/0.04778, allocations: 12.74 MB / 273 MB, free: 0.793 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 1.432e-06/1.432e-06, allocations: 0 / 349.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.177e-05, allocations: 2.312 kB / 349.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.001966/0.001988, allocations: 1.841 MB / 351 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002944/0.002282, allocations: 159.5 kB / 351.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.00237, allocations: 11.88 kB / 351.1 MB, free: 13.87 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.002502, allocations: 19.73 kB / 351.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.002634, allocations: 27.8 kB / 351.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.234e-05/0.002706, allocations: 47.94 kB / 351.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.00284, allocations: 119.6 kB / 351.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.002955, allocations: 37.52 kB / 351.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.514e-05/0.00303, allocations: 71.81 kB / 351.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.003102, allocations: 27.89 kB / 351.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.003123, allocations: 8 kB / 351.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.003136, allocations: 8 kB / 351.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.003159, allocations: 27.86 kB / 351.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.003189, allocations: 27.92 kB / 351.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.003306, allocations: 75.61 kB / 351.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.003308, allocations: 3.984 kB / 351.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003309, allocations: 0 / 351.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.003313, allocations: 0 / 351.6 MB, free: 13.38 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.0004447/0.003758, allocations: 440.3 kB / 352 MB, free: 12.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.00379, allocations: 12.03 kB / 352.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.003837, allocations: 20.84 kB / 352.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.004014, allocations: 175.3 kB / 352.3 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.004033, allocations: 8.562 kB / 352.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.004055, allocations: 12.38 kB / 352.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.004252, allocations: 149.7 kB / 352.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.00426, allocations: 3.984 kB / 352.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.004273, allocations: 4 kB / 352.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.00428, allocations: 0 / 352.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.32e-05/0.004343, allocations: 31.92 kB / 352.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.004811, allocations: 0.6717 MB / 353.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.004972, allocations: 117.4 kB / 353.2 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.005069, allocations: 35.12 kB / 353.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.005082, allocations: 3.984 kB / 353.3 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.005104, allocations: 41.33 kB / 353.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.005105, allocations: 3.938 kB / 353.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002019/0.005307, allocations: 89.61 kB / 353.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.005353, allocations: 102.8 kB / 353.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.005467, allocations: 208.3 kB / 353.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.005479, allocations: 25.7 kB / 353.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.005561, allocations: 174.6 kB / 353.9 MB, free: 10.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.005578, allocations: 23.81 kB / 353.9 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.005612, allocations: 31.38 kB / 354 MB, free: 10.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.005723, allocations: 0.4923 MB / 354.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.005746, allocations: 7.984 kB / 354.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/0.005806, allocations: 99.5 kB / 354.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.348e-05/0.005879, allocations: 86.19 kB / 354.6 MB, free: 9.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005881, allocations: 0 / 354.6 MB, free: 9.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.559e-05/0.005977, allocations: 97.5 kB / 354.7 MB, free: 9.895 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.00599, allocations: 8.094 kB / 354.8 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.005995, allocations: 8 kB / 354.8 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.006009, allocations: 0 / 354.8 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.006087, allocations: 23.98 kB / 354.8 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.006092, allocations: 0 / 354.8 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.006128, allocations: 19.83 kB / 354.8 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.006138, allocations: 7.984 kB / 354.8 MB, free: 9.828 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.000201/0.006339, allocations: 160.6 kB / 355 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.006362, allocations: 15.89 kB / 355 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.006383, allocations: 16.47 kB / 355 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006385, allocations: 4 kB / 355 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.006388, allocations: 0 / 355 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.006392, allocations: 3.984 kB / 355 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.006504, allocations: 144.6 kB / 355.1 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006505, allocations: 0 / 355.1 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.006557, allocations: 20.23 kB / 355.2 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006559, allocations: 0 / 355.2 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.006569, allocations: 15.88 kB / 355.2 MB, free: 9.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.00657, allocations: 0 / 355.2 MB, free: 9.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.006571, allocations: 0 / 355.2 MB, free: 9.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.006727, allocations: 255.2 kB / 355.4 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.00674, allocations: 11.89 kB / 355.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.006754, allocations: 3.938 kB / 355.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.006798, allocations: 8 kB / 355.5 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.006835, allocations: 11.92 kB / 355.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.006839, allocations: 0 / 355.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.333e-05/0.006892, allocations: 152.6 kB / 355.6 MB, free: 8.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006892, allocations: 0 / 355.6 MB, free: 8.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001599/0.007052, allocations: 16 kB / 355.6 MB, free: 8.938 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.931e-05/0.007111, allocations: 95.23 kB / 355.7 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.00722, allocations: 55.62 kB / 355.8 MB, free: 8.773 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.007222, allocations: 0 / 355.8 MB, free: 8.773 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.799e-05/0.007249, allocations: 23.62 kB / 355.8 MB, free: 8.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.007462, allocations: 27.97 kB / 355.8 MB, free: 8.719 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.007815, allocations: 249.9 kB / 356.1 MB, free: 8.438 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.463e-05/0.00785, allocations: 67.72 kB / 356.1 MB, free: 8.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.8e-05/0.007888, allocations: 12.48 kB / 356.2 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.007916, allocations: 16.5 kB / 356.2 MB, free: 8.32 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007917, allocations: 0 / 356.2 MB, free: 8.32 MB / 282.7 MB Notification: Performance of Templates: time 0.002441/0.01036, allocations: 1.034 MB / 357.2 MB, free: 7.309 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.622639306820929]