Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.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.001032/0.001032, allocations: 74.66 kB / 21.44 MB, free: 3.059 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.001052/0.001052, allocations: 169.6 kB / 24.84 MB, free: 9.242 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.9378/0.9378, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.03945/0.03945, allocations: 10.65 MB / 249.8 MB, free: 4.297 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.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 321.5 MB, free: 39.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.323e-05, allocations: 6.312 kB / 321.5 MB, free: 39.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.001848/0.001861, allocations: 1.8 MB / 323.3 MB, free: 37.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002709/0.002132, allocations: 147.5 kB / 323.5 MB, free: 37.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.002222, allocations: 7.938 kB / 323.5 MB, free: 37.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.00234, allocations: 19.8 kB / 323.5 MB, free: 37.28 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.002474, allocations: 35.72 kB / 323.5 MB, free: 37.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.545e-05/0.002539, allocations: 31.95 kB / 323.6 MB, free: 37.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.002662, allocations: 131.6 kB / 323.7 MB, free: 37.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.002773, allocations: 38.83 kB / 323.7 MB, free: 37.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.002845, allocations: 67.83 kB / 323.8 MB, free: 36.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.002949, allocations: 43.81 kB / 323.8 MB, free: 36.94 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.002978, allocations: 16 kB / 323.8 MB, free: 36.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.002993, allocations: 8 kB / 323.9 MB, free: 36.92 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.00302, allocations: 23.92 kB / 323.9 MB, free: 36.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.003048, allocations: 27.91 kB / 323.9 MB, free: 36.87 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.003168, allocations: 83.61 kB / 324 MB, free: 36.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.00317, allocations: 0 / 324 MB, free: 36.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00317, allocations: 0 / 324 MB, free: 36.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.003175, allocations: 0 / 324 MB, free: 36.79 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000389/0.003564, allocations: 450.5 kB / 324.4 MB, free: 36.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.003598, allocations: 16.03 kB / 324.4 MB, free: 36.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.003632, allocations: 16.84 kB / 324.5 MB, free: 36.28 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.003754, allocations: 160.9 kB / 324.6 MB, free: 36.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.003763, allocations: 8.375 kB / 324.6 MB, free: 36.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.003783, allocations: 12.38 kB / 324.6 MB, free: 36.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.0039, allocations: 114.4 kB / 324.7 MB, free: 35.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.003908, allocations: 192 / 324.7 MB, free: 35.94 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.003918, allocations: 16.94 kB / 324.8 MB, free: 35.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.003923, allocations: 0 / 324.8 MB, free: 35.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.485e-05/0.003958, allocations: 29.69 kB / 324.8 MB, free: 35.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.004266, allocations: 402.2 kB / 325.2 MB, free: 35.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.004449, allocations: 125.2 kB / 325.3 MB, free: 35.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.004474, allocations: 35.11 kB / 325.3 MB, free: 35.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.004487, allocations: 0 / 325.3 MB, free: 35.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.22e-05/0.004499, allocations: 37.39 kB / 325.4 MB, free: 35.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.0045, allocations: 4 kB / 325.4 MB, free: 35.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001355/0.004635, allocations: 85.52 kB / 325.5 MB, free: 35.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.004657, allocations: 102.8 kB / 325.6 MB, free: 35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.004717, allocations: 209.8 kB / 325.8 MB, free: 34.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.004725, allocations: 25.7 kB / 325.8 MB, free: 34.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.004765, allocations: 162.7 kB / 326 MB, free: 34.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.004778, allocations: 27.73 kB / 326 MB, free: 34.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.004807, allocations: 31.36 kB / 326 MB, free: 34.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.004849, allocations: 0.4923 MB / 326.5 MB, free: 34.01 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.004864, allocations: 12.23 kB / 326.5 MB, free: 34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/0.004907, allocations: 114.3 kB / 326.6 MB, free: 33.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.956e-05/0.004976, allocations: 58.67 kB / 326.7 MB, free: 33.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.004979, allocations: 4 kB / 326.7 MB, free: 33.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00018/0.005159, allocations: 101.2 kB / 326.8 MB, free: 33.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.005172, allocations: 12.06 kB / 326.8 MB, free: 33.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.005176, allocations: 4 kB / 326.8 MB, free: 33.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.00535, allocations: 31.66 kB / 326.8 MB, free: 33.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.005401, allocations: 19.92 kB / 326.9 MB, free: 33.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005716/0.005973, allocations: 1.76 MB / 328.6 MB, free: 31.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.006016, allocations: 15.89 kB / 328.6 MB, free: 31.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.006024, allocations: 3.984 kB / 328.6 MB, free: 31.7 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.00608, allocations: 164.5 kB / 328.8 MB, free: 31.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.006101, allocations: 11.95 kB / 328.8 MB, free: 31.51 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554e-05/0.006117, allocations: 12.77 kB / 328.8 MB, free: 31.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.006119, allocations: 4 kB / 328.8 MB, free: 31.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.00612, allocations: 0 / 328.8 MB, free: 31.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006124, allocations: 4.031 kB / 328.8 MB, free: 31.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.87e-05/0.006213, allocations: 129.2 kB / 329 MB, free: 31.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.006214, allocations: 0 / 329 MB, free: 31.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.006268, allocations: 19.92 kB / 329 MB, free: 31.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.00627, allocations: 4 kB / 329 MB, free: 31.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.006277, allocations: 4 kB / 329 MB, free: 31.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.00628, allocations: 7.922 kB / 329 MB, free: 31.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.006281, allocations: 4 kB / 329 MB, free: 31.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.006801, allocations: 1.528 MB / 330.5 MB, free: 29.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.00681, allocations: 15.91 kB / 330.5 MB, free: 29.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.006819, allocations: 0 / 330.5 MB, free: 29.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.006863, allocations: 4 kB / 330.5 MB, free: 29.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.006893, allocations: 7.984 kB / 330.5 MB, free: 29.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.006897, allocations: 4 kB / 330.6 MB, free: 29.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.902e-05/0.006936, allocations: 153 kB / 330.7 MB, free: 29.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.006936, allocations: 0 / 330.7 MB, free: 29.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.007208, allocations: 24 kB / 330.7 MB, free: 29.45 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.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.169e-05/0.00726, allocations: 103.2 kB / 330.8 MB, free: 29.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.007468, allocations: 233.3 kB / 331.1 MB, free: 29.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007469, allocations: 0 / 331.1 MB, free: 29.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.007493, allocations: 23.62 kB / 331.1 MB, free: 29.06 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.007692, allocations: 33.8 kB / 331.1 MB, free: 29.03 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.008031, allocations: 427.8 kB / 331.5 MB, free: 28.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.972e-05/0.008061, allocations: 71.33 kB / 331.6 MB, free: 28.47 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.949e-05/0.0081, allocations: 12.5 kB / 331.6 MB, free: 28.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.008158, allocations: 86.19 kB / 331.7 MB, free: 28.37 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008158, allocations: 0 / 331.7 MB, free: 28.37 MB / 282.7 MB Notification: Performance of Templates: time 0.00334/0.0115, allocations: 1.597 MB / 333.3 MB, free: 26.8 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_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.738160408101976]