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.0007428/0.0007428, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0007981/0.0007981, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8258/0.8258, allocations: 177.1 MB / 202.8 MB, free: 5.543 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.04423/0.04423, allocations: 12.52 MB / 271.7 MB, free: 0.9922 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.432e-06/1.432e-06, allocations: 0 / 405.2 MB, free: 6.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.421e-05, allocations: 2.281 kB / 405.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002055/0.002079, allocations: 1.776 MB / 407 MB, free: 5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000304/0.002383, allocations: 147.5 kB / 407.1 MB, free: 4.855 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.7e-05/0.00247, allocations: 3.938 kB / 407.1 MB, free: 4.852 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.002591, allocations: 23.73 kB / 407.1 MB, free: 4.828 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.002736, allocations: 31.78 kB / 407.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.661e-05/0.002813, allocations: 35.95 kB / 407.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.002949, allocations: 131.6 kB / 407.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.003071, allocations: 33.52 kB / 407.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.395e-05/0.003145, allocations: 67.83 kB / 407.4 MB, free: 4.527 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.003224, allocations: 35.88 kB / 407.5 MB, free: 4.492 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.003248, allocations: 12 kB / 407.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.003261, allocations: 8 kB / 407.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.003285, allocations: 27.86 kB / 407.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.003316, allocations: 31.91 kB / 407.5 MB, free: 4.414 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.003446, allocations: 111.5 kB / 407.7 MB, free: 4.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003448, allocations: 0 / 407.7 MB, free: 4.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.003449, allocations: 0 / 407.7 MB, free: 4.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.003453, allocations: 4 kB / 407.7 MB, free: 4.301 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.0004453/0.003899, allocations: 353.8 kB / 408 MB, free: 3.922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.003933, allocations: 8.031 kB / 408 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.003974, allocations: 20.78 kB / 408 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.004187, allocations: 158.1 kB / 408.2 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.0042, allocations: 8.375 kB / 408.2 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.004227, allocations: 12.38 kB / 408.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.004402, allocations: 120.8 kB / 408.3 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.004412, allocations: 4.125 kB / 408.3 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.004424, allocations: 4.125 kB / 408.3 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.00443, allocations: 4 kB / 408.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.004543, allocations: 59.95 kB / 408.4 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.004992, allocations: 373 kB / 408.8 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.00526, allocations: 123.9 kB / 408.9 MB, free: 2.938 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.266e-05/0.005322, allocations: 46.5 kB / 408.9 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.005339, allocations: 4 kB / 408.9 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.005359, allocations: 42.5 kB / 409 MB, free: 2.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.00536, allocations: 0 / 409 MB, free: 2.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002494/0.005609, allocations: 113.8 kB / 409.1 MB, free: 2.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.005652, allocations: 118.8 kB / 409.2 MB, free: 2.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.005751, allocations: 152.4 kB / 409.3 MB, free: 2.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.005763, allocations: 25.7 kB / 409.4 MB, free: 2.379 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.00582, allocations: 116 kB / 409.5 MB, free: 2.262 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.005839, allocations: 27.75 kB / 409.5 MB, free: 2.234 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.005874, allocations: 25.7 kB / 409.5 MB, free: 2.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.005949, allocations: 322.8 kB / 409.9 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.005995, allocations: 19.98 kB / 409.9 MB, free: 1.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.006071, allocations: 112.5 kB / 410 MB, free: 1.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.006174, allocations: 83.38 kB / 410.1 MB, free: 1.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006176, allocations: 0 / 410.1 MB, free: 1.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002194/0.006396, allocations: 142.6 kB / 410.2 MB, free: 1.477 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.006409, allocations: 4.094 kB / 410.2 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.006414, allocations: 7.984 kB / 410.2 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.00656, allocations: 36.83 kB / 410.2 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.006616, allocations: 19.98 kB / 410.3 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1246/0.1312, allocations: 1.311 MB / 411.6 MB, free: 22.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1313, allocations: 12.77 kB / 411.6 MB, free: 22.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1313, allocations: 3.719 kB / 411.6 MB, free: 22.16 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 7.469e-05/0.1314, allocations: 132.8 kB / 411.7 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.1314, allocations: 19.78 kB / 411.7 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.1315, allocations: 14.06 kB / 411.8 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1315, allocations: 5.062 kB / 411.8 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.1315, allocations: 1.375 kB / 411.8 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1315, allocations: 0.6562 kB / 411.8 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.1316, allocations: 137.5 kB / 411.9 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1316, allocations: 1.719 kB / 411.9 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.227e-05/0.1317, allocations: 22.55 kB / 411.9 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1317, allocations: 2.156 kB / 411.9 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1317, allocations: 1.578 kB / 411.9 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1317, allocations: 5.922 kB / 411.9 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1317, allocations: 4.781 kB / 411.9 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.1319, allocations: 226.7 kB / 412.2 MB, free: 21.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.1319, allocations: 20.31 kB / 412.2 MB, free: 21.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1319, allocations: 3.172 kB / 412.2 MB, free: 21.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.1319, allocations: 8.141 kB / 412.2 MB, free: 21.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.132, allocations: 10.36 kB / 412.2 MB, free: 21.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.132, allocations: 3.188 kB / 412.2 MB, free: 21.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.49e-05/0.132, allocations: 120.2 kB / 412.3 MB, free: 21.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.132, allocations: 0 / 412.3 MB, free: 21.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.1322, allocations: 23.47 kB / 412.3 MB, free: 21.7 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 6.758e-05/0.1323, allocations: 94.16 kB / 412.4 MB, free: 21.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.1326, allocations: 197.6 kB / 412.6 MB, free: 21.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1326, allocations: 4.406 kB / 412.6 MB, free: 21.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.1326, allocations: 28.62 kB / 412.7 MB, free: 21.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1328, allocations: 27.12 kB / 412.7 MB, free: 21.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.1332, allocations: 247 kB / 412.9 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.116e-05/0.1332, allocations: 94.28 kB / 413 MB, free: 21.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.1333, allocations: 17.88 kB / 413 MB, free: 21.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.1333, allocations: 14.03 kB / 413.1 MB, free: 21.26 MB / 330.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1333, allocations: 0 / 413.1 MB, free: 21.26 MB / 330.7 MB Notification: Performance of Templates: time 0.002796/0.1361, allocations: 1.349 MB / 414.4 MB, free: 21.16 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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 50] 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: 2.5278765987604856]