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.0009451/0.0009451, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00115/0.00115, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9979/0.9979, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.05431/0.05431, allocations: 13.11 MB / 273.4 MB, free: 232 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.904e-06/1.904e-06, allocations: 0.75 kB / 296.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.356e-05, allocations: 3.531 kB / 296.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003311/0.003335, allocations: 1.853 MB / 298.8 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004605/0.003795, allocations: 157 kB / 298.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.003909, allocations: 8.344 kB / 298.9 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.004048, allocations: 16.66 kB / 299 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.004213, allocations: 42.08 kB / 299 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.004315, allocations: 33.45 kB / 299 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.004501, allocations: 131.6 kB / 299.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.004633, allocations: 46.73 kB / 299.2 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.004746, allocations: 68.81 kB / 299.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.00485, allocations: 37.08 kB / 299.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.004878, allocations: 10.12 kB / 299.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.004896, allocations: 11.25 kB / 299.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.004925, allocations: 27.38 kB / 299.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.004962, allocations: 29.98 kB / 299.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.005104, allocations: 79.36 kB / 299.5 MB, free: 8.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.005106, allocations: 1.203 kB / 299.5 MB, free: 8.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005108, allocations: 1.406 kB / 299.5 MB, free: 8.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.005112, allocations: 0.5 kB / 299.5 MB, free: 8.891 MB / 266.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.0004246/0.005537, allocations: 322.9 kB / 299.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.005572, allocations: 9.75 kB / 299.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.005622, allocations: 13.7 kB / 299.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.005812, allocations: 154.8 kB / 300 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.005827, allocations: 8.906 kB / 300 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.005855, allocations: 11.36 kB / 300 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.006038, allocations: 112.5 kB / 300.1 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.006046, allocations: 192 / 300.1 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.006059, allocations: 10.72 kB / 300.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.006066, allocations: 1.281 kB / 300.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.006126, allocations: 23.44 kB / 300.1 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.006566, allocations: 285.7 kB / 300.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.006814, allocations: 91.98 kB / 300.5 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.006851, allocations: 31.55 kB / 300.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.006866, allocations: 6.359 kB / 300.5 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.006885, allocations: 34.23 kB / 300.6 MB, free: 7.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.006887, allocations: 1.281 kB / 300.6 MB, free: 7.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001722/0.007059, allocations: 70.08 kB / 300.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.007084, allocations: 113.4 kB / 300.7 MB, free: 7.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.007174, allocations: 152.9 kB / 300.9 MB, free: 7.672 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.007184, allocations: 29.64 kB / 300.9 MB, free: 7.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.007225, allocations: 107.8 kB / 301 MB, free: 7.539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.007245, allocations: 32.64 kB / 301.1 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.007287, allocations: 22.94 kB / 301.1 MB, free: 7.492 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.701e-05/0.007324, allocations: 321.8 kB / 301.4 MB, free: 7.176 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.007346, allocations: 6.266 kB / 301.4 MB, free: 7.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.168e-05/0.007398, allocations: 98.66 kB / 301.5 MB, free: 7.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.786e-05/0.007466, allocations: 53.69 kB / 301.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.007468, allocations: 0 / 301.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002014/0.00767, allocations: 93.34 kB / 301.6 MB, free: 6.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.007685, allocations: 6.031 kB / 301.6 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.007692, allocations: 8.438 kB / 301.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.007903, allocations: 36.53 kB / 301.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.007974, allocations: 14.39 kB / 301.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006626/0.008636, allocations: 1.197 MB / 302.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.008699, allocations: 4.766 kB / 302.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.008708, allocations: 8.75 kB / 302.9 MB, free: 5.785 MB / 266.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 5.496e-05/0.008763, allocations: 122.5 kB / 303 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.008797, allocations: 11.64 kB / 303 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.008819, allocations: 17.27 kB / 303.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008822, allocations: 2.031 kB / 303.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.008824, allocations: 1.375 kB / 303.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.008828, allocations: 0.6094 kB / 303.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.008971, allocations: 98.98 kB / 303.2 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008972, allocations: 0 / 303.2 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.964e-05/0.009052, allocations: 20.22 kB / 303.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.009055, allocations: 5.312 kB / 303.2 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.009064, allocations: 2.031 kB / 303.2 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.009067, allocations: 1.891 kB / 303.2 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.009069, allocations: 0 / 303.2 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.009196, allocations: 177.8 kB / 303.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.009212, allocations: 10.02 kB / 303.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.009228, allocations: 9.312 kB / 303.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/0.009307, allocations: 3.922 kB / 303.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.009343, allocations: 7.359 kB / 303.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.009348, allocations: 5.406 kB / 303.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.332e-05/0.009392, allocations: 42.67 kB / 303.4 MB, free: 5.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009392, allocations: 0 / 303.4 MB, free: 5.348 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.009656, allocations: 19.08 kB / 303.5 MB, free: 5.344 MB / 266.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.41e-05/0.00973, allocations: 83.47 kB / 303.5 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.009982, allocations: 170 kB / 303.7 MB, free: 5.137 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.009988, allocations: 3 kB / 303.7 MB, free: 5.137 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.864e-05/0.01003, allocations: 30.17 kB / 303.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.01027, allocations: 24.95 kB / 303.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.01066, allocations: 243.2 kB / 304 MB, free: 4.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.0107, allocations: 66.47 kB / 304.1 MB, free: 4.848 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.193e-05/0.01076, allocations: 11.52 kB / 304.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.01083, allocations: 63.19 kB / 304.1 MB, free: 4.797 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01083, allocations: 0 / 304.1 MB, free: 4.797 MB / 266.7 MB Notification: Performance of Templates: time 0.004297/0.01513, allocations: 1.422 MB / 305.6 MB, free: 4.598 MB / 266.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 -s gbode -gbm=radauIIA3 -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.6434032297693193]