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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 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.07714/0.07714, allocations: 16.95 MB / 321.4 MB, free: 12.68 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001964/0.001964, allocations: 65.61 kB / 451.9 MB, free: 44.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1212, allocations: 56.52 MB / 0.4965 GB, free: 16.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002899/0.1241, allocations: 1.829 MB / 0.4983 GB, free: 14.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003881/0.1245, allocations: 148.4 kB / 0.4984 GB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1246, allocations: 6.688 kB / 0.4984 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1248, allocations: 21.14 kB / 0.4984 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.125, allocations: 30.47 kB / 0.4985 GB, free: 14.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.1251, allocations: 33.38 kB / 0.4985 GB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1253, allocations: 131.7 kB / 0.4986 GB, free: 14.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1254, allocations: 41.64 kB / 0.4987 GB, free: 14.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.1255, allocations: 53.59 kB / 0.4987 GB, free: 14.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.1256, allocations: 46.77 kB / 0.4988 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1256, allocations: 9.625 kB / 0.4988 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.1256, allocations: 13.62 kB / 0.4988 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.1257, allocations: 24.05 kB / 0.4988 GB, free: 14.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.1257, allocations: 57.28 kB / 0.4989 GB, free: 14.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.1259, allocations: 109.6 kB / 0.499 GB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1259, allocations: 0 / 0.499 GB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1259, allocations: 0 / 0.499 GB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1259, allocations: 0 / 0.499 GB, free: 14.09 MB / 366.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.0005913/0.1265, allocations: 429.5 kB / 0.4994 GB, free: 13.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1265, allocations: 13.62 kB / 0.4994 GB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.1266, allocations: 15.72 kB / 0.4994 GB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1269, allocations: 214.6 kB / 0.4996 GB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1269, allocations: 8.5 kB / 0.4996 GB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.1269, allocations: 9.875 kB / 0.4996 GB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.1271, allocations: 126.6 kB / 0.4997 GB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1271, allocations: 5.375 kB / 0.4997 GB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1272, allocations: 1.375 kB / 0.4997 GB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1272, allocations: 1.375 kB / 0.4997 GB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.1273, allocations: 62.33 kB / 0.4998 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/0.128, allocations: 452.5 kB / 0.5002 GB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.1284, allocations: 120.8 kB / 0.5004 GB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1285, allocations: 47.06 kB / 0.5004 GB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1285, allocations: 5.375 kB / 0.5004 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.1285, allocations: 31.94 kB / 0.5004 GB, free: 12.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.1285, allocations: 0 / 0.5004 GB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003865/0.1289, allocations: 132 kB / 0.5006 GB, free: 12.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1289, allocations: 112.2 kB / 0.5007 GB, free: 12.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1291, allocations: 148.2 kB / 0.5008 GB, free: 12.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1291, allocations: 33.64 kB / 0.5008 GB, free: 12.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.1291, allocations: 114.8 kB / 0.501 GB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1292, allocations: 22.25 kB / 0.501 GB, free: 12.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.1292, allocations: 25.47 kB / 0.501 GB, free: 12.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.167e-05/0.1293, allocations: 321.4 kB / 0.5013 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.1293, allocations: 24.42 kB / 0.5013 GB, free: 11.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-05/0.1294, allocations: 62.09 kB / 0.5014 GB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.1296, allocations: 85.97 kB / 0.5015 GB, free: 11.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1296, allocations: 0 / 0.5015 GB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003366/0.1299, allocations: 143.3 kB / 0.5016 GB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.13, allocations: 6.5 kB / 0.5016 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.13, allocations: 0 / 0.5016 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.1302, allocations: 41.39 kB / 0.5016 GB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.1303, allocations: 14.92 kB / 0.5017 GB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008949/0.1312, allocations: 1.453 MB / 0.5031 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.684e-05/0.1313, allocations: 13.2 kB / 0.5031 GB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1313, allocations: 2.312 kB / 0.5031 GB, free: 10.02 MB / 366.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 7.082e-05/0.1313, allocations: 124.2 kB / 0.5032 GB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.1314, allocations: 17.53 kB / 0.5032 GB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.1314, allocations: 18.58 kB / 0.5032 GB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1314, allocations: 1.375 kB / 0.5033 GB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1314, allocations: 1.438 kB / 0.5033 GB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1314, allocations: 1.312 kB / 0.5033 GB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.1316, allocations: 213.3 kB / 0.5035 GB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1316, allocations: 3.938 kB / 0.5035 GB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.1317, allocations: 20.67 kB / 0.5035 GB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1317, allocations: 1.516 kB / 0.5035 GB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1317, allocations: 5.406 kB / 0.5035 GB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1317, allocations: 5.5 kB / 0.5035 GB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1317, allocations: 1.688 kB / 0.5035 GB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.132, allocations: 228.8 kB / 0.5037 GB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.1321, allocations: 93.31 kB / 0.5038 GB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1321, allocations: 5.031 kB / 0.5038 GB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1322, allocations: 7.797 kB / 0.5038 GB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1322, allocations: 6.953 kB / 0.5038 GB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1322, allocations: 6.781 kB / 0.5038 GB, free: 9.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.701e-05/0.1323, allocations: 119.4 kB / 0.5039 GB, free: 9.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1323, allocations: 0 / 0.5039 GB, free: 9.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1326, allocations: 24.98 kB / 0.504 GB, free: 9.199 MB / 366.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 8.173e-05/0.1327, allocations: 105 kB / 0.5041 GB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004512/0.1331, allocations: 191.9 kB / 0.5042 GB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1331, allocations: 3.938 kB / 0.5043 GB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.84e-05/0.1332, allocations: 31.98 kB / 0.5043 GB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.1335, allocations: 27.83 kB / 0.5043 GB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.134, allocations: 262.5 kB / 0.5046 GB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.1342, allocations: 0.7041 MB / 0.5052 GB, free: 7.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.506e-05/0.1343, allocations: 12.55 kB / 0.5053 GB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.1343, allocations: 15.44 kB / 0.5053 GB, free: 7.844 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1343, allocations: 0 / 0.5053 GB, free: 7.844 MB / 366.1 MB Notification: Performance of Templates: time 0.004152/0.1384, allocations: 1.296 MB / 0.5065 GB, free: 6.551 MB / 366.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.87268104404211]