Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001226/0.001226, allocations: 73.88 kB / 21.44 MB, free: 3.055 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.001029/0.001029, allocations: 170.3 kB / 24.85 MB, free: 9.25 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9548/0.9548, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.03996/0.03996, allocations: 10.65 MB / 249.8 MB, free: 4.289 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 321.5 MB, free: 39.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.529e-05, allocations: 2.312 kB / 321.5 MB, free: 39.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002155/0.00218, allocations: 1.822 MB / 323.3 MB, free: 37.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003038/0.002484, allocations: 163.5 kB / 323.5 MB, free: 37.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.00257, allocations: 7.938 kB / 323.5 MB, free: 37.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.002687, allocations: 23.73 kB / 323.5 MB, free: 37.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.002798, allocations: 31.78 kB / 323.6 MB, free: 37.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.291e-05/0.002861, allocations: 39.95 kB / 323.6 MB, free: 37.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.002962, allocations: 123.6 kB / 323.7 MB, free: 37.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.003065, allocations: 35.94 kB / 323.8 MB, free: 37.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.003125, allocations: 71.81 kB / 323.8 MB, free: 36.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.003195, allocations: 39.83 kB / 323.9 MB, free: 36.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.003213, allocations: 8 kB / 323.9 MB, free: 36.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.003224, allocations: 12 kB / 323.9 MB, free: 36.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.003246, allocations: 23.86 kB / 323.9 MB, free: 36.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.003269, allocations: 23.92 kB / 323.9 MB, free: 36.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003373, allocations: 79.66 kB / 324 MB, free: 36.76 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003376, allocations: 0 / 324 MB, free: 36.76 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003376, allocations: 0 / 324 MB, free: 36.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.00338, allocations: 0 / 324 MB, free: 36.76 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.0003004/0.00368, allocations: 458.6 kB / 324.5 MB, free: 36.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.003709, allocations: 8.031 kB / 324.5 MB, free: 36.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.003742, allocations: 20.84 kB / 324.5 MB, free: 36.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.003862, allocations: 160.4 kB / 324.6 MB, free: 36.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.003876, allocations: 8.5 kB / 324.6 MB, free: 36.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.003894, allocations: 12.38 kB / 324.7 MB, free: 36.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.004015, allocations: 141.8 kB / 324.8 MB, free: 35.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.00402, allocations: 0 / 324.8 MB, free: 35.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.004029, allocations: 4 kB / 324.8 MB, free: 35.87 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.004032, allocations: 0 / 324.8 MB, free: 35.87 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.004069, allocations: 33.62 kB / 324.8 MB, free: 35.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.004386, allocations: 0.6523 MB / 325.5 MB, free: 35.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.004508, allocations: 105.3 kB / 325.6 MB, free: 35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.004532, allocations: 43.17 kB / 325.6 MB, free: 34.95 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.004544, allocations: 0 / 325.6 MB, free: 34.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.004557, allocations: 37.39 kB / 325.7 MB, free: 34.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.004558, allocations: 3.938 kB / 325.7 MB, free: 34.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001314/0.004689, allocations: 85.5 kB / 325.8 MB, free: 34.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.004711, allocations: 106.8 kB / 325.9 MB, free: 34.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.782e-05/0.004769, allocations: 209.8 kB / 326.1 MB, free: 34.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.004776, allocations: 25.7 kB / 326.1 MB, free: 34.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.004816, allocations: 166.6 kB / 326.3 MB, free: 34.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.00483, allocations: 31.73 kB / 326.3 MB, free: 34.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.004859, allocations: 31.36 kB / 326.3 MB, free: 34.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.402e-05/0.004903, allocations: 0.4962 MB / 326.8 MB, free: 33.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.004918, allocations: 4 kB / 326.8 MB, free: 33.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-05/0.004961, allocations: 133.1 kB / 326.9 MB, free: 33.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.194e-05/0.005013, allocations: 88.56 kB / 327 MB, free: 33.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005015, allocations: 4 kB / 327 MB, free: 33.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.786e-05/0.005093, allocations: 85.52 kB / 327.1 MB, free: 33.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.005104, allocations: 8.156 kB / 327.1 MB, free: 33.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005109, allocations: 7.938 kB / 327.1 MB, free: 33.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.005116, allocations: 0 / 327.1 MB, free: 33.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.005188, allocations: 27.92 kB / 327.2 MB, free: 33.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.005191, allocations: 3.984 kB / 327.2 MB, free: 33.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.005227, allocations: 11.95 kB / 327.2 MB, free: 33.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.005233, allocations: 7.984 kB / 327.2 MB, free: 33.23 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 4.426e-05/0.005278, allocations: 160.6 kB / 327.3 MB, free: 33.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.005297, allocations: 15.94 kB / 327.4 MB, free: 33.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.005325, allocations: 16.39 kB / 327.4 MB, free: 33.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005327, allocations: 8 kB / 327.4 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.005329, allocations: 0 / 327.4 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.005332, allocations: 4.812 kB / 327.4 MB, free: 33.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.668e-05/0.005418, allocations: 129.1 kB / 327.5 MB, free: 32.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005419, allocations: 0 / 327.5 MB, free: 32.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.005464, allocations: 19.98 kB / 327.5 MB, free: 32.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005466, allocations: 4 kB / 327.5 MB, free: 32.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.005472, allocations: 0 / 327.5 MB, free: 32.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.005472, allocations: 320 / 327.5 MB, free: 32.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.005475, allocations: 7.938 kB / 327.5 MB, free: 32.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.005975, allocations: 1.504 MB / 329 MB, free: 31.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.005984, allocations: 15.89 kB / 329.1 MB, free: 31.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-06/0.005991, allocations: 0 / 329.1 MB, free: 31.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.006031, allocations: 4 kB / 329.1 MB, free: 31.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.006058, allocations: 7.984 kB / 329.1 MB, free: 31.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.00606, allocations: 0 / 329.1 MB, free: 31.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.955e-05/0.00609, allocations: 154.6 kB / 329.2 MB, free: 31.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.00609, allocations: 8 kB / 329.2 MB, free: 31.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.006314, allocations: 27.89 kB / 329.3 MB, free: 31 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 4.78e-05/0.006362, allocations: 95.25 kB / 329.4 MB, free: 30.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.227e-05/0.006434, allocations: 47.58 kB / 329.4 MB, free: 30.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006436, allocations: 4 kB / 329.4 MB, free: 30.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.006454, allocations: 19.62 kB / 329.4 MB, free: 30.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.006649, allocations: 31.78 kB / 329.5 MB, free: 30.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.006931, allocations: 423.8 kB / 329.9 MB, free: 30.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.283e-05/0.006953, allocations: 68.03 kB / 329.9 MB, free: 30.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.502e-05/0.006988, allocations: 12.42 kB / 329.9 MB, free: 30.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.007039, allocations: 90.19 kB / 330 MB, free: 30.14 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.00704, allocations: 0 / 330 MB, free: 30.14 MB / 282.7 MB Notification: Performance of Templates: time 0.002492/0.009532, allocations: 1.26 MB / 331.3 MB, free: 28.9 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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.8616178608499467]