Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001864/0.001864, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 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.001993/0.001993, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.355/1.355, allocations: 158.6 MB / 184.6 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.07379/0.07379, allocations: 10.65 MB / 247.5 MB, free: 4.523 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_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_PowerGrids.Controls.Test.TestLeadLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 318.7 MB, free: 39.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.154e-05, allocations: 2.312 kB / 318.7 MB, free: 39.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002499/0.002531, allocations: 1.785 MB / 320.5 MB, free: 38.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003611/0.002892, allocations: 143.5 kB / 320.6 MB, free: 38.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.002996, allocations: 7.938 kB / 320.6 MB, free: 38.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.003143, allocations: 23.73 kB / 320.7 MB, free: 38.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.003314, allocations: 23.84 kB / 320.7 MB, free: 37.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.658e-05/0.003411, allocations: 43.83 kB / 320.7 MB, free: 37.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.003547, allocations: 139.6 kB / 320.9 MB, free: 37.81 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.003663, allocations: 31.84 kB / 320.9 MB, free: 37.78 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.77e-05/0.003751, allocations: 75.8 kB / 321 MB, free: 37.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.00383, allocations: 31.91 kB / 321 MB, free: 37.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.003857, allocations: 12 kB / 321 MB, free: 37.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.003877, allocations: 8 kB / 321 MB, free: 37.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.003905, allocations: 19.92 kB / 321 MB, free: 37.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.00395, allocations: 39.83 kB / 321.1 MB, free: 37.6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.00409, allocations: 107.6 kB / 321.2 MB, free: 37.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.004093, allocations: 4 kB / 321.2 MB, free: 37.49 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004093, allocations: 4 kB / 321.2 MB, free: 37.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.0041, allocations: 3.984 kB / 321.2 MB, free: 37.48 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.0005416/0.004641, allocations: 461.5 kB / 321.6 MB, free: 36.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.004679, allocations: 8.031 kB / 321.6 MB, free: 36.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.004741, allocations: 24.84 kB / 321.7 MB, free: 36.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.004938, allocations: 160.9 kB / 321.8 MB, free: 36.78 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.004952, allocations: 12.38 kB / 321.8 MB, free: 36.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.004981, allocations: 12.38 kB / 321.9 MB, free: 36.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.005177, allocations: 129.3 kB / 322 MB, free: 36.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.005189, allocations: 192 / 322 MB, free: 36.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.005202, allocations: 4.125 kB / 322 MB, free: 36.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005207, allocations: 4 kB / 322 MB, free: 36.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.005367, allocations: 55.91 kB / 322 MB, free: 36.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.005921, allocations: 457.9 kB / 322.5 MB, free: 36.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.006283, allocations: 145.3 kB / 322.6 MB, free: 35.87 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.006368, allocations: 55.11 kB / 322.7 MB, free: 35.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.006387, allocations: 3.938 kB / 322.7 MB, free: 35.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.006403, allocations: 37.39 kB / 322.7 MB, free: 35.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.006404, allocations: 0 / 322.7 MB, free: 35.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003425/0.006747, allocations: 113.5 kB / 322.8 MB, free: 35.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.006779, allocations: 110.8 kB / 322.9 MB, free: 35.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.006895, allocations: 225.8 kB / 323.2 MB, free: 35.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.006906, allocations: 25.7 kB / 323.2 MB, free: 35.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.006964, allocations: 171 kB / 323.4 MB, free: 35.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.006983, allocations: 27.75 kB / 323.4 MB, free: 35.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.007027, allocations: 31.36 kB / 323.4 MB, free: 35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.007108, allocations: 0.4962 MB / 323.9 MB, free: 34.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.007192, allocations: 16 kB / 323.9 MB, free: 34.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.007288, allocations: 137.4 kB / 324.1 MB, free: 34.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.007417, allocations: 86.67 kB / 324.1 MB, free: 34.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.00742, allocations: 0 / 324.1 MB, free: 34.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002937/0.007713, allocations: 137.1 kB / 324.3 MB, free: 34.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.007726, allocations: 8 kB / 324.3 MB, free: 34.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.007731, allocations: 0 / 324.3 MB, free: 34.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.008017, allocations: 47.64 kB / 324.3 MB, free: 34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.008109, allocations: 20.08 kB / 324.4 MB, free: 33.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008591/0.008968, allocations: 1.854 MB / 326.2 MB, free: 32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.121e-05/0.00905, allocations: 11.89 kB / 326.2 MB, free: 31.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.00906, allocations: 0 / 326.2 MB, free: 31.99 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 7.791e-05/0.009138, allocations: 176.5 kB / 326.4 MB, free: 31.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.009172, allocations: 7.984 kB / 326.4 MB, free: 31.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.009197, allocations: 24.45 kB / 326.4 MB, free: 31.78 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.009199, allocations: 4 kB / 326.4 MB, free: 31.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.009201, allocations: 0 / 326.4 MB, free: 31.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.009204, allocations: 0 / 326.4 MB, free: 31.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.009349, allocations: 164.5 kB / 326.6 MB, free: 31.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.00935, allocations: 0 / 326.6 MB, free: 31.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.009451, allocations: 15.98 kB / 326.6 MB, free: 31.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.009453, allocations: 0 / 326.6 MB, free: 31.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.009466, allocations: 8 kB / 326.6 MB, free: 31.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009467, allocations: 0 / 326.6 MB, free: 31.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009468, allocations: 4 kB / 326.6 MB, free: 31.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.009725, allocations: 287 kB / 326.9 MB, free: 31.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.009746, allocations: 15.94 kB / 326.9 MB, free: 31.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.009762, allocations: 4 kB / 326.9 MB, free: 31.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.009854, allocations: 0 / 326.9 MB, free: 31.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.009901, allocations: 11.98 kB / 326.9 MB, free: 31.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.009908, allocations: 4 kB / 326.9 MB, free: 31.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.88e-05/0.009986, allocations: 165 kB / 327.1 MB, free: 31.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009987, allocations: 4 kB / 327.1 MB, free: 31.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.01023, allocations: 23.94 kB / 327.1 MB, free: 31.02 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 8.396e-05/0.01031, allocations: 99.22 kB / 327.2 MB, free: 30.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.01071, allocations: 261.3 kB / 327.5 MB, free: 30.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01071, allocations: 0 / 327.5 MB, free: 30.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.01079, allocations: 35.61 kB / 327.5 MB, free: 30.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.01112, allocations: 35.44 kB / 327.5 MB, free: 30.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.01157, allocations: 271.3 kB / 327.8 MB, free: 30.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.436e-05/0.01162, allocations: 90 kB / 327.9 MB, free: 30.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.943e-05/0.01168, allocations: 12.48 kB / 327.9 MB, free: 30.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.01172, allocations: 16.5 kB / 327.9 MB, free: 30.13 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01172, allocations: 0 / 327.9 MB, free: 30.13 MB / 282.7 MB Notification: Performance of Templates: time 0.004355/0.01607, allocations: 1.364 MB / 329.3 MB, free: 28.79 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.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: 4.620885011041537]