Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001333/0.001333, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001544/0.001544, allocations: 209.5 kB / 22.25 MB, free: 4.852 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.477/1.477, allocations: 207.7 MB / 233.1 MB, free: 9.801 MB / 190.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.07291/0.07291, allocations: 14.39 MB / 299.7 MB, free: 7.266 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_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_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.002372/0.002372, allocations: 76.45 kB / 423.5 MB, free: 36.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1256, allocations: 52.9 MB / 476.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.00351/0.1291, allocations: 1.752 MB / 478.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004646/0.1296, allocations: 151.5 kB / 478.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1297, allocations: 7.938 kB / 478.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.1298, allocations: 23.8 kB / 478.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.13, allocations: 23.8 kB / 478.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.524e-05/0.1301, allocations: 39.89 kB / 478.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1303, allocations: 135.7 kB / 478.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1305, allocations: 33.45 kB / 478.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.614e-05/0.1306, allocations: 59.72 kB / 478.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1307, allocations: 39.78 kB / 478.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.1307, allocations: 8 kB / 478.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.32e-05/0.1307, allocations: 19.94 kB / 478.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.1308, allocations: 27.91 kB / 478.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.1308, allocations: 39.78 kB / 478.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.131, allocations: 107.5 kB / 478.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.131, allocations: 0 / 478.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.131, allocations: 0 / 478.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.131, allocations: 0 / 478.8 MB, free: 12.8 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.000661/0.1317, allocations: 357.8 kB / 479.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1317, allocations: 8.031 kB / 479.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.1318, allocations: 20.84 kB / 479.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.1321, allocations: 154.9 kB / 479.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1321, allocations: 4.375 kB / 479.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.1321, allocations: 12.38 kB / 479.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.1324, allocations: 128.2 kB / 479.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1324, allocations: 0 / 479.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1324, allocations: 0 / 479.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1324, allocations: 4 kB / 479.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.1326, allocations: 67.89 kB / 479.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.1333, allocations: 365 kB / 479.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.1337, allocations: 123.8 kB / 480 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1338, allocations: 46.62 kB / 480.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1338, allocations: 0 / 480.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1339, allocations: 38.56 kB / 480.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.1339, allocations: 4 kB / 480.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004109/0.1343, allocations: 121.5 kB / 480.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.1344, allocations: 110.8 kB / 480.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1345, allocations: 146.4 kB / 480.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1346, allocations: 29.7 kB / 480.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.1347, allocations: 120 kB / 480.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.1347, allocations: 23.75 kB / 480.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.1347, allocations: 33.89 kB / 480.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1349, allocations: 318.8 kB / 481 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.135, allocations: 19.98 kB / 481 MB, free: 10.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.1351, allocations: 120.5 kB / 481.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1353, allocations: 75.34 kB / 481.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1353, allocations: 0 / 481.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003834/0.1357, allocations: 146.3 kB / 481.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1357, allocations: 6.5 kB / 481.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1357, allocations: 0 / 481.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.1359, allocations: 32.83 kB / 481.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.136, allocations: 16.08 kB / 481.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.1374, allocations: 1.327 MB / 482.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1375, allocations: 15.91 kB / 482.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1375, allocations: 8.312 kB / 482.8 MB, free: 8.461 MB / 350.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.0001148/0.1376, allocations: 117.8 kB / 482.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.1376, allocations: 11.95 kB / 482.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.1377, allocations: 20.45 kB / 482.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1377, allocations: 4 kB / 482.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1377, allocations: 7.938 kB / 482.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1377, allocations: 0 / 482.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.1379, allocations: 141.3 kB / 483 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1379, allocations: 4 kB / 483.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.138, allocations: 19.92 kB / 483.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.138, allocations: 0 / 483.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.138, allocations: 0 / 483.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.138, allocations: 7.984 kB / 483.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.138, allocations: 4 kB / 483.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.1384, allocations: 237.1 kB / 483.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.1384, allocations: 11.94 kB / 483.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1384, allocations: 4 kB / 483.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1385, allocations: 4 kB / 483.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.1386, allocations: 11.92 kB / 483.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1386, allocations: 4 kB / 483.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.475e-05/0.1387, allocations: 119.9 kB / 483.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1387, allocations: 4.062 kB / 483.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1389, allocations: 23.89 kB / 483.5 MB, free: 7.66 MB / 350.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.0001093/0.139, allocations: 95.44 kB / 483.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005263/0.1396, allocations: 194.6 kB / 483.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1396, allocations: 3.938 kB / 483.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1397, allocations: 32.23 kB / 483.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.14, allocations: 31.59 kB / 483.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/0.1406, allocations: 264.9 kB / 484.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.384e-05/0.1407, allocations: 89.19 kB / 484.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.449e-05/0.1408, allocations: 8.75 kB / 484.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.1408, allocations: 15.42 kB / 484.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1408, allocations: 0 / 484.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of Templates: time 0.004877/0.1457, allocations: 1.411 MB / 485.6 MB, free: 5.484 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_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_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.043972903862596]