Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001705/0.001705, allocations: 101 kB / 20.45 MB, free: 1.5 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.002142/0.002142, allocations: 217.2 kB / 23.76 MB, free: 4.68 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.404/1.404, allocations: 207.6 MB / 234.5 MB, free: 10 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.07043/0.07043, allocations: 14.39 MB / 301.2 MB, free: 7.527 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_symb_jac_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_symb_jac_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.003195/0.003195, allocations: 71.05 kB / 425 MB, free: 36.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1053, allocations: 52.9 MB / 477.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.004567/0.1099, allocations: 1.811 MB / 479.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005223/0.1104, allocations: 167.4 kB / 479.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1105, allocations: 4 kB / 479.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.1107, allocations: 19.73 kB / 479.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1109, allocations: 35.78 kB / 479.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.1111, allocations: 43.89 kB / 480 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.1114, allocations: 127.6 kB / 480.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.1115, allocations: 45.45 kB / 480.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1116, allocations: 47.84 kB / 480.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.1118, allocations: 55.7 kB / 480.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1118, allocations: 8 kB / 480.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.098e-05/0.1119, allocations: 12 kB / 480.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.1119, allocations: 27.84 kB / 480.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.393e-05/0.112, allocations: 55.67 kB / 480.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1122, allocations: 99.56 kB / 480.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1122, allocations: 0 / 480.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-05/0.1122, allocations: 4 kB / 480.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1122, allocations: 0 / 480.4 MB, free: 12.89 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.0008107/0.1131, allocations: 353.7 kB / 480.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1131, allocations: 12.03 kB / 480.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.1132, allocations: 16.84 kB / 480.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.1136, allocations: 158.9 kB / 481 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1136, allocations: 12.31 kB / 481 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.1136, allocations: 4.375 kB / 481 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.114, allocations: 124.3 kB / 481.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.114, allocations: 0 / 481.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1141, allocations: 8 kB / 481.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.1141, allocations: 4 kB / 481.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.1144, allocations: 59.89 kB / 481.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.1154, allocations: 416.4 kB / 481.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.1161, allocations: 115.9 kB / 481.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.1163, allocations: 46.55 kB / 481.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1163, allocations: 8 kB / 481.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.1163, allocations: 34.5 kB / 481.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.1163, allocations: 0 / 481.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006249/0.1169, allocations: 125.5 kB / 481.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.506e-05/0.117, allocations: 107.1 kB / 482 MB, free: 11.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.1173, allocations: 150.4 kB / 482.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1173, allocations: 25.7 kB / 482.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1174, allocations: 120 kB / 482.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.1175, allocations: 31.73 kB / 482.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.1175, allocations: 17.72 kB / 482.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1177, allocations: 326.8 kB / 482.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1179, allocations: 23.98 kB / 482.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.1181, allocations: 73 kB / 482.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.1184, allocations: 83.38 kB / 482.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1184, allocations: 0 / 482.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006397/0.1191, allocations: 138.6 kB / 483 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1191, allocations: 9.719 kB / 483 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1191, allocations: 0 / 483 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.1194, allocations: 40.86 kB / 483 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.1195, allocations: 15.98 kB / 483 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.1215, allocations: 1.346 MB / 484.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.1216, allocations: 19.91 kB / 484.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1216, allocations: 4 kB / 484.4 MB, free: 8.512 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.000162/0.1218, allocations: 113.8 kB / 484.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.1219, allocations: 11.95 kB / 484.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.1219, allocations: 24.53 kB / 484.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.1219, allocations: 7.984 kB / 484.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1219, allocations: 0 / 484.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1219, allocations: 0 / 484.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.1223, allocations: 176.7 kB / 484.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1223, allocations: 0 / 484.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.1225, allocations: 23.92 kB / 484.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1225, allocations: 0 / 484.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.1225, allocations: 7.938 kB / 484.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.1225, allocations: 4 kB / 484.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1225, allocations: 4 kB / 484.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.1249, allocations: 1.296 MB / 486.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.1249, allocations: 19.92 kB / 486.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1249, allocations: 0 / 486.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1251, allocations: 8.094 kB / 486.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.1252, allocations: 11.98 kB / 486.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1252, allocations: 4 kB / 486.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.1253, allocations: 123.9 kB / 486.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1253, allocations: 0 / 486.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006753/0.126, allocations: 24 kB / 486.3 MB, free: 6.488 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.0001257/0.1261, allocations: 91.25 kB / 486.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006946/0.1268, allocations: 198.7 kB / 486.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1268, allocations: 3.938 kB / 486.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.127, allocations: 39.84 kB / 486.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.1275, allocations: 27.42 kB / 486.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.1285, allocations: 405.5 kB / 487 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.129, allocations: 0.708 MB / 487.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.129, allocations: 11.44 kB / 487.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.129, allocations: 0 / 487.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of Templates: time 0.005396/0.1344, allocations: 1.745 MB / 489.5 MB, free: 3.172 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_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: 7.302633868064731]