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.001365/0.001365, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00146/0.00146, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9747/0.9747, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.0499/0.0499, allocations: 12.99 MB / 274 MB, free: 300 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.463e-06/1.463e-06, allocations: 3.938 kB / 350.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.621e-05, allocations: 2.312 kB / 350.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002834/0.00286, allocations: 1.83 MB / 352.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004015/0.003262, allocations: 163.5 kB / 352.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.00337, allocations: 7.938 kB / 352.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.003513, allocations: 27.73 kB / 352.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.003657, allocations: 27.78 kB / 352.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.781e-05/0.003755, allocations: 39.95 kB / 352.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.003907, allocations: 123.6 kB / 353 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.004033, allocations: 37.5 kB / 353 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.004122, allocations: 67.83 kB / 353.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.302e-05/0.004205, allocations: 31.88 kB / 353.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.004228, allocations: 8 kB / 353.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.004244, allocations: 15.94 kB / 353.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.004267, allocations: 15.94 kB / 353.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.00431, allocations: 39.84 kB / 353.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.004442, allocations: 71.67 kB / 353.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.004444, allocations: 0 / 353.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004445, allocations: 0 / 353.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.004448, allocations: 4 kB / 353.3 MB, free: 12.3 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.0004524/0.004901, allocations: 444.2 kB / 353.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.004938, allocations: 12.02 kB / 353.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.00499, allocations: 24.84 kB / 353.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.005209, allocations: 160.4 kB / 353.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.005233, allocations: 12.56 kB / 353.9 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.005258, allocations: 12.31 kB / 353.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.005457, allocations: 141.7 kB / 354.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.005465, allocations: 0 / 354.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.005478, allocations: 8 kB / 354.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.005484, allocations: 0 / 354.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.324e-05/0.005578, allocations: 38.88 kB / 354.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.006123, allocations: 0.6449 MB / 354.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.006294, allocations: 109.3 kB / 354.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.006332, allocations: 35.11 kB / 354.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.006345, allocations: 0 / 354.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.006371, allocations: 41.52 kB / 354.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.006373, allocations: 0 / 354.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001897/0.006562, allocations: 89.45 kB / 355 MB, free: 10.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.006612, allocations: 110.8 kB / 355.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.006723, allocations: 196.3 kB / 355.3 MB, free: 10 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.006737, allocations: 25.7 kB / 355.3 MB, free: 9.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/0.006815, allocations: 178.6 kB / 355.5 MB, free: 9.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.006835, allocations: 23.8 kB / 355.5 MB, free: 9.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.006883, allocations: 39.3 kB / 355.6 MB, free: 9.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.007012, allocations: 0.4923 MB / 356.1 MB, free: 9.219 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.007032, allocations: 4 kB / 356.1 MB, free: 9.215 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.602e-05/0.007118, allocations: 137.1 kB / 356.2 MB, free: 9.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.985e-05/0.007198, allocations: 82.06 kB / 356.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.0072, allocations: 4 kB / 356.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001251/0.007325, allocations: 89.52 kB / 356.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.007337, allocations: 8.156 kB / 356.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.007344, allocations: 7.938 kB / 356.4 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.007352, allocations: 0 / 356.4 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.007452, allocations: 27.92 kB / 356.4 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.007456, allocations: 0 / 356.4 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.00751, allocations: 15.88 kB / 356.4 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.00752, allocations: 4 kB / 356.4 MB, free: 8.77 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 8.046e-05/0.0076, allocations: 160.6 kB / 356.6 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.007631, allocations: 11.95 kB / 356.6 MB, free: 8.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.007661, allocations: 20.41 kB / 356.6 MB, free: 8.574 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.007663, allocations: 4 kB / 356.6 MB, free: 8.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.007666, allocations: 3.984 kB / 356.6 MB, free: 8.566 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.007669, allocations: 0 / 356.6 MB, free: 8.566 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.007816, allocations: 121.2 kB / 356.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007818, allocations: 0 / 356.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.007883, allocations: 19.92 kB / 356.8 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.007887, allocations: 4 kB / 356.8 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.007895, allocations: 320 / 356.8 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.007897, allocations: 4 kB / 356.8 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.007901, allocations: 7.938 kB / 356.8 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.008084, allocations: 251.1 kB / 357 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.008099, allocations: 7.891 kB / 357 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.008113, allocations: 4 kB / 357 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.008178, allocations: 15.92 kB / 357.1 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.008208, allocations: 3.938 kB / 357.1 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.008215, allocations: 4 kB / 357.1 MB, free: 8.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.008272, allocations: 149 kB / 357.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008272, allocations: 4 kB / 357.2 MB, free: 7.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000236/0.008508, allocations: 12 kB / 357.2 MB, free: 7.918 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 8.496e-05/0.008593, allocations: 95.28 kB / 357.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.008705, allocations: 51.53 kB / 357.4 MB, free: 7.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008707, allocations: 0 / 357.4 MB, free: 7.758 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.339e-05/0.00874, allocations: 27.67 kB / 357.4 MB, free: 7.727 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.00902, allocations: 27.3 kB / 357.4 MB, free: 7.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.009413, allocations: 254.2 kB / 357.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.009457, allocations: 63.34 kB / 357.7 MB, free: 7.336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5e-05/0.009507, allocations: 12.48 kB / 357.7 MB, free: 7.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.009583, allocations: 90.19 kB / 357.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009584, allocations: 0 / 357.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of Templates: time 0.003313/0.0129, allocations: 1.175 MB / 359 MB, free: 6.082 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.7285455032251775]