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.0009873/0.0009873, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009497/0.0009497, allocations: 173 kB / 23.5 MB, free: 1.051 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.9012/0.9012, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.04788/0.04788, allocations: 12.73 MB / 273 MB, free: 0.7617 MB / 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.713e-06/1.713e-06, allocations: 0 / 349.1 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.566e-05/3.737e-05, allocations: 8.781 kB / 349.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.00337/0.003408, allocations: 1.815 MB / 350.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004982/0.003906, allocations: 151.5 kB / 351.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.004024, allocations: 11.94 kB / 351.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.004182, allocations: 19.75 kB / 351.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.004358, allocations: 23.84 kB / 351.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.00447, allocations: 39.91 kB / 351.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.004677, allocations: 139.5 kB / 351.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.004823, allocations: 33.53 kB / 351.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.004935, allocations: 63.88 kB / 351.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.972e-05/0.005035, allocations: 39.83 kB / 351.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.005068, allocations: 16 kB / 351.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.703e-05/0.005085, allocations: 8 kB / 351.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.005117, allocations: 23.91 kB / 351.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.005163, allocations: 31.86 kB / 351.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.005319, allocations: 75.67 kB / 351.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.005322, allocations: 0 / 351.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005323, allocations: 0 / 351.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.005327, allocations: 0 / 351.6 MB, free: 14.44 MB / 330.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.0006673/0.005995, allocations: 456.1 kB / 352 MB, free: 13.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.006038, allocations: 12.03 kB / 352.1 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.006112, allocations: 16.84 kB / 352.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.006368, allocations: 168.9 kB / 352.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.006385, allocations: 8.312 kB / 352.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.006421, allocations: 12.38 kB / 352.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.006664, allocations: 116.4 kB / 352.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.006674, allocations: 192 / 352.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.006691, allocations: 8.125 kB / 352.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.006703, allocations: 7.984 kB / 352.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.911e-05/0.006802, allocations: 31.92 kB / 352.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.007446, allocations: 433.9 kB / 352.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.007781, allocations: 117.2 kB / 353 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.222e-05/0.007844, allocations: 43.17 kB / 353 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.00786, allocations: 0 / 353 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.007891, allocations: 45.33 kB / 353 MB, free: 12.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.007892, allocations: 4 kB / 353 MB, free: 12.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002605/0.008153, allocations: 81.56 kB / 353.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.008207, allocations: 106.8 kB / 353.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.008504, allocations: 207.5 kB / 353.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.008528, allocations: 33.64 kB / 353.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.282e-05/0.008611, allocations: 162.7 kB / 353.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.008635, allocations: 19.75 kB / 353.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.008687, allocations: 35.36 kB / 353.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.008816, allocations: 0.4925 MB / 354.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.008856, allocations: 8 kB / 354.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.008949, allocations: 117.5 kB / 354.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.648e-05/0.009046, allocations: 58.69 kB / 354.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.00905, allocations: 4 kB / 354.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002802/0.00933, allocations: 117.4 kB / 354.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.009345, allocations: 8.125 kB / 354.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.009351, allocations: 0 / 354.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/0.009626, allocations: 43.64 kB / 354.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.009706, allocations: 11.98 kB / 354.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.0109, allocations: 1.779 MB / 356.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.769e-05/0.01098, allocations: 11.89 kB / 356.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.01099, allocations: 7.984 kB / 356.3 MB, free: 9.238 MB / 330.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 9.796e-05/0.01109, allocations: 168.5 kB / 356.5 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.01113, allocations: 11.95 kB / 356.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.01116, allocations: 16.41 kB / 356.5 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01116, allocations: 4 kB / 356.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01116, allocations: 0 / 356.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01117, allocations: 8.016 kB / 356.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.01135, allocations: 148.5 kB / 356.7 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.01135, allocations: 0 / 356.7 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.01146, allocations: 15.98 kB / 356.7 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01146, allocations: 0 / 356.7 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.01148, allocations: 4 kB / 356.7 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01148, allocations: 0 / 356.7 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01148, allocations: 0 / 356.7 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.012, allocations: 259.1 kB / 356.9 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.01203, allocations: 7.953 kB / 357 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.01204, allocations: 12.02 kB / 357 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01215, allocations: 8.062 kB / 357 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.01219, allocations: 7.984 kB / 357 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.0122, allocations: 0 / 357 MB, free: 8.508 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.069e-05/0.01229, allocations: 162.3 kB / 357.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01229, allocations: 0 / 357.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.01257, allocations: 27.89 kB / 357.2 MB, free: 8.324 MB / 330.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 0.0001004/0.01267, allocations: 91.25 kB / 357.3 MB, free: 8.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003977/0.01307, allocations: 237.5 kB / 357.5 MB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01307, allocations: 0 / 357.5 MB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.01313, allocations: 27.61 kB / 357.5 MB, free: 7.938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.01346, allocations: 30.17 kB / 357.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.01399, allocations: 249.4 kB / 357.8 MB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.801e-05/0.01404, allocations: 67.33 kB / 357.9 MB, free: 7.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.01409, allocations: 8.75 kB / 357.9 MB, free: 7.531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.01414, allocations: 16.5 kB / 357.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01414, allocations: 0 / 357.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of Templates: time 0.004232/0.01837, allocations: 1.383 MB / 359.3 MB, free: 6.148 MB / 330.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.8207949330098927]