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.0008503/0.0008503, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008315/0.0008315, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9009/0.9009, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.04375/0.04375, allocations: 12.51 MB / 272.5 MB, free: 1.133 MB / 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.623e-06/1.623e-06, allocations: 0 / 405.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.73e-05, allocations: 2.281 kB / 405.9 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002383/0.00241, allocations: 1.767 MB / 407.7 MB, free: 5.012 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003149/0.002725, allocations: 151.5 kB / 407.9 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.338e-05/0.002818, allocations: 11.88 kB / 407.9 MB, free: 4.852 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.00294, allocations: 15.8 kB / 407.9 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.003091, allocations: 31.78 kB / 407.9 MB, free: 4.805 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.492e-05/0.003166, allocations: 35.89 kB / 407.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.003308, allocations: 131.6 kB / 408.1 MB, free: 4.641 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.003439, allocations: 41.44 kB / 408.1 MB, free: 4.594 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.003512, allocations: 67.83 kB / 408.2 MB, free: 4.527 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.003595, allocations: 43.88 kB / 408.2 MB, free: 4.484 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.003621, allocations: 8 kB / 408.2 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.003635, allocations: 12 kB / 408.2 MB, free: 4.465 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.003661, allocations: 27.86 kB / 408.3 MB, free: 4.438 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.003693, allocations: 23.92 kB / 408.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.003839, allocations: 119.5 kB / 408.4 MB, free: 4.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003841, allocations: 0 / 408.4 MB, free: 4.297 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003842, allocations: 0 / 408.4 MB, free: 4.297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.003847, allocations: 0 / 408.4 MB, free: 4.297 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.0004817/0.004329, allocations: 349.8 kB / 408.8 MB, free: 3.922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.004368, allocations: 12.03 kB / 408.8 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.004406, allocations: 12.84 kB / 408.8 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.004616, allocations: 158.1 kB / 408.9 MB, free: 3.719 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.004628, allocations: 8.375 kB / 408.9 MB, free: 3.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.004656, allocations: 16.36 kB / 409 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.00483, allocations: 112.8 kB / 409.1 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004838, allocations: 192 / 409.1 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.00485, allocations: 12.12 kB / 409.1 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.004855, allocations: 0 / 409.1 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.004966, allocations: 63.91 kB / 409.1 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.005396, allocations: 369 kB / 409.5 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/0.00598, allocations: 119.8 kB / 409.6 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.006049, allocations: 50.62 kB / 409.7 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.006066, allocations: 0 / 409.7 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.006087, allocations: 46.48 kB / 409.7 MB, free: 2.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.006088, allocations: 0 / 409.7 MB, free: 2.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002446/0.006333, allocations: 113.5 kB / 409.8 MB, free: 2.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.006377, allocations: 106.8 kB / 409.9 MB, free: 2.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.00648, allocations: 159.9 kB / 410.1 MB, free: 2.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.006492, allocations: 25.95 kB / 410.1 MB, free: 2.391 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.006553, allocations: 120 kB / 410.2 MB, free: 2.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.006574, allocations: 35.72 kB / 410.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.006607, allocations: 17.72 kB / 410.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.006688, allocations: 322.8 kB / 410.6 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.006736, allocations: 27.92 kB / 410.6 MB, free: 1.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/0.006812, allocations: 116.5 kB / 410.7 MB, free: 1.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.006915, allocations: 87.62 kB / 410.8 MB, free: 1.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.006918, allocations: 0 / 410.8 MB, free: 1.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002259/0.007144, allocations: 134.3 kB / 411 MB, free: 1.477 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.007157, allocations: 7.938 kB / 411 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.007163, allocations: 7.984 kB / 411 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.007312, allocations: 36.92 kB / 411 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.007371, allocations: 19.98 kB / 411 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1625/0.1699, allocations: 1.317 MB / 412.3 MB, free: 22.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.17, allocations: 6.156 kB / 412.3 MB, free: 22.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.17, allocations: 3.469 kB / 412.4 MB, free: 22.21 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.0001055/0.1701, allocations: 133.7 kB / 412.5 MB, free: 22.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1702, allocations: 8.5 kB / 412.5 MB, free: 22.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.1702, allocations: 16.47 kB / 412.5 MB, free: 22.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1702, allocations: 2.344 kB / 412.5 MB, free: 22.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1702, allocations: 5.031 kB / 412.5 MB, free: 22.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1702, allocations: 1.688 kB / 412.5 MB, free: 22.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.1703, allocations: 143.2 kB / 412.7 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.1703, allocations: 1.984 kB / 412.7 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.1704, allocations: 19.36 kB / 412.7 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1704, allocations: 1 kB / 412.7 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1704, allocations: 1.578 kB / 412.7 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1704, allocations: 3.344 kB / 412.7 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1704, allocations: 0.7031 kB / 412.7 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1707, allocations: 238.4 kB / 412.9 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.1707, allocations: 11.84 kB / 412.9 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.1707, allocations: 1.344 kB / 412.9 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.162e-05/0.1708, allocations: 4.844 kB / 412.9 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.1708, allocations: 16.42 kB / 412.9 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-06/0.1708, allocations: 3.547 kB / 413 MB, free: 21.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.689e-05/0.1709, allocations: 116.3 kB / 413.1 MB, free: 21.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1709, allocations: 0 / 413.1 MB, free: 21.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001887/0.171, allocations: 28.52 kB / 413.1 MB, free: 21.75 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 9.264e-05/0.1711, allocations: 97.48 kB / 413.2 MB, free: 21.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003895/0.1715, allocations: 200.3 kB / 413.4 MB, free: 21.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1715, allocations: 0 / 413.4 MB, free: 21.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.667e-05/0.1716, allocations: 27.5 kB / 413.4 MB, free: 21.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1718, allocations: 29.31 kB / 413.4 MB, free: 21.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.1722, allocations: 273.1 kB / 413.7 MB, free: 21.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.035e-05/0.1723, allocations: 93.59 kB / 413.8 MB, free: 21.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.1723, allocations: 15.02 kB / 413.8 MB, free: 21.28 MB / 330.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1723, allocations: 0 / 413.8 MB, free: 21.28 MB / 330.7 MB Notification: Performance of Templates: time 0.003189/0.1755, allocations: 1.762 MB / 415.6 MB, free: 21.21 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=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_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_dev_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.671271209605038]