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.001496/0.001496, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001611/0.001611, allocations: 162.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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.363/1.363, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.07526/0.07526, allocations: 12.52 MB / 271.7 MB, free: 4.602 MB / 254.1 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.422e-06/1.422e-06, allocations: 0 / 405.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.939e-05, allocations: 6.281 kB / 405.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003308/0.003337, allocations: 1.771 MB / 406.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004574/0.003794, allocations: 151.5 kB / 407.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.003926, allocations: 4 kB / 407.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.004069, allocations: 27.73 kB / 407.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.004242, allocations: 23.8 kB / 407.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.004356, allocations: 43.88 kB / 407.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.004566, allocations: 127.6 kB / 407.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.004724, allocations: 33.53 kB / 407.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.00484, allocations: 71.81 kB / 407.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.605e-05/0.004936, allocations: 35.89 kB / 407.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.004965, allocations: 8 kB / 407.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.004987, allocations: 16 kB / 407.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.005027, allocations: 27.84 kB / 407.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.005076, allocations: 27.92 kB / 407.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.005265, allocations: 115.6 kB / 407.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005267, allocations: 0 / 407.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005268, allocations: 0 / 407.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.005272, allocations: 0 / 407.6 MB, free: 10.07 MB / 334.1 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.0006238/0.005896, allocations: 349.7 kB / 408 MB, free: 9.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.005934, allocations: 16.03 kB / 408 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.005986, allocations: 12.84 kB / 408 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.00627, allocations: 154.2 kB / 408.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.006289, allocations: 12.31 kB / 408.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.006321, allocations: 4.375 kB / 408.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.006577, allocations: 119.5 kB / 408.3 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006587, allocations: 192 / 408.3 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.006607, allocations: 12.12 kB / 408.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.006616, allocations: 0 / 408.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.006817, allocations: 71.89 kB / 408.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.00744, allocations: 365 kB / 408.7 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.00784, allocations: 119.8 kB / 408.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.007955, allocations: 50.62 kB / 408.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.007973, allocations: 3.938 kB / 408.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.008, allocations: 42.5 kB / 408.9 MB, free: 8.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.008001, allocations: 0 / 408.9 MB, free: 8.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003976/0.008399, allocations: 121.5 kB / 409.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.008458, allocations: 102.8 kB / 409.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.008605, allocations: 150.4 kB / 409.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.008627, allocations: 33.64 kB / 409.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.008713, allocations: 120 kB / 409.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.00874, allocations: 28 kB / 409.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.008786, allocations: 25.7 kB / 409.5 MB, free: 7.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.008916, allocations: 318.8 kB / 409.8 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.009005, allocations: 19.98 kB / 409.8 MB, free: 7.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.009167, allocations: 124.5 kB / 410 MB, free: 7.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.009362, allocations: 79.34 kB / 410 MB, free: 7.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009364, allocations: 4.031 kB / 410 MB, free: 7.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003888/0.009753, allocations: 134.3 kB / 410.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.009767, allocations: 4 kB / 410.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.009774, allocations: 4 kB / 410.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.009983, allocations: 40.75 kB / 410.2 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.01008, allocations: 20.08 kB / 410.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.0113, allocations: 1.312 MB / 411.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.835e-05/0.01139, allocations: 12.28 kB / 411.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.01141, allocations: 4 kB / 411.6 MB, free: 5.758 MB / 334.1 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.000123/0.01153, allocations: 137.1 kB / 411.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.01157, allocations: 12.02 kB / 411.7 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.0116, allocations: 20.45 kB / 411.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.01161, allocations: 4 kB / 411.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01161, allocations: 0 / 411.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01162, allocations: 4 kB / 411.7 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.0118, allocations: 141.2 kB / 411.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.0118, allocations: 0 / 411.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.01192, allocations: 15.98 kB / 411.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.01193, allocations: 3.938 kB / 411.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.01194, allocations: 11.98 kB / 411.9 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01194, allocations: 4 kB / 411.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01195, allocations: 0 / 411.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.01233, allocations: 237.2 kB / 412.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.01235, allocations: 15.95 kB / 412.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.01237, allocations: 0 / 412.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01247, allocations: 4 kB / 412.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.01252, allocations: 15.92 kB / 412.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.01253, allocations: 0 / 412.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.01263, allocations: 123.4 kB / 412.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01263, allocations: 4 kB / 412.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.01288, allocations: 23.94 kB / 412.3 MB, free: 4.938 MB / 334.1 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.0001025/0.01298, allocations: 95.72 kB / 412.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.01348, allocations: 198.5 kB / 412.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01348, allocations: 0 / 412.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.01359, allocations: 36.11 kB / 412.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.01391, allocations: 30.02 kB / 412.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.01445, allocations: 250.9 kB / 412.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.061e-05/0.01454, allocations: 93.3 kB / 413 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.0146, allocations: 12.73 kB / 413 MB, free: 4.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.01464, allocations: 16.48 kB / 413.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01464, allocations: 0 / 413.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of Templates: time 0.004699/0.01934, allocations: 1.356 MB / 414.4 MB, free: 2.812 MB / 334.1 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.076383281499147]