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.001374/0.001374, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00194/0.00194, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9726/0.9726, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.04939/0.04939, allocations: 13 MB / 274 MB, free: 312 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.433e-06/1.433e-06, allocations: 0 / 350.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.164e-05, allocations: 10.25 kB / 350.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003104/0.003126, allocations: 1.817 MB / 352.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003997/0.003525, allocations: 151.5 kB / 352.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.003637, allocations: 3.938 kB / 352.7 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.003786, allocations: 23.75 kB / 352.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.003943, allocations: 31.77 kB / 352.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.051e-05/0.004034, allocations: 31.97 kB / 352.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.00421, allocations: 131.6 kB / 352.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.004353, allocations: 45.5 kB / 353 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.004469, allocations: 67.83 kB / 353.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.857e-05/0.004567, allocations: 35.88 kB / 353.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.004594, allocations: 12 kB / 353.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.657e-05/0.004611, allocations: 8 kB / 353.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.004644, allocations: 23.86 kB / 353.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.004687, allocations: 39.84 kB / 353.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.004827, allocations: 71.67 kB / 353.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.00483, allocations: 0 / 353.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00483, allocations: 0 / 353.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.004834, allocations: 0 / 353.2 MB, free: 12.32 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.0005526/0.005386, allocations: 456 kB / 353.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.005425, allocations: 12.03 kB / 353.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.005477, allocations: 20.84 kB / 353.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.005696, allocations: 163.8 kB / 353.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.005713, allocations: 8.375 kB / 353.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.005742, allocations: 8.375 kB / 353.9 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.005935, allocations: 113.8 kB / 354 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.005944, allocations: 4.188 kB / 354 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.005959, allocations: 12.12 kB / 354 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.005966, allocations: 0 / 354 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.777e-05/0.006034, allocations: 30.88 kB / 354.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.006598, allocations: 402.6 kB / 354.4 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.006898, allocations: 121.3 kB / 354.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.006951, allocations: 43.11 kB / 354.6 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.006965, allocations: 0 / 354.6 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.006992, allocations: 41.33 kB / 354.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.006993, allocations: 0 / 354.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002178/0.007211, allocations: 85.69 kB / 354.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.007266, allocations: 102.8 kB / 354.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.007408, allocations: 205.8 kB / 355 MB, free: 10.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.007426, allocations: 29.7 kB / 355.1 MB, free: 10.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.007511, allocations: 162.9 kB / 355.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.007535, allocations: 23.75 kB / 355.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.007585, allocations: 35.34 kB / 355.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.007729, allocations: 0.4962 MB / 355.8 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.899e-05/0.007758, allocations: 4.062 kB / 355.8 MB, free: 9.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.007844, allocations: 129.4 kB / 355.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/0.007925, allocations: 54.69 kB / 356 MB, free: 9.285 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.007928, allocations: 0 / 356 MB, free: 9.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002432/0.008171, allocations: 101.3 kB / 356.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.008188, allocations: 11.94 kB / 356.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.008193, allocations: 0 / 356.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.008423, allocations: 43.58 kB / 356.1 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.008502, allocations: 20.08 kB / 356.1 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.009545, allocations: 1.753 MB / 357.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.009598, allocations: 11.89 kB / 357.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.009608, allocations: 0 / 357.9 MB, free: 7.219 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.292e-05/0.009681, allocations: 164.5 kB / 358.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.009707, allocations: 15.94 kB / 358.1 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.009723, allocations: 16.5 kB / 358.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.009725, allocations: 4 kB / 358.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.22e-07/0.009725, allocations: 0 / 358.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009728, allocations: 0 / 358.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.009834, allocations: 125.2 kB / 358.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.009837, allocations: 4.062 kB / 358.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.009896, allocations: 23.86 kB / 358.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.009898, allocations: 4 kB / 358.2 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.009905, allocations: 0 / 358.2 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009906, allocations: 0 / 358.2 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009908, allocations: 4 kB / 358.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.01005, allocations: 247.2 kB / 358.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.01006, allocations: 15.83 kB / 358.5 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.01008, allocations: 4 kB / 358.5 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.01012, allocations: 7.938 kB / 358.5 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.01016, allocations: 7.984 kB / 358.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.01016, allocations: 3.984 kB / 358.5 MB, free: 6.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.638e-05/0.01022, allocations: 150.3 kB / 358.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01022, allocations: 0 / 358.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.01039, allocations: 19.94 kB / 358.7 MB, free: 6.352 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 7.407e-05/0.01047, allocations: 99.28 kB / 358.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.01073, allocations: 241.3 kB / 359 MB, free: 5.988 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01073, allocations: 0 / 359 MB, free: 5.988 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.153e-05/0.01076, allocations: 23.62 kB / 359.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.01097, allocations: 31.91 kB / 359.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.01131, allocations: 237.8 kB / 359.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.01136, allocations: 67.34 kB / 359.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.901e-05/0.01139, allocations: 8.484 kB / 359.4 MB, free: 5.562 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.01147, allocations: 86.19 kB / 359.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01147, allocations: 0 / 359.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of Templates: time 0.002943/0.01441, allocations: 1.521 MB / 361 MB, free: 3.984 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.7763754497282207]