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.001822/0.001822, allocations: 110 kB / 16.41 MB, free: 6.508 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.001966/0.001966, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.386/1.386, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.07686/0.07686, allocations: 16.67 MB / 313.9 MB, free: 12.41 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.001843/0.001843, allocations: 63.91 kB / 437.3 MB, free: 5.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1328, allocations: 53.55 MB / 490.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.005561/0.1385, allocations: 1.803 MB / 492.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006706/0.1392, allocations: 151.5 kB / 492.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.1393, allocations: 7.938 kB / 492.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.1396, allocations: 19.8 kB / 492.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1399, allocations: 31.78 kB / 492.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.1401, allocations: 39.89 kB / 492.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.1404, allocations: 123.7 kB / 493 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.1407, allocations: 53.31 kB / 493 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1408, allocations: 47.73 kB / 493.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.141, allocations: 55.75 kB / 493.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.1411, allocations: 12 kB / 493.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-05/0.1411, allocations: 12 kB / 493.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.1412, allocations: 19.86 kB / 493.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.416e-05/0.1413, allocations: 51.73 kB / 493.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.1416, allocations: 111.4 kB / 493.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.1416, allocations: 4 kB / 493.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1416, allocations: 0 / 493.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1416, allocations: 0 / 493.4 MB, free: 13.24 MB / 366.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.0009927/0.1426, allocations: 430.9 kB / 493.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.1427, allocations: 12.03 kB / 493.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.1428, allocations: 16.83 kB / 493.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.1433, allocations: 220.7 kB / 494 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1433, allocations: 4.375 kB / 494 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.1434, allocations: 8.375 kB / 494 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.1438, allocations: 127.1 kB / 494.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1439, allocations: 7.875 kB / 494.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.1439, allocations: 0 / 494.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1439, allocations: 7.984 kB / 494.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.1443, allocations: 55.97 kB / 494.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.1453, allocations: 445.3 kB / 494.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.146, allocations: 127.8 kB / 494.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.1463, allocations: 50.56 kB / 494.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1463, allocations: 0 / 494.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.1464, allocations: 34.56 kB / 494.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.1464, allocations: 0 / 494.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007267/0.1471, allocations: 133.5 kB / 495 MB, free: 11.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.1473, allocations: 110.8 kB / 495.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.1475, allocations: 157.2 kB / 495.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.1476, allocations: 25.7 kB / 495.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1477, allocations: 116 kB / 495.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.1478, allocations: 23.78 kB / 495.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.1479, allocations: 25.7 kB / 495.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.1482, allocations: 327 kB / 495.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1483, allocations: 23.98 kB / 495.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.1486, allocations: 57.14 kB / 495.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.1489, allocations: 83.38 kB / 495.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.149, allocations: 256 / 495.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006698/0.1496, allocations: 146.2 kB / 496.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.1497, allocations: 8.094 kB / 496.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.1497, allocations: 7.984 kB / 496.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/0.1501, allocations: 32.83 kB / 496.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.1503, allocations: 15.98 kB / 496.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.1525, allocations: 1.453 MB / 497.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.1527, allocations: 4 kB / 497.6 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.1527, allocations: 0 / 497.6 MB, free: 8.539 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.0001982/0.1529, allocations: 137.8 kB / 497.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.153, allocations: 11.91 kB / 497.7 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.153, allocations: 20.25 kB / 497.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1531, allocations: 0 / 497.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.1531, allocations: 4 kB / 497.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1531, allocations: 3.938 kB / 497.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.1535, allocations: 205.6 kB / 498 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1535, allocations: 0 / 498 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.1537, allocations: 15.98 kB / 498 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1538, allocations: 4 kB / 498 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.1538, allocations: 7.938 kB / 498 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1538, allocations: 0 / 498 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.1538, allocations: 4.125 kB / 498 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/0.1545, allocations: 237.1 kB / 498.2 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.1546, allocations: 93.03 kB / 498.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.1547, allocations: 8 kB / 498.3 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.1549, allocations: 8.188 kB / 498.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.1549, allocations: 7.984 kB / 498.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.155, allocations: 7.938 kB / 498.3 MB, free: 7.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1552, allocations: 115.2 kB / 498.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1552, allocations: 0 / 498.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004349/0.1556, allocations: 20 kB / 498.5 MB, free: 7.551 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 0.0001541/0.1558, allocations: 103.2 kB / 498.6 MB, free: 7.441 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007895/0.1566, allocations: 194.6 kB / 498.8 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1566, allocations: 0 / 498.8 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.1568, allocations: 31.92 kB / 498.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.1574, allocations: 42.97 kB / 498.8 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008617/0.1583, allocations: 248.7 kB / 499.1 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.1588, allocations: 0.708 MB / 499.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1589, allocations: 8.562 kB / 499.8 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.159, allocations: 11.44 kB / 499.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.159, allocations: 0 / 499.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of Templates: time 0.007293/0.1663, allocations: 1.285 MB / 0.4894 GB, free: 4.855 MB / 366.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: 4.509615552960895]