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.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.0009795/0.0009795, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0008894/0.0008894, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8803/0.8803, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.0481/0.0481, allocations: 12.99 MB / 273.3 MB, free: 320 kB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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 1.382e-06/1.382e-06, allocations: 0 / 350 MB, free: 14.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.11e-05, allocations: 2.312 kB / 350 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002567/0.002588, allocations: 1.821 MB / 351.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003311/0.002919, allocations: 147.5 kB / 352 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.731e-05/0.003016, allocations: 7.938 kB / 352 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.003142, allocations: 23.73 kB / 352 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.003276, allocations: 31.78 kB / 352 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.083e-05/0.003347, allocations: 31.97 kB / 352 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.003494, allocations: 131.6 kB / 352.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.003613, allocations: 41.5 kB / 352.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.003702, allocations: 71.81 kB / 352.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.003786, allocations: 35.89 kB / 352.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.003808, allocations: 8 kB / 352.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.144e-05/0.003829, allocations: 15.94 kB / 352.3 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.003855, allocations: 19.91 kB / 352.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.003894, allocations: 31.92 kB / 352.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.004018, allocations: 79.61 kB / 352.5 MB, free: 12.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.00402, allocations: 0 / 352.5 MB, free: 12.31 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004021, allocations: 0 / 352.5 MB, free: 12.31 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.004023, allocations: 0 / 352.5 MB, free: 12.31 MB / 282.7 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.0004312/0.004455, allocations: 452.1 kB / 352.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.004488, allocations: 8.031 kB / 352.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.004532, allocations: 24.84 kB / 352.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.004695, allocations: 160.9 kB / 353.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.004708, allocations: 12.38 kB / 353.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.00473, allocations: 8.359 kB / 353.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.004928, allocations: 128.7 kB / 353.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004935, allocations: 192 / 353.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.004947, allocations: 8.125 kB / 353.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.004954, allocations: 4 kB / 353.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.467e-05/0.004999, allocations: 19.97 kB / 353.3 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.005438, allocations: 402.6 kB / 353.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.005657, allocations: 121.2 kB / 353.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.005695, allocations: 43.11 kB / 353.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.005711, allocations: 4 kB / 353.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.005733, allocations: 33.39 kB / 353.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.005734, allocations: 0 / 353.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001689/0.005903, allocations: 77.58 kB / 353.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.005976, allocations: 115 kB / 354.1 MB, free: 10.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.006082, allocations: 204.6 kB / 354.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.006095, allocations: 29.7 kB / 354.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.006163, allocations: 162.7 kB / 354.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.006187, allocations: 35.72 kB / 354.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.006226, allocations: 23.38 kB / 354.5 MB, free: 10.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.006407, allocations: 0.4923 MB / 355 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.006427, allocations: 7.984 kB / 355 MB, free: 9.516 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.688e-05/0.006493, allocations: 117.5 kB / 355.1 MB, free: 9.363 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.686e-05/0.00656, allocations: 62.7 kB / 355.2 MB, free: 9.285 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006562, allocations: 0 / 355.2 MB, free: 9.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001866/0.006749, allocations: 105.2 kB / 355.3 MB, free: 9.172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.006762, allocations: 11.06 kB / 355.3 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.006766, allocations: 0 / 355.3 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.006944, allocations: 51.72 kB / 355.3 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.258e-05/0.006996, allocations: 11.98 kB / 355.4 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009984/0.007995, allocations: 1.753 MB / 357.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.008047, allocations: 19.81 kB / 357.1 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.008054, allocations: 4 kB / 357.1 MB, free: 7.207 MB / 282.7 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 7.551e-05/0.00813, allocations: 168.5 kB / 357.3 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.008159, allocations: 7.953 kB / 357.3 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.008181, allocations: 20.45 kB / 357.3 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.008182, allocations: 0 / 357.3 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.008184, allocations: 4 kB / 357.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.008187, allocations: 0 / 357.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.008326, allocations: 121.2 kB / 357.4 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008328, allocations: 0 / 357.4 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.008393, allocations: 19.92 kB / 357.5 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.008394, allocations: 4 kB / 357.5 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.008402, allocations: 4 kB / 357.5 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008403, allocations: 3.938 kB / 357.5 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.008405, allocations: 4.078 kB / 357.5 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.008561, allocations: 243.2 kB / 357.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.008579, allocations: 23.86 kB / 357.7 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.008591, allocations: 4 kB / 357.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.338e-05/0.008655, allocations: 0 / 357.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.008682, allocations: 7.984 kB / 357.8 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.008688, allocations: 4 kB / 357.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.008795, allocations: 151.2 kB / 357.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008795, allocations: 0 / 357.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.009029, allocations: 19.94 kB / 357.9 MB, free: 6.344 MB / 282.7 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 6.802e-05/0.009097, allocations: 99.19 kB / 358 MB, free: 6.238 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.009353, allocations: 237.3 kB / 358.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009354, allocations: 0 / 358.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.00939, allocations: 31.86 kB / 358.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.009658, allocations: 29.42 kB / 358.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.01001, allocations: 237.8 kB / 358.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.01005, allocations: 67.33 kB / 358.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.893e-05/0.0101, allocations: 12.56 kB / 358.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.01018, allocations: 86.19 kB / 358.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01018, allocations: 0 / 358.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of Templates: time 0.003675/0.01385, allocations: 1.474 MB / 360.2 MB, free: 4.016 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4975543869659305]