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.001958/0.001958, allocations: 83.34 kB / 20.52 MB, free: 1.266 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.002459/0.002459, allocations: 169.1 kB / 23.78 MB, free: 4.453 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: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.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.0652/0.0652, allocations: 10.65 MB / 248.4 MB, free: 8.473 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_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: 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.003652/0.003652, allocations: 75.89 kB / 372.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1557, allocations: 52.88 MB / 425 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003328/0.1591, allocations: 1.751 MB / 426.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004353/0.1595, allocations: 155.5 kB / 426.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1596, allocations: 7.938 kB / 426.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.1598, allocations: 19.8 kB / 426.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.1599, allocations: 31.78 kB / 427 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.16, allocations: 43.89 kB / 427 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.1602, allocations: 123.7 kB / 427.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1604, allocations: 41.5 kB / 427.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.1605, allocations: 51.73 kB / 427.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1606, allocations: 43.77 kB / 427.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.1606, allocations: 12 kB / 427.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.219e-05/0.1606, allocations: 8 kB / 427.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.1607, allocations: 27.91 kB / 427.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.1607, allocations: 39.73 kB / 427.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.1609, allocations: 119.4 kB / 427.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1609, allocations: 0 / 427.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1609, allocations: 0 / 427.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1609, allocations: 0 / 427.5 MB, free: 2.906 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.0006831/0.1616, allocations: 349.8 kB / 427.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1616, allocations: 12.03 kB / 427.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.1617, allocations: 16.78 kB / 427.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.162, allocations: 154.9 kB / 428 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1621, allocations: 12.38 kB / 428 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.1621, allocations: 8.375 kB / 428 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1624, allocations: 128.2 kB / 428.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1624, allocations: 0 / 428.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1624, allocations: 4 kB / 428.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1624, allocations: 0 / 428.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.1626, allocations: 63.91 kB / 428.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.1633, allocations: 365.2 kB / 428.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.1637, allocations: 119.8 kB / 428.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1638, allocations: 42.62 kB / 428.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1638, allocations: 0 / 428.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.1638, allocations: 42.55 kB / 428.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.1638, allocations: 0 / 428.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004045/0.1642, allocations: 125.4 kB / 428.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.697e-05/0.1643, allocations: 110.8 kB / 429 MB, free: 1.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1645, allocations: 154.4 kB / 429.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.1645, allocations: 29.7 kB / 429.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.1646, allocations: 116 kB / 429.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1646, allocations: 31.72 kB / 429.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.1647, allocations: 21.72 kB / 429.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1649, allocations: 322.8 kB / 429.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.1649, allocations: 24.17 kB / 429.7 MB, free: 480 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.1651, allocations: 120.5 kB / 429.8 MB, free: 328 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.1653, allocations: 79.36 kB / 429.9 MB, free: 236 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1653, allocations: 0 / 429.9 MB, free: 236 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003829/0.1657, allocations: 142.5 kB / 430 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1657, allocations: 4 kB / 430 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1657, allocations: 7.984 kB / 430 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.1659, allocations: 36.83 kB / 430 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.166, allocations: 19.92 kB / 430.1 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.1676, allocations: 1.323 MB / 431.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1677, allocations: 11.92 kB / 431.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1677, allocations: 4 kB / 431.4 MB, free: 14.56 MB / 366.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.0001113/0.1678, allocations: 129.8 kB / 431.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.1679, allocations: 7.953 kB / 431.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.1679, allocations: 16.47 kB / 431.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1679, allocations: 0 / 431.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1679, allocations: 3.938 kB / 431.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1679, allocations: 8.062 kB / 431.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.1681, allocations: 137.3 kB / 431.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1681, allocations: 0 / 431.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.1682, allocations: 19.98 kB / 431.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1682, allocations: 0 / 431.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1682, allocations: 4 kB / 431.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1682, allocations: 0 / 431.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1682, allocations: 0 / 431.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.1697, allocations: 1.281 MB / 433 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.1697, allocations: 15.86 kB / 433 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1697, allocations: 0 / 433 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1698, allocations: 8 kB / 433 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.1699, allocations: 11.92 kB / 433 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1699, allocations: 4 kB / 433 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.17, allocations: 119.3 kB / 433.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.17, allocations: 0 / 433.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.1704, allocations: 24 kB / 433.2 MB, free: 12.63 MB / 366.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.95e-05/0.1705, allocations: 91.25 kB / 433.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005019/0.171, allocations: 198.5 kB / 433.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.171, allocations: 4.188 kB / 433.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1711, allocations: 32.11 kB / 433.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1714, allocations: 35.36 kB / 433.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006638/0.1721, allocations: 371.5 kB / 433.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.1722, allocations: 105.4 kB / 434 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.639e-05/0.1723, allocations: 8.484 kB / 434 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.1723, allocations: 12.5 kB / 434 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1723, allocations: 4 kB / 434 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.004785/0.1771, allocations: 1.429 MB / 435.5 MB, free: 10.29 MB / 366.1 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=480 -s ida -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_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.975063029094599]