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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 106 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 207.6 MB / 231.9 MB, free: 3.246 MB / 174.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07038/0.07038, allocations: 14.42 MB / 298.4 MB, free: 0.8672 MB / 238.1 MB [Timeout remaining time 90] 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 71.89 kB / 421.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3063, allocations: 52.85 MB / 474.2 MB, free: 37.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.00248/0.3087, allocations: 1.808 MB / 476 MB, free: 35.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.3091, allocations: 151.3 kB / 476.2 MB, free: 35.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.3092, allocations: 3.125 kB / 476.2 MB, free: 35.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.3093, allocations: 15.09 kB / 476.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.3094, allocations: 41.66 kB / 476.2 MB, free: 35.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.3095, allocations: 40.89 kB / 476.3 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.3097, allocations: 126.5 kB / 476.4 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3098, allocations: 39.5 kB / 476.4 MB, free: 35.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.456e-05/0.3099, allocations: 49.05 kB / 476.5 MB, free: 35.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/0.31, allocations: 55.31 kB / 476.5 MB, free: 35.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.31, allocations: 12 kB / 476.5 MB, free: 35.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.919e-05/0.31, allocations: 9.219 kB / 476.6 MB, free: 35.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.3101, allocations: 18.45 kB / 476.6 MB, free: 35.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.3101, allocations: 55.81 kB / 476.6 MB, free: 35.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.3102, allocations: 114.1 kB / 476.7 MB, free: 35.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3102, allocations: 0 / 476.7 MB, free: 35.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3102, allocations: 0 / 476.7 MB, free: 35.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3103, allocations: 3.219 kB / 476.7 MB, free: 35.37 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.0004856/0.3107, allocations: 426.8 kB / 477.2 MB, free: 34.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.3108, allocations: 9.688 kB / 477.2 MB, free: 34.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.3108, allocations: 22.28 kB / 477.2 MB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.311, allocations: 219.1 kB / 477.4 MB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.311, allocations: 3.625 kB / 477.4 MB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.311, allocations: 14.72 kB / 477.4 MB, free: 34.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3113, allocations: 128.6 kB / 477.5 MB, free: 34.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3113, allocations: 0 / 477.5 MB, free: 34.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3113, allocations: 3.25 kB / 477.6 MB, free: 34.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3113, allocations: 0 / 477.6 MB, free: 34.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.3114, allocations: 68.78 kB / 477.6 MB, free: 34.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.3119, allocations: 447.8 kB / 478.1 MB, free: 34.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.3122, allocations: 124.2 kB / 478.2 MB, free: 34.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.3123, allocations: 40.89 kB / 478.2 MB, free: 34.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.3123, allocations: 3.156 kB / 478.2 MB, free: 34.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.769e-06/0.3123, allocations: 38.12 kB / 478.3 MB, free: 34.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3123, allocations: 0 / 478.3 MB, free: 34.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003282/0.3127, allocations: 126.7 kB / 478.4 MB, free: 33.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.3127, allocations: 102.8 kB / 478.5 MB, free: 33.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.3128, allocations: 159 kB / 478.6 MB, free: 33.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.3128, allocations: 25.7 kB / 478.7 MB, free: 33.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.3129, allocations: 113.3 kB / 478.8 MB, free: 33.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.3129, allocations: 34.3 kB / 478.8 MB, free: 33.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3129, allocations: 19.66 kB / 478.8 MB, free: 33.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.313, allocations: 321.5 kB / 479.1 MB, free: 33.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.313, allocations: 23.91 kB / 479.2 MB, free: 33.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.21e-05/0.3131, allocations: 65.78 kB / 479.2 MB, free: 33.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3133, allocations: 76.88 kB / 479.3 MB, free: 33.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3133, allocations: 4.031 kB / 479.3 MB, free: 33.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003177/0.3136, allocations: 139.6 kB / 479.4 MB, free: 33.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3136, allocations: 5.656 kB / 479.4 MB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3136, allocations: 7.156 kB / 479.5 MB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.3138, allocations: 31.25 kB / 479.5 MB, free: 33.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3139, allocations: 20.91 kB / 479.5 MB, free: 33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008134/0.3147, allocations: 1.455 MB / 481 MB, free: 31.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.3148, allocations: 14.14 kB / 481 MB, free: 31.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3148, allocations: 3.125 kB / 481 MB, free: 31.55 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 6.404e-05/0.3149, allocations: 124.2 kB / 481.1 MB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.3149, allocations: 10.66 kB / 481.1 MB, free: 31.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.3149, allocations: 19.47 kB / 481.1 MB, free: 31.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3149, allocations: 7.312 kB / 481.1 MB, free: 31.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.3149, allocations: 192 / 481.1 MB, free: 31.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.315, allocations: 0 / 481.1 MB, free: 31.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.3151, allocations: 215.8 kB / 481.3 MB, free: 31.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3151, allocations: 0 / 481.3 MB, free: 31.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.3152, allocations: 15.88 kB / 481.4 MB, free: 31.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3152, allocations: 0 / 481.4 MB, free: 31.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.3152, allocations: 7.156 kB / 481.4 MB, free: 31.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3152, allocations: 0 / 481.4 MB, free: 31.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3152, allocations: 3.125 kB / 481.4 MB, free: 31.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.3155, allocations: 246.5 kB / 481.6 MB, free: 30.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.3156, allocations: 88.31 kB / 481.7 MB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.3156, allocations: 3.938 kB / 481.7 MB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3157, allocations: 6.656 kB / 481.7 MB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.3157, allocations: 17.66 kB / 481.7 MB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3157, allocations: 0 / 481.7 MB, free: 30.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.032e-05/0.3158, allocations: 121.2 kB / 481.8 MB, free: 30.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3158, allocations: 0 / 481.8 MB, free: 30.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.316, allocations: 19.55 kB / 481.9 MB, free: 30.78 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 7.021e-05/0.3161, allocations: 103.7 kB / 482 MB, free: 30.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.3165, allocations: 192.8 kB / 482.2 MB, free: 30.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3165, allocations: 0 / 482.2 MB, free: 30.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.3166, allocations: 29.64 kB / 482.2 MB, free: 30.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3169, allocations: 39.33 kB / 482.2 MB, free: 30.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.3173, allocations: 287.1 kB / 482.5 MB, free: 30.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.3174, allocations: 0.7047 MB / 483.2 MB, free: 29.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.3174, allocations: 10.72 kB / 483.2 MB, free: 29.59 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3174, allocations: 7.188 kB / 483.2 MB, free: 29.59 MB / 382.1 MB Notification: Performance of Templates: time 0.002928/0.3204, allocations: 1.724 MB / 484.9 MB, free: 29.42 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/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