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.0009254/0.0009254, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001541/0.001541, allocations: 177 kB / 23.36 MB, free: 1.133 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.9149/0.9149, allocations: 177.2 MB / 203.8 MB, free: 5.5 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.04935/0.04935, allocations: 13.11 MB / 273.4 MB, free: 248 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.635e-06/2.635e-06, allocations: 0.75 kB / 296.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.529e-05, allocations: 5.281 kB / 296.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003332/0.003357, allocations: 1.867 MB / 298.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000474/0.003831, allocations: 170.8 kB / 299 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.003951, allocations: 9.656 kB / 299 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.004101, allocations: 21.2 kB / 299 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.004243, allocations: 26.98 kB / 299 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.004355, allocations: 44.48 kB / 299.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.004517, allocations: 122.7 kB / 299.2 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.004642, allocations: 45.23 kB / 299.2 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.423e-05/0.004736, allocations: 66.05 kB / 299.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.482e-05/0.004831, allocations: 32.89 kB / 299.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.004854, allocations: 7.531 kB / 299.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.6e-05/0.00487, allocations: 9.344 kB / 299.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.0049, allocations: 21.89 kB / 299.4 MB, free: 9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.004936, allocations: 34.09 kB / 299.4 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.005066, allocations: 79.89 kB / 299.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005069, allocations: 2.094 kB / 299.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.00507, allocations: 0 / 299.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005074, allocations: 0 / 299.5 MB, free: 8.934 MB / 266.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.0003654/0.005439, allocations: 320.2 kB / 299.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.005468, allocations: 9.625 kB / 299.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.005506, allocations: 16.06 kB / 299.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.00565, allocations: 157.8 kB / 300 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.005667, allocations: 10.72 kB / 300 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.005686, allocations: 11.47 kB / 300 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.005827, allocations: 129.4 kB / 300.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005835, allocations: 0.5 kB / 300.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.005845, allocations: 8.719 kB / 300.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.00585, allocations: 1.438 kB / 300.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.214e-05/0.005893, allocations: 31.03 kB / 300.2 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.006245, allocations: 451.6 kB / 300.6 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.006375, allocations: 88.33 kB / 300.7 MB, free: 7.883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.006401, allocations: 24.39 kB / 300.7 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.006414, allocations: 6.125 kB / 300.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.006432, allocations: 34.94 kB / 300.7 MB, free: 7.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.006433, allocations: 0 / 300.7 MB, free: 7.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001412/0.006575, allocations: 76.92 kB / 300.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.006597, allocations: 104.9 kB / 300.9 MB, free: 7.645 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.006671, allocations: 147.7 kB / 301.1 MB, free: 7.523 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.00668, allocations: 31.52 kB / 301.1 MB, free: 7.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.006717, allocations: 111.7 kB / 301.2 MB, free: 7.387 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.006732, allocations: 29.47 kB / 301.2 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.006763, allocations: 28.59 kB / 301.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.439e-05/0.006797, allocations: 323.7 kB / 301.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.006814, allocations: 6.594 kB / 301.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.533e-05/0.00686, allocations: 111 kB / 301.7 MB, free: 6.891 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.192e-05/0.006922, allocations: 76.27 kB / 301.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006924, allocations: 0 / 301.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.688e-05/0.00701, allocations: 79.83 kB / 301.8 MB, free: 6.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.007023, allocations: 5.5 kB / 301.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.007027, allocations: 1.375 kB / 301.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.007042, allocations: 6.016 kB / 301.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.007168, allocations: 34.02 kB / 301.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.007173, allocations: 3.312 kB / 301.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.00721, allocations: 5.391 kB / 301.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.007218, allocations: 9.328 kB / 301.9 MB, free: 6.77 MB / 266.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 4.66e-05/0.007265, allocations: 118.7 kB / 302 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.007287, allocations: 11.23 kB / 302 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.007309, allocations: 18.64 kB / 302.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.007312, allocations: 1.375 kB / 302.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.007315, allocations: 0 / 302.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007318, allocations: 1.891 kB / 302.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.881e-05/0.007417, allocations: 97.94 kB / 302.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.007418, allocations: 1.375 kB / 302.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.007471, allocations: 18.56 kB / 302.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007473, allocations: 5.359 kB / 302.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.00748, allocations: 1.375 kB / 302.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.007482, allocations: 5.922 kB / 302.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.007484, allocations: 5.312 kB / 302.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.0076, allocations: 171.8 kB / 302.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.007613, allocations: 7.922 kB / 302.4 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.007624, allocations: 6.781 kB / 302.4 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.007663, allocations: 2.641 kB / 302.4 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.007695, allocations: 15.58 kB / 302.4 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.007699, allocations: 2.188 kB / 302.4 MB, free: 6.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.007728, allocations: 36.3 kB / 302.4 MB, free: 6.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007728, allocations: 0 / 302.4 MB, free: 6.348 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001405/0.007868, allocations: 25.19 kB / 302.5 MB, free: 6.336 MB / 266.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.902e-05/0.007927, allocations: 75.88 kB / 302.5 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.356e-05/0.008011, allocations: 45.31 kB / 302.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.008015, allocations: 2.156 kB / 302.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.736e-05/0.008042, allocations: 22.06 kB / 302.6 MB, free: 6.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.008204, allocations: 27.12 kB / 302.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.00851, allocations: 240.5 kB / 302.9 MB, free: 6.031 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.00854, allocations: 65.8 kB / 302.9 MB, free: 5.961 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.008586, allocations: 15.92 kB / 302.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.008642, allocations: 68.05 kB / 303 MB, free: 5.902 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008642, allocations: 1.094 kB / 303 MB, free: 5.902 MB / 266.7 MB Notification: Performance of Templates: time 0.002908/0.01155, allocations: 1.161 MB / 304.2 MB, free: 5.742 MB / 266.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 -s gbode -gbm=radauIIA3 -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.5491900658234954]