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.001318/0.001318, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.001407/0.001407, allocations: 216.9 kB / 23.01 MB, free: 4.602 MB / 14.72 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.403/1.403, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 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.07027/0.07027, allocations: 14.39 MB / 300.4 MB, free: 7.434 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 71.89 kB / 424.2 MB, free: 36.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07234/0.07456, allocations: 52.9 MB / 477.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003062/0.07762, allocations: 1.818 MB / 479 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003865/0.07801, allocations: 159.5 kB / 479.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.413e-05/0.0781, allocations: 7.938 kB / 479.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.07822, allocations: 23.73 kB / 479.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.07836, allocations: 23.8 kB / 479.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.07847, allocations: 39.95 kB / 479.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.07867, allocations: 131.6 kB / 479.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.07879, allocations: 45.44 kB / 479.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.07886, allocations: 51.84 kB / 479.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.07897, allocations: 51.64 kB / 479.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.07899, allocations: 16 kB / 479.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.553e-05/0.07902, allocations: 8 kB / 479.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.07905, allocations: 23.92 kB / 479.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.79e-05/0.07911, allocations: 55.66 kB / 479.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.07929, allocations: 107.5 kB / 479.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.07929, allocations: 3.938 kB / 479.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.07929, allocations: 0 / 479.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.0793, allocations: 0 / 479.7 MB, free: 12.88 MB / 350.1 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.0006169/0.07991, allocations: 357.8 kB / 480 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.07994, allocations: 8.031 kB / 480 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.07999, allocations: 16.84 kB / 480.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.08026, allocations: 150.9 kB / 480.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.08027, allocations: 12.38 kB / 480.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.08031, allocations: 8.375 kB / 480.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.08058, allocations: 128.3 kB / 480.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.08059, allocations: 3.938 kB / 480.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.08061, allocations: 0 / 480.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.08061, allocations: 4 kB / 480.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.08081, allocations: 59.95 kB / 480.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.08147, allocations: 416.4 kB / 480.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.08189, allocations: 115.8 kB / 480.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.08202, allocations: 54.62 kB / 481 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.08203, allocations: 0 / 481 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.08206, allocations: 34.56 kB / 481 MB, free: 11.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.08206, allocations: 0 / 481 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000391/0.08245, allocations: 129.7 kB / 481.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.08252, allocations: 106.8 kB / 481.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.08268, allocations: 150.4 kB / 481.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.08271, allocations: 29.7 kB / 481.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.0828, allocations: 116 kB / 481.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.08283, allocations: 23.75 kB / 481.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.08288, allocations: 25.7 kB / 481.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.08303, allocations: 326.9 kB / 481.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.08313, allocations: 19.98 kB / 481.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.08325, allocations: 61.14 kB / 482 MB, free: 10.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.08345, allocations: 87.62 kB / 482.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.08345, allocations: 0 / 482.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004033/0.08386, allocations: 134.3 kB / 482.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.08387, allocations: 11.94 kB / 482.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.08388, allocations: 4.094 kB / 482.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.0841, allocations: 36.83 kB / 482.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.0842, allocations: 16.17 kB / 482.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.08549, allocations: 1.354 MB / 483.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.0856, allocations: 15.83 kB / 483.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.08561, allocations: 4 kB / 483.6 MB, free: 8.504 MB / 350.1 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.0001072/0.08572, allocations: 125.9 kB / 483.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.08576, allocations: 11.89 kB / 483.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.08579, allocations: 20.34 kB / 483.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.08579, allocations: 4 kB / 483.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.08579, allocations: 0 / 483.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.0858, allocations: 0 / 483.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.08604, allocations: 180.7 kB / 484 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.08604, allocations: 0 / 484 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.08617, allocations: 15.98 kB / 484 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.08618, allocations: 4 kB / 484 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.08619, allocations: 8 kB / 484 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.08619, allocations: 4 kB / 484 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.0862, allocations: 4 kB / 484 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.08657, allocations: 233.1 kB / 484.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.0866, allocations: 15.97 kB / 484.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.08662, allocations: 3.938 kB / 484.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.08673, allocations: 4 kB / 484.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.08678, allocations: 11.98 kB / 484.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.08679, allocations: 0 / 484.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.646e-05/0.08688, allocations: 119.9 kB / 484.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08688, allocations: 0 / 484.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.08718, allocations: 19.94 kB / 484.4 MB, free: 7.664 MB / 350.1 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 9.188e-05/0.08728, allocations: 103.4 kB / 484.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004792/0.08775, allocations: 194.5 kB / 484.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.08776, allocations: 4 kB / 484.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.08787, allocations: 31.91 kB / 484.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.08821, allocations: 31.61 kB / 484.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.08878, allocations: 282.6 kB / 485 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.08911, allocations: 0.7041 MB / 485.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.08915, allocations: 23.38 kB / 485.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.08915, allocations: 0 / 485.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of Templates: time 0.003662/0.09281, allocations: 1.721 MB / 487.5 MB, free: 4.5 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/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: 7.318705714074895]