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.0007596/0.0007596, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0007599/0.0007599, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8161/0.8161, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.04324/0.04324, allocations: 12.53 MB / 271.7 MB, free: 1.113 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.022e-06/1.022e-06, allocations: 0 / 405.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.946e-05, allocations: 2.281 kB / 405.2 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.001765/0.001784, allocations: 1.776 MB / 407 MB, free: 4.992 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002567/0.002041, allocations: 147.5 kB / 407.1 MB, free: 4.848 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.523e-05/0.002116, allocations: 7.938 kB / 407.1 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.002222, allocations: 23.73 kB / 407.1 MB, free: 4.816 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.002345, allocations: 23.8 kB / 407.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.14e-05/0.002406, allocations: 39.94 kB / 407.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.002531, allocations: 131.6 kB / 407.3 MB, free: 4.625 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.002641, allocations: 33.53 kB / 407.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.002707, allocations: 75.8 kB / 407.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.002778, allocations: 31.91 kB / 407.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.002802, allocations: 8 kB / 407.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.002814, allocations: 12 kB / 407.5 MB, free: 4.461 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.002836, allocations: 27.83 kB / 407.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.002865, allocations: 31.92 kB / 407.5 MB, free: 4.402 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.002983, allocations: 111.5 kB / 407.6 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002985, allocations: 4 kB / 407.7 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002985, allocations: 0 / 407.7 MB, free: 4.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.002989, allocations: 4 kB / 407.7 MB, free: 4.285 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.0004045/0.003393, allocations: 345.8 kB / 408 MB, free: 3.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.003427, allocations: 8.031 kB / 408 MB, free: 3.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.003461, allocations: 20.78 kB / 408 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.003638, allocations: 158.1 kB / 408.2 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.003649, allocations: 8.375 kB / 408.2 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.00367, allocations: 4.375 kB / 408.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.003825, allocations: 124.7 kB / 408.3 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.003832, allocations: 192 / 408.3 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.003845, allocations: 12.12 kB / 408.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.00385, allocations: 0 / 408.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.003953, allocations: 55.95 kB / 408.4 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.004336, allocations: 377 kB / 408.7 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.004575, allocations: 123.8 kB / 408.9 MB, free: 2.934 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.004633, allocations: 54.56 kB / 408.9 MB, free: 2.871 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.004647, allocations: 0 / 408.9 MB, free: 2.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.004661, allocations: 34.56 kB / 409 MB, free: 2.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.004662, allocations: 3.938 kB / 409 MB, free: 2.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002197/0.004881, allocations: 117.8 kB / 409.1 MB, free: 2.703 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.00492, allocations: 114.8 kB / 409.2 MB, free: 2.566 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.962e-05/0.00501, allocations: 156.2 kB / 409.3 MB, free: 2.402 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.005023, allocations: 29.7 kB / 409.4 MB, free: 2.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.005075, allocations: 116 kB / 409.5 MB, free: 2.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.00509, allocations: 23.75 kB / 409.5 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.005121, allocations: 25.7 kB / 409.5 MB, free: 2.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.005186, allocations: 322.8 kB / 409.8 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.00523, allocations: 19.98 kB / 409.9 MB, free: 1.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.005302, allocations: 116.5 kB / 410 MB, free: 1.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.961e-05/0.005402, allocations: 79.38 kB / 410.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.005405, allocations: 4.25 kB / 410.1 MB, free: 1.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001995/0.005604, allocations: 142.3 kB / 410.2 MB, free: 1.465 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.005614, allocations: 4.094 kB / 410.2 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.00562, allocations: 11.98 kB / 410.2 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/0.005748, allocations: 32.83 kB / 410.2 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.055e-05/0.005798, allocations: 11.98 kB / 410.3 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1208/0.1266, allocations: 1.315 MB / 411.6 MB, free: 22.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.1267, allocations: 8.781 kB / 411.6 MB, free: 22.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1267, allocations: 7.469 kB / 411.6 MB, free: 22.23 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 7.69e-05/0.1268, allocations: 128.5 kB / 411.7 MB, free: 22.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1268, allocations: 19.48 kB / 411.7 MB, free: 22.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.1269, allocations: 16.48 kB / 411.7 MB, free: 22.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1269, allocations: 6.906 kB / 411.8 MB, free: 22.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1269, allocations: 1.031 kB / 411.8 MB, free: 22.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1269, allocations: 1.781 kB / 411.8 MB, free: 22.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.127, allocations: 139.5 kB / 411.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.127, allocations: 1.219 kB / 411.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.047e-05/0.1271, allocations: 19.58 kB / 411.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1271, allocations: 2.75 kB / 411.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.1271, allocations: 5.641 kB / 411.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1271, allocations: 5 kB / 411.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1271, allocations: 5.438 kB / 411.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1273, allocations: 222.7 kB / 412.1 MB, free: 21.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.1273, allocations: 13.97 kB / 412.2 MB, free: 21.85 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.1273, allocations: 5.094 kB / 412.2 MB, free: 21.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.1274, allocations: 12.75 kB / 412.2 MB, free: 21.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.1274, allocations: 9.156 kB / 412.2 MB, free: 21.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1274, allocations: 2.609 kB / 412.2 MB, free: 21.85 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.04e-05/0.1275, allocations: 123.3 kB / 412.3 MB, free: 21.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1275, allocations: 0 / 412.3 MB, free: 21.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.1277, allocations: 18.36 kB / 412.3 MB, free: 21.77 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 6.601e-05/0.1277, allocations: 96.64 kB / 412.4 MB, free: 21.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.128, allocations: 195 kB / 412.6 MB, free: 21.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.128, allocations: 3.938 kB / 412.6 MB, free: 21.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.1281, allocations: 30.23 kB / 412.6 MB, free: 21.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1283, allocations: 26.02 kB / 412.7 MB, free: 21.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.1286, allocations: 253.1 kB / 412.9 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.759e-05/0.1287, allocations: 93.47 kB / 413 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.457e-05/0.1287, allocations: 13.62 kB / 413 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.1287, allocations: 18.72 kB / 413 MB, free: 21.33 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1287, allocations: 0 / 413 MB, free: 21.33 MB / 330.7 MB Notification: Performance of Templates: time 0.002622/0.1314, allocations: 1.349 MB / 414.4 MB, free: 21.22 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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 50] 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: 2.510353583842516]