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.001892/0.001892, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.002548/0.002548, allocations: 165.3 kB / 22.76 MB, free: 1.648 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 1.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.0828/0.0828, allocations: 12.72 MB / 272.3 MB, free: 0.7422 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 2.965e-06/2.965e-06, allocations: 0 / 348.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.737e-05/4.033e-05, allocations: 6.25 kB / 348.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.005092/0.005133, allocations: 1.772 MB / 350.1 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006496/0.005782, allocations: 147.5 kB / 350.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.005944, allocations: 3.938 kB / 350.3 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.006152, allocations: 27.73 kB / 350.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.006391, allocations: 31.83 kB / 350.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.006541, allocations: 31.91 kB / 350.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.006862, allocations: 135.6 kB / 350.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.007054, allocations: 37.5 kB / 350.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.007212, allocations: 67.83 kB / 350.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.007357, allocations: 43.81 kB / 350.7 MB, free: 13.6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.007395, allocations: 8 kB / 350.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.187e-05/0.007426, allocations: 12 kB / 350.7 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.007473, allocations: 23.92 kB / 350.7 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.848e-05/0.007562, allocations: 31.91 kB / 350.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.007812, allocations: 111.5 kB / 350.8 MB, free: 13.42 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.007816, allocations: 0 / 350.8 MB, free: 13.42 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.007818, allocations: 0 / 350.8 MB, free: 13.42 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.007825, allocations: 0 / 350.8 MB, free: 13.42 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.000871/0.008696, allocations: 353.8 kB / 351.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.00874, allocations: 8.031 kB / 351.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.00884, allocations: 24.84 kB / 351.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.00929, allocations: 163 kB / 351.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.009314, allocations: 8.375 kB / 351.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.009361, allocations: 8.375 kB / 351.4 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.009789, allocations: 123.8 kB / 351.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.009801, allocations: 4.125 kB / 351.5 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.00983, allocations: 8.125 kB / 351.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.009843, allocations: 7.984 kB / 351.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.0102, allocations: 67.89 kB / 351.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.01123, allocations: 361.2 kB / 351.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.01192, allocations: 119.8 kB / 352.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.01213, allocations: 50.62 kB / 352.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.01216, allocations: 0 / 352.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.01221, allocations: 38.5 kB / 352.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.01221, allocations: 4 kB / 352.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007621/0.01297, allocations: 125.7 kB / 352.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.01309, allocations: 102.8 kB / 352.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.01337, allocations: 157 kB / 352.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.01341, allocations: 29.7 kB / 352.6 MB, free: 11.49 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.01356, allocations: 115.9 kB / 352.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.01363, allocations: 31.77 kB / 352.7 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/0.01372, allocations: 25.97 kB / 352.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.01397, allocations: 318.8 kB / 353 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.01415, allocations: 27.98 kB / 353.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.01445, allocations: 112.5 kB / 353.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.01487, allocations: 79.34 kB / 353.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01488, allocations: 0 / 353.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007724/0.01565, allocations: 150.2 kB / 353.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.01567, allocations: 4 kB / 353.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.01569, allocations: 4 kB / 353.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005232/0.01621, allocations: 44.92 kB / 353.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.01639, allocations: 15.98 kB / 353.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.01876, allocations: 1.323 MB / 354.8 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.01895, allocations: 7.953 kB / 354.8 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.01897, allocations: 0 / 354.8 MB, free: 9.074 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 0.0002291/0.0192, allocations: 141.7 kB / 354.9 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/0.01928, allocations: 11.95 kB / 355 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.01933, allocations: 12.47 kB / 355 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01933, allocations: 4 kB / 355 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.01933, allocations: 0 / 355 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01934, allocations: 3.938 kB / 355 MB, free: 8.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.01969, allocations: 141.3 kB / 355.1 MB, free: 8.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.01971, allocations: 8 kB / 355.1 MB, free: 8.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.01993, allocations: 15.98 kB / 355.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01993, allocations: 0 / 355.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.01995, allocations: 8 kB / 355.1 MB, free: 8.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.01995, allocations: 4 kB / 355.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01996, allocations: 0 / 355.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/0.02069, allocations: 237 kB / 355.4 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.02073, allocations: 11.94 kB / 355.4 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.02076, allocations: 3.984 kB / 355.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.02097, allocations: 8 kB / 355.4 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.02105, allocations: 7.984 kB / 355.4 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.02106, allocations: 4.062 kB / 355.4 MB, free: 8.398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.02124, allocations: 126.2 kB / 355.5 MB, free: 8.277 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02124, allocations: 0 / 355.5 MB, free: 8.277 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005034/0.02175, allocations: 20 kB / 355.6 MB, free: 8.258 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 0.000169/0.02192, allocations: 95.19 kB / 355.6 MB, free: 8.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008807/0.0228, allocations: 198.5 kB / 355.8 MB, free: 7.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.0228, allocations: 192 / 355.8 MB, free: 7.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.02302, allocations: 35.92 kB / 355.9 MB, free: 7.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.02362, allocations: 36.27 kB / 355.9 MB, free: 7.883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009696/0.02458, allocations: 250.1 kB / 356.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.02476, allocations: 93.44 kB / 356.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.02486, allocations: 8.484 kB / 356.3 MB, free: 7.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.02493, allocations: 16.5 kB / 356.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02493, allocations: 0 / 356.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of Templates: time 0.008243/0.03317, allocations: 1.369 MB / 357.6 MB, free: 6.117 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=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.560602184035815]