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.002534/0.002534, allocations: 92.97 kB / 20.22 MB, free: 4.207 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.002975/0.002975, allocations: 169.2 kB / 23.54 MB, free: 0.8828 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.301/1.301, allocations: 158.6 MB / 185.3 MB, free: 2.895 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.07467/0.07467, allocations: 10.65 MB / 248.3 MB, free: 4.629 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.934e-06/1.934e-06, allocations: 0 / 319.5 MB, free: 40.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.403e-05/3.597e-05, allocations: 4.438 kB / 319.5 MB, free: 40.01 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002313/0.002349, allocations: 1.771 MB / 321.2 MB, free: 38.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000319/0.002668, allocations: 163.5 kB / 321.4 MB, free: 38.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.002757, allocations: 3.938 kB / 321.4 MB, free: 38.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.00288, allocations: 19.8 kB / 321.4 MB, free: 38.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.003027, allocations: 27.73 kB / 321.5 MB, free: 38.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.515e-05/0.003102, allocations: 35.95 kB / 321.5 MB, free: 37.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.003228, allocations: 131.6 kB / 321.6 MB, free: 37.86 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.003337, allocations: 42.84 kB / 321.7 MB, free: 37.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.406e-05/0.003421, allocations: 71.81 kB / 321.7 MB, free: 37.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.0035, allocations: 35.89 kB / 321.8 MB, free: 37.71 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.003527, allocations: 8 kB / 321.8 MB, free: 37.71 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.82e-05/0.003545, allocations: 12 kB / 321.8 MB, free: 37.7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.003569, allocations: 27.84 kB / 321.8 MB, free: 37.67 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.003604, allocations: 27.92 kB / 321.8 MB, free: 37.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.00373, allocations: 115.5 kB / 322 MB, free: 37.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003732, allocations: 0 / 322 MB, free: 37.53 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003732, allocations: 0 / 322 MB, free: 37.53 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.003736, allocations: 0 / 322 MB, free: 37.53 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.0004744/0.004211, allocations: 461.3 kB / 322.4 MB, free: 37.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.00424, allocations: 8.031 kB / 322.4 MB, free: 37.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.004294, allocations: 24.84 kB / 322.4 MB, free: 37.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.004469, allocations: 160.9 kB / 322.6 MB, free: 36.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.004481, allocations: 5.062 kB / 322.6 MB, free: 36.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.004506, allocations: 12.38 kB / 322.6 MB, free: 36.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.004692, allocations: 129.2 kB / 322.7 MB, free: 36.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.004701, allocations: 4.188 kB / 322.7 MB, free: 36.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.004713, allocations: 8.109 kB / 322.7 MB, free: 36.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.004717, allocations: 4 kB / 322.8 MB, free: 36.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.004866, allocations: 55.97 kB / 322.8 MB, free: 36.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.00537, allocations: 461.8 kB / 323.3 MB, free: 36.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.005696, allocations: 141.3 kB / 323.4 MB, free: 35.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.005774, allocations: 51.05 kB / 323.4 MB, free: 35.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.005791, allocations: 8 kB / 323.5 MB, free: 35.85 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.005804, allocations: 37.39 kB / 323.5 MB, free: 35.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.005805, allocations: 0 / 323.5 MB, free: 35.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003158/0.00612, allocations: 117.5 kB / 323.6 MB, free: 35.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.00615, allocations: 102.8 kB / 323.7 MB, free: 35.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.006269, allocations: 225.8 kB / 323.9 MB, free: 35.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.006281, allocations: 33.64 kB / 324 MB, free: 35.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.006341, allocations: 166.7 kB / 324.1 MB, free: 35.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.006361, allocations: 27.75 kB / 324.1 MB, free: 35.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.006405, allocations: 35.61 kB / 324.2 MB, free: 35.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.006481, allocations: 0.4962 MB / 324.7 MB, free: 34.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.006549, allocations: 19.98 kB / 324.7 MB, free: 34.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.049e-05/0.006639, allocations: 133.5 kB / 324.8 MB, free: 34.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.006773, allocations: 78.73 kB / 324.9 MB, free: 34.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.006775, allocations: 4 kB / 324.9 MB, free: 34.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002891/0.007064, allocations: 137.1 kB / 325 MB, free: 34.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.007077, allocations: 7.984 kB / 325.1 MB, free: 34.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.007082, allocations: 4 kB / 325.1 MB, free: 34.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.007352, allocations: 43.66 kB / 325.1 MB, free: 34.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.007433, allocations: 15.92 kB / 325.1 MB, free: 34.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000821/0.008254, allocations: 1.855 MB / 327 MB, free: 32.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/0.008336, allocations: 11.89 kB / 327 MB, free: 32.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.008346, allocations: 8 kB / 327 MB, free: 32.03 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.147e-05/0.008408, allocations: 168.5 kB / 327.2 MB, free: 31.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.008443, allocations: 15.95 kB / 327.2 MB, free: 31.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.008467, allocations: 16.45 kB / 327.2 MB, free: 31.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.008469, allocations: 4.031 kB / 327.2 MB, free: 31.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.00847, allocations: 0 / 327.2 MB, free: 31.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.008473, allocations: 4 kB / 327.2 MB, free: 31.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.008613, allocations: 164.5 kB / 327.4 MB, free: 31.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008615, allocations: 0 / 327.4 MB, free: 31.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/0.008958, allocations: 19.98 kB / 327.4 MB, free: 31.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.008961, allocations: 4 kB / 327.4 MB, free: 31.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.008971, allocations: 7.922 kB / 327.4 MB, free: 31.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.008973, allocations: 0 / 327.4 MB, free: 31.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.008975, allocations: 4 kB / 327.4 MB, free: 31.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009784/0.009953, allocations: 1.672 MB / 329.1 MB, free: 29.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.009971, allocations: 15.84 kB / 329.1 MB, free: 29.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.009986, allocations: 0 / 329.1 MB, free: 29.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.01008, allocations: 11.98 kB / 329.1 MB, free: 29.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.01012, allocations: 11.97 kB / 329.1 MB, free: 29.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.01013, allocations: 0 / 329.1 MB, free: 29.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.346e-05/0.01019, allocations: 169 kB / 329.3 MB, free: 29.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01019, allocations: 4.062 kB / 329.3 MB, free: 29.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.01052, allocations: 28 kB / 329.3 MB, free: 29.55 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.995e-05/0.01059, allocations: 91.25 kB / 329.4 MB, free: 29.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003952/0.01098, allocations: 265.3 kB / 329.6 MB, free: 29.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01098, allocations: 3.938 kB / 329.6 MB, free: 29.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.124e-05/0.01107, allocations: 39.67 kB / 329.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.01138, allocations: 34.86 kB / 329.7 MB, free: 29.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.01186, allocations: 442.3 kB / 330.2 MB, free: 28.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.073e-05/0.01192, allocations: 93.3 kB / 330.2 MB, free: 28.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.76e-05/0.01197, allocations: 12.5 kB / 330.3 MB, free: 28.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.01201, allocations: 12.5 kB / 330.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01201, allocations: 0 / 330.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of Templates: time 0.004194/0.0162, allocations: 1.459 MB / 331.7 MB, free: 27.04 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_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.587546744965948]