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.0007338/0.0007338, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.00072/0.00072, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8076/0.8076, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.04338/0.04338, allocations: 12.52 MB / 271.7 MB, free: 1.133 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.663e-06/1.663e-06, allocations: 3.938 kB / 405.2 MB, free: 6.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.337e-05, allocations: 2.281 kB / 405.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.001989/0.002012, allocations: 1.784 MB / 407 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002834/0.002295, allocations: 159.5 kB / 407.1 MB, free: 4.832 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.002374, allocations: 7.938 kB / 407.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.002491, allocations: 27.72 kB / 407.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.002615, allocations: 23.8 kB / 407.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.887e-05/0.002684, allocations: 35.97 kB / 407.2 MB, free: 4.738 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.002808, allocations: 131.6 kB / 407.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.00292, allocations: 33.52 kB / 407.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/0.002988, allocations: 71.75 kB / 407.5 MB, free: 4.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.003e-05/0.003058, allocations: 27.91 kB / 407.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.00308, allocations: 8 kB / 407.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.00309, allocations: 8 kB / 407.5 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.003113, allocations: 23.91 kB / 407.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.003141, allocations: 31.86 kB / 407.6 MB, free: 4.402 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.003266, allocations: 107.6 kB / 407.7 MB, free: 4.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003268, allocations: 4 kB / 407.7 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.003269, allocations: 0 / 407.7 MB, free: 4.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.625e-06/0.003272, allocations: 0 / 407.7 MB, free: 4.293 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.0003676/0.003639, allocations: 341.9 kB / 408 MB, free: 3.926 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.00367, allocations: 12.03 kB / 408 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.003702, allocations: 12.84 kB / 408 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.003886, allocations: 165.5 kB / 408.2 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.0039, allocations: 8.562 kB / 408.2 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.003922, allocations: 12.38 kB / 408.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.004088, allocations: 138.9 kB / 408.3 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.004095, allocations: 0 / 408.3 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004106, allocations: 4 kB / 408.3 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.00411, allocations: 0 / 408.3 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.004219, allocations: 63.91 kB / 408.4 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.004641, allocations: 0.5286 MB / 408.9 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.004816, allocations: 111.9 kB / 409 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.00487, allocations: 42.67 kB / 409.1 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.004883, allocations: 0 / 409.1 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.004902, allocations: 42.5 kB / 409.1 MB, free: 2.656 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.004903, allocations: 0 / 409.1 MB, free: 2.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002236/0.005127, allocations: 117.7 kB / 409.2 MB, free: 2.535 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.005164, allocations: 106.8 kB / 409.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/0.005251, allocations: 153.7 kB / 409.5 MB, free: 2.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.005263, allocations: 29.7 kB / 409.5 MB, free: 2.215 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.005318, allocations: 119.9 kB / 409.6 MB, free: 2.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.005335, allocations: 27.78 kB / 409.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.005367, allocations: 25.67 kB / 409.7 MB, free: 2.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.005438, allocations: 326.8 kB / 410 MB, free: 1.707 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.005483, allocations: 23.98 kB / 410 MB, free: 1.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/0.005553, allocations: 99.67 kB / 410.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.005659, allocations: 97.31 kB / 410.2 MB, free: 1.445 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005661, allocations: 0 / 410.2 MB, free: 1.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001395/0.0058, allocations: 129.5 kB / 410.4 MB, free: 1.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.005811, allocations: 7.938 kB / 410.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.005815, allocations: 0 / 410.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.005825, allocations: 4 kB / 410.4 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.0059, allocations: 23.98 kB / 410.4 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.005904, allocations: 0 / 410.4 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.005946, allocations: 23.81 kB / 410.4 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.005954, allocations: 4 kB / 410.4 MB, free: 1.25 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.13e-05/0.006016, allocations: 125.9 kB / 410.5 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.006033, allocations: 11.89 kB / 410.5 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.006056, allocations: 16.47 kB / 410.6 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.006058, allocations: 4 kB / 410.6 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.006064, allocations: 3.984 kB / 410.6 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.006066, allocations: 0 / 410.6 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.006176, allocations: 141.3 kB / 410.7 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006177, allocations: 0 / 410.7 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.006231, allocations: 19.92 kB / 410.7 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006233, allocations: 4 kB / 410.7 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.006241, allocations: 3.938 kB / 410.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.006243, allocations: 7.938 kB / 410.7 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006245, allocations: 4 kB / 410.7 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.006454, allocations: 225.1 kB / 411 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.006466, allocations: 11.98 kB / 411 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.006477, allocations: 3.938 kB / 411 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.006521, allocations: 7.984 kB / 411 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.006553, allocations: 11.92 kB / 411 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006556, allocations: 64 / 411 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.006605, allocations: 115.3 kB / 411.1 MB, free: 500 kB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006605, allocations: 3.938 kB / 411.1 MB, free: 496 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.006763, allocations: 19.94 kB / 411.1 MB, free: 476 kB / 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 6.409e-05/0.006827, allocations: 99.77 kB / 411.2 MB, free: 368 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.006963, allocations: 63.97 kB / 411.3 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006964, allocations: 0 / 411.3 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.007013, allocations: 36.23 kB / 411.3 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.007216, allocations: 19.98 kB / 411.4 MB, free: 248 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1105/0.1177, allocations: 240.9 kB / 411.6 MB, free: 22.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.442e-05/0.1177, allocations: 90.53 kB / 411.7 MB, free: 22.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.948e-05/0.1178, allocations: 17.05 kB / 411.7 MB, free: 22.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.1178, allocations: 13 kB / 411.7 MB, free: 22.65 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1178, allocations: 1.188 kB / 411.7 MB, free: 22.65 MB / 330.7 MB Notification: Performance of Templates: time 0.002623/0.1205, allocations: 1.018 MB / 412.7 MB, free: 22.6 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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.diff",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.4363177930936217]