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.001341/0.001341, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001269/0.001269, allocations: 181 kB / 23.36 MB, free: 1.133 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.9423/0.9423, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.04838/0.04838, allocations: 13.12 MB / 273.4 MB, free: 220 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.563e-06/1.563e-06, allocations: 0 / 296.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.548e-05, allocations: 4.656 kB / 296.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002616/0.002641, allocations: 1.811 MB / 298.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004393/0.00308, allocations: 151.7 kB / 298.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.143e-05/0.003172, allocations: 7.969 kB / 298.9 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.003304, allocations: 20.73 kB / 298.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.003444, allocations: 37.73 kB / 298.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.91e-05/0.003534, allocations: 36.5 kB / 298.9 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.00369, allocations: 129.7 kB / 299.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.003809, allocations: 45.56 kB / 299.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.003918, allocations: 72.89 kB / 299.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.004019, allocations: 32.94 kB / 299.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.004046, allocations: 11.75 kB / 299.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.00406, allocations: 9 kB / 299.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.004089, allocations: 28.53 kB / 299.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.004122, allocations: 29.05 kB / 299.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.004261, allocations: 77.97 kB / 299.4 MB, free: 9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004264, allocations: 0 / 299.4 MB, free: 9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004265, allocations: 3.812 kB / 299.4 MB, free: 9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.00427, allocations: 0 / 299.4 MB, free: 9 MB / 266.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.0003632/0.004634, allocations: 320.9 kB / 299.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.004667, allocations: 10.5 kB / 299.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.004709, allocations: 18.52 kB / 299.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.004855, allocations: 150.8 kB / 299.9 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.004866, allocations: 9.328 kB / 299.9 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.004891, allocations: 11.38 kB / 299.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.00505, allocations: 112 kB / 300 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.005058, allocations: 8.359 kB / 300 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.005068, allocations: 6.938 kB / 300 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.005074, allocations: 2.062 kB / 300 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.821e-05/0.005122, allocations: 21.17 kB / 300 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.005501, allocations: 285.8 kB / 300.3 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.005705, allocations: 95.89 kB / 300.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.005735, allocations: 25.94 kB / 300.4 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.005752, allocations: 7.938 kB / 300.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.005772, allocations: 37.03 kB / 300.5 MB, free: 8.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.005773, allocations: 0 / 300.5 MB, free: 8.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001535/0.005927, allocations: 71.61 kB / 300.5 MB, free: 8.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.005953, allocations: 110.5 kB / 300.7 MB, free: 7.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.006033, allocations: 150.8 kB / 300.8 MB, free: 7.789 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.006043, allocations: 27.52 kB / 300.8 MB, free: 7.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.006092, allocations: 110.8 kB / 300.9 MB, free: 7.656 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.006108, allocations: 29.53 kB / 301 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.006142, allocations: 26.67 kB / 301 MB, free: 7.609 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.006181, allocations: 325.1 kB / 301.3 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.006199, allocations: 9.516 kB / 301.3 MB, free: 7.285 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.466e-05/0.006243, allocations: 94.52 kB / 301.4 MB, free: 7.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.54e-05/0.006299, allocations: 50.88 kB / 301.5 MB, free: 7.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.006301, allocations: 1.094 kB / 301.5 MB, free: 7.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00017/0.006471, allocations: 92.58 kB / 301.5 MB, free: 7.082 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.006485, allocations: 6.312 kB / 301.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.006491, allocations: 4.969 kB / 301.6 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.006669, allocations: 36.72 kB / 301.6 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.006722, allocations: 13.91 kB / 301.6 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006181/0.00734, allocations: 1.199 MB / 302.8 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.007389, allocations: 6.594 kB / 302.8 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.007396, allocations: 2.688 kB / 302.8 MB, free: 5.898 MB / 266.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 5.142e-05/0.007448, allocations: 117.7 kB / 302.9 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.007473, allocations: 12.55 kB / 302.9 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.714e-05/0.00749, allocations: 16.28 kB / 303 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.007493, allocations: 5.578 kB / 303 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.007495, allocations: 1.625 kB / 303 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.007499, allocations: 5.641 kB / 303 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.007608, allocations: 98.09 kB / 303.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.007611, allocations: 1.156 kB / 303.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.007673, allocations: 18.25 kB / 303.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.007677, allocations: 5.375 kB / 303.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.007687, allocations: 5.891 kB / 303.1 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.007689, allocations: 1.406 kB / 303.1 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.00769, allocations: 0 / 303.1 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.007811, allocations: 183.2 kB / 303.3 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.007827, allocations: 9.797 kB / 303.3 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.007839, allocations: 6.047 kB / 303.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.662e-05/0.007886, allocations: 4.047 kB / 303.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.007919, allocations: 10.25 kB / 303.3 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.007923, allocations: 2.125 kB / 303.3 MB, free: 5.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.131e-05/0.007965, allocations: 30.67 kB / 303.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007965, allocations: 1.219 kB / 303.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.008182, allocations: 22.86 kB / 303.4 MB, free: 5.457 MB / 266.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 7.752e-05/0.00826, allocations: 83.45 kB / 303.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.008499, allocations: 170.5 kB / 303.6 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.008505, allocations: 6.938 kB / 303.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.745e-05/0.008532, allocations: 18.25 kB / 303.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.008713, allocations: 30.25 kB / 303.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.009101, allocations: 243 kB / 303.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.009136, allocations: 66.14 kB / 304 MB, free: 4.961 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.827e-05/0.009184, allocations: 11.58 kB / 304 MB, free: 4.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.009247, allocations: 64.17 kB / 304 MB, free: 4.91 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.009249, allocations: 0 / 304 MB, free: 4.91 MB / 266.7 MB Notification: Performance of Templates: time 0.003666/0.01291, allocations: 1.424 MB / 305.5 MB, free: 4.73 MB / 266.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.831790767144412]