Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.0009133/0.0009133, allocations: 93.06 kB / 19.65 MB, free: 280 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.000939/0.000939, allocations: 173 kB / 23.03 MB, free: 1.547 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.8728/0.8728, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.08008/0.08008, allocations: 12.98 MB / 272.9 MB, free: 472 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.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_dev_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_dev_PowerGrids.Controls.Test.TestLeadLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 349.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.236e-05, allocations: 2.312 kB / 349.5 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.00206/0.002083, allocations: 1.826 MB / 351.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002934/0.002376, allocations: 155.5 kB / 351.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.002452, allocations: 7.938 kB / 351.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.002578, allocations: 19.8 kB / 351.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.002713, allocations: 23.8 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.559e-05/0.002779, allocations: 43.89 kB / 351.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.002913, allocations: 131.6 kB / 351.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.003036, allocations: 37.52 kB / 351.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.003114, allocations: 75.8 kB / 351.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.003191, allocations: 31.91 kB / 351.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.003217, allocations: 8 kB / 351.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.003232, allocations: 12 kB / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.003256, allocations: 27.84 kB / 351.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.003288, allocations: 27.92 kB / 351.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003399, allocations: 75.61 kB / 352 MB, free: 12.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.003401, allocations: 4 kB / 352 MB, free: 12.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003402, allocations: 4 kB / 352 MB, free: 12.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.003405, allocations: 0 / 352 MB, free: 12.64 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.0004923/0.003898, allocations: 452.1 kB / 352.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.00393, allocations: 8.031 kB / 352.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.003978, allocations: 24.84 kB / 352.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.004156, allocations: 163.5 kB / 352.6 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.004169, allocations: 8.375 kB / 352.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.004193, allocations: 12.38 kB / 352.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.004362, allocations: 129.1 kB / 352.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.004369, allocations: 192 / 352.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.004382, allocations: 4.125 kB / 352.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.004389, allocations: 4 kB / 352.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.004443, allocations: 27.92 kB / 352.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.004868, allocations: 430 kB / 353.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.005098, allocations: 121.2 kB / 353.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.005138, allocations: 39.17 kB / 353.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.005151, allocations: 4 kB / 353.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.005171, allocations: 41.33 kB / 353.4 MB, free: 11.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005172, allocations: 0 / 353.4 MB, free: 11.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000173/0.005345, allocations: 85.56 kB / 353.5 MB, free: 10.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.005377, allocations: 102.8 kB / 353.6 MB, free: 10.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.005476, allocations: 206.1 kB / 353.8 MB, free: 10.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.005489, allocations: 41.64 kB / 353.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.00555, allocations: 162.6 kB / 354 MB, free: 10.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.005568, allocations: 27.75 kB / 354 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.005603, allocations: 31.36 kB / 354.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.0057, allocations: 0.4884 MB / 354.5 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.005721, allocations: 8.25 kB / 354.6 MB, free: 9.793 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.00578, allocations: 117.5 kB / 354.7 MB, free: 9.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.084e-05/0.005841, allocations: 66.72 kB / 354.7 MB, free: 9.559 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005843, allocations: 0 / 354.7 MB, free: 9.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001643/0.006007, allocations: 113.1 kB / 354.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.006019, allocations: 8 kB / 354.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.006023, allocations: 0 / 354.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.006196, allocations: 43.73 kB / 354.9 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.073e-05/0.006247, allocations: 15.98 kB / 354.9 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007549/0.007001, allocations: 1.776 MB / 356.7 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.007044, allocations: 15.88 kB / 356.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.007053, allocations: 4 kB / 356.7 MB, free: 7.449 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 6.749e-05/0.00712, allocations: 172.5 kB / 356.9 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.007141, allocations: 7.953 kB / 356.9 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.007158, allocations: 20.45 kB / 356.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.007159, allocations: 0 / 356.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.00716, allocations: 4 kB / 356.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.007163, allocations: 0 / 356.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.007273, allocations: 148.5 kB / 357.1 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007275, allocations: 4 kB / 357.1 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.007328, allocations: 16.05 kB / 357.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.00733, allocations: 4 kB / 357.1 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.007339, allocations: 4 kB / 357.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.00734, allocations: 4 kB / 357.1 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.007341, allocations: 0 / 357.1 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.00748, allocations: 255.1 kB / 357.3 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.007493, allocations: 15.94 kB / 357.3 MB, free: 6.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.007502, allocations: 0 / 357.3 MB, free: 6.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.007546, allocations: 4 kB / 357.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.007577, allocations: 7.984 kB / 357.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.007582, allocations: 4 kB / 357.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.00764, allocations: 157.9 kB / 357.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00764, allocations: 7.969 kB / 357.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001561/0.007796, allocations: 23.94 kB / 357.5 MB, free: 6.531 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 6.04e-05/0.007856, allocations: 91.25 kB / 357.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.008173, allocations: 237.5 kB / 357.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.008174, allocations: 0 / 357.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.162e-05/0.008206, allocations: 31.61 kB / 357.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.008412, allocations: 25.8 kB / 357.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.008743, allocations: 257.3 kB / 358.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.708e-05/0.00878, allocations: 67.34 kB / 358.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.554e-05/0.008816, allocations: 8.5 kB / 358.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.008848, allocations: 16.48 kB / 358.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008849, allocations: 0 / 358.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of Templates: time 0.002904/0.01175, allocations: 1.44 MB / 359.7 MB, free: 4.305 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_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.5844327230006456]