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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 109.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] 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.08113/0.08113, allocations: 16.95 MB / 319.6 MB, free: 9.27 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002072/0.002072, allocations: 67.88 kB / 448.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1373, allocations: 56.53 MB / 0.4936 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003503/0.1408, allocations: 1.803 MB / 0.4953 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004336/0.1413, allocations: 151.5 kB / 0.4955 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1414, allocations: 0 / 0.4955 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.1416, allocations: 27.73 kB / 0.4955 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.1417, allocations: 31.7 kB / 0.4955 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.1418, allocations: 43.95 kB / 0.4956 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1421, allocations: 127.6 kB / 0.4957 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1422, allocations: 33.34 kB / 0.4957 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.1423, allocations: 51.83 kB / 0.4958 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1424, allocations: 51.7 kB / 0.4958 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.1425, allocations: 12 kB / 0.4959 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.1425, allocations: 8 kB / 0.4959 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.1425, allocations: 27.86 kB / 0.4959 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.1426, allocations: 47.67 kB / 0.4959 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1428, allocations: 115.5 kB / 0.496 GB, free: 14.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1428, allocations: 4 kB / 0.496 GB, free: 14.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1428, allocations: 0 / 0.496 GB, free: 14.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1428, allocations: 0 / 0.496 GB, free: 14.33 MB / 382.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.0007511/0.1435, allocations: 430.8 kB / 0.4965 GB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1436, allocations: 8.031 kB / 0.4965 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.1436, allocations: 16.84 kB / 0.4965 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.144, allocations: 220.7 kB / 0.4967 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1441, allocations: 12.31 kB / 0.4967 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.1441, allocations: 12.36 kB / 0.4967 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1444, allocations: 116.3 kB / 0.4968 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1444, allocations: 0 / 0.4968 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.1444, allocations: 8 kB / 0.4968 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1444, allocations: 0 / 0.4968 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.1446, allocations: 67.89 kB / 0.4969 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.1454, allocations: 445.3 kB / 0.4973 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.1458, allocations: 119.8 kB / 0.4974 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1459, allocations: 42.62 kB / 0.4975 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.146, allocations: 0 / 0.4975 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.146, allocations: 42.5 kB / 0.4975 GB, free: 12.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.146, allocations: 0 / 0.4975 GB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004177/0.1464, allocations: 125.4 kB / 0.4976 GB, free: 12.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.1465, allocations: 106.8 kB / 0.4977 GB, free: 12.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1467, allocations: 149.9 kB / 0.4979 GB, free: 12.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1467, allocations: 33.7 kB / 0.4979 GB, free: 12.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.1468, allocations: 116 kB / 0.498 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.1468, allocations: 27.78 kB / 0.4981 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.1469, allocations: 29.64 kB / 0.4981 GB, free: 11.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1471, allocations: 314.8 kB / 0.4984 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/0.1472, allocations: 31.97 kB / 0.4984 GB, free: 11.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1473, allocations: 69.02 kB / 0.4985 GB, free: 11.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.1475, allocations: 79.59 kB / 0.4986 GB, free: 11.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1475, allocations: 4 kB / 0.4986 GB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003974/0.1479, allocations: 142.3 kB / 0.4987 GB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1479, allocations: 6.188 kB / 0.4987 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.1479, allocations: 4 kB / 0.4987 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/0.1482, allocations: 36.77 kB / 0.4987 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1483, allocations: 16.08 kB / 0.4988 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.1497, allocations: 1.457 MB / 0.5002 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.93e-05/0.1498, allocations: 7.969 kB / 0.5002 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.1498, allocations: 4 kB / 0.5002 GB, free: 9.621 MB / 382.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.0001267/0.15, allocations: 121.8 kB / 0.5003 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.15, allocations: 11.91 kB / 0.5003 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.15, allocations: 24.23 kB / 0.5003 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.15, allocations: 0 / 0.5003 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.15, allocations: 4.062 kB / 0.5003 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.15, allocations: 4 kB / 0.5003 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.1503, allocations: 201.6 kB / 0.5005 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1503, allocations: 4 kB / 0.5005 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.1504, allocations: 19.92 kB / 0.5006 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1504, allocations: 0 / 0.5006 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1505, allocations: 3.938 kB / 0.5006 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1505, allocations: 8.062 kB / 0.5006 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1505, allocations: 0 / 0.5006 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.1508, allocations: 233.2 kB / 0.5008 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.1509, allocations: 89.05 kB / 0.5009 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1509, allocations: 7.922 kB / 0.5009 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.151, allocations: 4 kB / 0.5009 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.1511, allocations: 19.98 kB / 0.5009 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1511, allocations: 4 kB / 0.5009 GB, free: 8.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1512, allocations: 115.2 kB / 0.501 GB, free: 8.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1512, allocations: 0 / 0.501 GB, free: 8.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1515, allocations: 23.94 kB / 0.501 GB, free: 8.645 MB / 382.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 0.0001255/0.1516, allocations: 95.19 kB / 0.5011 GB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005447/0.1522, allocations: 202.8 kB / 0.5013 GB, free: 8.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1522, allocations: 0 / 0.5013 GB, free: 8.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1523, allocations: 27.92 kB / 0.5014 GB, free: 8.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1526, allocations: 38.45 kB / 0.5014 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006553/0.1533, allocations: 260.9 kB / 0.5016 GB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.1537, allocations: 0.7002 MB / 0.5023 GB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.794e-05/0.1538, allocations: 12.55 kB / 0.5023 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.1538, allocations: 15.44 kB / 0.5024 GB, free: 7.227 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1538, allocations: 0 / 0.5024 GB, free: 7.227 MB / 382.1 MB Notification: Performance of Templates: time 0.004703/0.1585, allocations: 1.284 MB / 0.5036 GB, free: 5.949 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.0719608827494085]