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.001428/0.001428, allocations: 92.22 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.001626/0.001626, allocations: 169 kB / 23.02 MB, free: 1.555 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.9701/0.9701, allocations: 177.1 MB / 203.4 MB, free: 5.246 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.06051/0.06051, allocations: 12.94 MB / 272.9 MB, free: 364 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 2.625e-06/2.625e-06, allocations: 0 / 349.4 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.429e-05, allocations: 2.312 kB / 349.4 MB, free: 260 kB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003999/0.004034, allocations: 1.838 MB / 351.3 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005648/0.004598, allocations: 143.5 kB / 351.4 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.004737, allocations: 7.938 kB / 351.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.004908, allocations: 19.73 kB / 351.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.005125, allocations: 35.83 kB / 351.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.005258, allocations: 35.91 kB / 351.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.005512, allocations: 127.6 kB / 351.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.005696, allocations: 41.5 kB / 351.7 MB, free: 14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.005838, allocations: 67.83 kB / 351.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.005969, allocations: 43.81 kB / 351.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.006005, allocations: 8 kB / 351.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.006027, allocations: 12 kB / 351.8 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.006063, allocations: 19.92 kB / 351.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.006121, allocations: 31.91 kB / 351.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.006329, allocations: 79.61 kB / 351.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006332, allocations: 0 / 351.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.006335, allocations: 4 kB / 351.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.006341, allocations: 0 / 351.9 MB, free: 13.73 MB / 330.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.0006608/0.007002, allocations: 448.1 kB / 352.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.007048, allocations: 8.031 kB / 352.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.007119, allocations: 20.84 kB / 352.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.007395, allocations: 170.2 kB / 352.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.007412, allocations: 8.375 kB / 352.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.007453, allocations: 12.38 kB / 352.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.00772, allocations: 120.7 kB / 352.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.00773, allocations: 192 / 352.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.007747, allocations: 12.06 kB / 352.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.007757, allocations: 7.938 kB / 352.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.634e-05/0.007853, allocations: 27.97 kB / 352.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007424/0.008596, allocations: 429.9 kB / 353.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.008981, allocations: 121.2 kB / 353.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.00905, allocations: 39.12 kB / 353.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.009074, allocations: 4 kB / 353.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.009105, allocations: 41.38 kB / 353.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.009107, allocations: 0 / 353.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002728/0.00938, allocations: 81.58 kB / 353.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.009433, allocations: 107 kB / 353.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.0096, allocations: 211.3 kB / 353.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.009619, allocations: 29.7 kB / 353.8 MB, free: 11.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.00971, allocations: 158.7 kB / 353.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.00974, allocations: 31.73 kB / 354 MB, free: 11.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.009795, allocations: 31.38 kB / 354 MB, free: 11.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.009944, allocations: 0.4884 MB / 354.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.881e-05/0.009983, allocations: 12.23 kB / 354.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.946e-05/0.01008, allocations: 113.5 kB / 354.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.01019, allocations: 70.7 kB / 354.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01019, allocations: 0 / 354.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002914/0.01048, allocations: 113.1 kB / 354.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.0105, allocations: 8 kB / 354.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01051, allocations: 0 / 354.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.0108, allocations: 39.75 kB / 354.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.01089, allocations: 15.98 kB / 354.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.0122, allocations: 1.775 MB / 356.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/0.01228, allocations: 15.89 kB / 356.6 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.01229, allocations: 4 kB / 356.7 MB, free: 8.547 MB / 330.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 0.0001071/0.0124, allocations: 172.5 kB / 356.8 MB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.01244, allocations: 11.94 kB / 356.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.01247, allocations: 16.47 kB / 356.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01247, allocations: 0 / 356.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01248, allocations: 4 kB / 356.9 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01248, allocations: 0 / 356.9 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.01267, allocations: 148.5 kB / 357 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01267, allocations: 7.938 kB / 357 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.01278, allocations: 16.05 kB / 357 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.01279, allocations: 8 kB / 357 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.0128, allocations: 0 / 357 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.01281, allocations: 4 kB / 357 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01281, allocations: 0 / 357 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.01307, allocations: 259.1 kB / 357.3 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.01309, allocations: 7.953 kB / 357.3 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.01311, allocations: 4 kB / 357.3 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.01321, allocations: 4 kB / 357.3 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.01326, allocations: 3.984 kB / 357.3 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.01327, allocations: 4 kB / 357.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.01337, allocations: 165.9 kB / 357.5 MB, free: 7.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01337, allocations: 0 / 357.5 MB, free: 7.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.01368, allocations: 27.89 kB / 357.5 MB, free: 7.629 MB / 330.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 0.0001087/0.01379, allocations: 95.19 kB / 357.6 MB, free: 7.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.01422, allocations: 237.4 kB / 357.8 MB, free: 7.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.01422, allocations: 0 / 357.8 MB, free: 7.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.062e-05/0.01428, allocations: 19.94 kB / 357.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.01464, allocations: 32.03 kB / 357.9 MB, free: 7.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.01527, allocations: 253.4 kB / 358.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.784e-05/0.01533, allocations: 67.34 kB / 358.2 MB, free: 6.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.01539, allocations: 12.48 kB / 358.2 MB, free: 6.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.01544, allocations: 12.5 kB / 358.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01544, allocations: 0 / 358.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of Templates: time 0.004496/0.01993, allocations: 1.379 MB / 359.6 MB, free: 5.461 MB / 330.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: 3.032015298027545]