Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.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.001843/0.001843, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002401/0.002401, allocations: 214.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 207.7 MB / 233.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07369/0.07369, allocations: 14.4 MB / 299.7 MB, free: 7.246 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003375/0.003375, allocations: 79.88 kB / 423.5 MB, free: 36.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1231, allocations: 52.9 MB / 476.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.005157/0.1283, allocations: 1.768 MB / 478.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006756/0.1289, allocations: 171.5 kB / 478.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.1291, allocations: 7.938 kB / 478.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.1293, allocations: 23.8 kB / 478.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.1296, allocations: 27.78 kB / 478.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.1298, allocations: 47.89 kB / 478.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.1301, allocations: 115.7 kB / 478.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.1304, allocations: 45.39 kB / 478.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1305, allocations: 51.83 kB / 478.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1307, allocations: 47.66 kB / 478.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.1307, allocations: 8 kB / 478.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.904e-05/0.1307, allocations: 8 kB / 478.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.1308, allocations: 23.94 kB / 478.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.1308, allocations: 31.8 kB / 478.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1311, allocations: 111.4 kB / 478.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1311, allocations: 0 / 478.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1311, allocations: 0 / 478.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1311, allocations: 0 / 478.8 MB, free: 12.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008288/0.1319, allocations: 350 kB / 479.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.132, allocations: 8.031 kB / 479.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.1321, allocations: 16.84 kB / 479.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.1325, allocations: 162.3 kB / 479.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.1325, allocations: 8.562 kB / 479.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.1326, allocations: 8.375 kB / 479.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.133, allocations: 138.2 kB / 479.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.133, allocations: 0 / 479.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1331, allocations: 4 kB / 479.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1331, allocations: 4 kB / 479.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.1334, allocations: 75.83 kB / 479.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1344, allocations: 0.5169 MB / 480.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.1349, allocations: 107.9 kB / 480.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.135, allocations: 42.62 kB / 480.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1351, allocations: 3.938 kB / 480.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.1351, allocations: 34.56 kB / 480.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.1351, allocations: 0 / 480.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005915/0.1357, allocations: 125.5 kB / 480.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.1358, allocations: 102.8 kB / 480.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.136, allocations: 151.1 kB / 480.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.136, allocations: 25.7 kB / 480.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1362, allocations: 127.8 kB / 480.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1363, allocations: 23.81 kB / 480.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.1363, allocations: 29.7 kB / 480.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1365, allocations: 318.8 kB / 481.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1367, allocations: 32.17 kB / 481.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.1369, allocations: 91.69 kB / 481.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.1372, allocations: 93.08 kB / 481.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1372, allocations: 0 / 481.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004188/0.1376, allocations: 125.4 kB / 481.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1376, allocations: 8 kB / 481.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1376, allocations: 0 / 481.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.1377, allocations: 4 kB / 481.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.1379, allocations: 27.91 kB / 481.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1379, allocations: 4 kB / 481.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.138, allocations: 20.05 kB / 481.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.138, allocations: 4 kB / 481.6 MB, free: 9.734 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.0001651/0.1382, allocations: 125.8 kB / 481.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.1383, allocations: 11.94 kB / 481.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.1383, allocations: 12.41 kB / 481.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1383, allocations: 0 / 481.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1383, allocations: 7.938 kB / 481.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1383, allocations: 0 / 481.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.1386, allocations: 145.3 kB / 481.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1386, allocations: 3.938 kB / 481.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.1388, allocations: 20.3 kB / 481.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.1388, allocations: 4 kB / 481.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1388, allocations: 0 / 481.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.1388, allocations: 4 kB / 481.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1388, allocations: 0 / 481.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.1394, allocations: 237.1 kB / 482.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.1395, allocations: 15.83 kB / 482.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.1395, allocations: 7.938 kB / 482.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1396, allocations: 8.062 kB / 482.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.1397, allocations: 7.984 kB / 482.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1397, allocations: 3.938 kB / 482.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1399, allocations: 119.9 kB / 482.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1399, allocations: 0 / 482.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004942/0.1404, allocations: 15.95 kB / 482.3 MB, free: 8.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.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.0001334/0.1405, allocations: 99.25 kB / 482.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003644/0.1409, allocations: 72.02 kB / 482.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1409, allocations: 0 / 482.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.141, allocations: 23.98 kB / 482.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.1416, allocations: 27.92 kB / 482.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.1423, allocations: 253.3 kB / 482.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.1425, allocations: 97.42 kB / 482.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.717e-05/0.1426, allocations: 4.5 kB / 482.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.1426, allocations: 15.44 kB / 482.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1426, allocations: 0 / 482.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of Templates: time 0.006098/0.1487, allocations: 1.128 MB / 484 MB, free: 7.18 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.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: 5.164306031540036]