Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.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.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 111 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001374, allocations: 188.1 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06508/0.06508, allocations: 14.17 MB / 284.7 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 69.16 kB / 399.3 MB, free: 42.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1334, allocations: 50.14 MB / 449.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.004961/0.1384, allocations: 1.816 MB / 451.2 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007055/0.1392, allocations: 171.4 kB / 451.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.1394, allocations: 11.94 kB / 451.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.1396, allocations: 15.8 kB / 451.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.1399, allocations: 23.8 kB / 451.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.1401, allocations: 39.95 kB / 451.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.1404, allocations: 135.5 kB / 451.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.1407, allocations: 49.31 kB / 451.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1408, allocations: 51.84 kB / 451.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.141, allocations: 47.66 kB / 451.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.141, allocations: 8 kB / 451.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.338e-05/0.1411, allocations: 12 kB / 451.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.1411, allocations: 19.91 kB / 451.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1413, allocations: 55.67 kB / 451.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.1416, allocations: 107.4 kB / 451.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1416, allocations: 0 / 451.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1416, allocations: 4 kB / 452 MB, free: 9.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1416, allocations: 0 / 452 MB, free: 9.012 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008604/0.1425, allocations: 423.1 kB / 452.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.1426, allocations: 8.031 kB / 452.4 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.842e-05/0.1427, allocations: 16.84 kB / 452.4 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.1433, allocations: 224.1 kB / 452.6 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.1434, allocations: 8.562 kB / 452.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.1434, allocations: 8.375 kB / 452.6 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.1439, allocations: 140.3 kB / 452.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1439, allocations: 3.938 kB / 452.8 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.1439, allocations: 0 / 452.8 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.144, allocations: 7.938 kB / 452.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.1443, allocations: 63.89 kB / 452.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.1456, allocations: 0.5992 MB / 453.4 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.146, allocations: 115.8 kB / 453.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.1463, allocations: 42.75 kB / 453.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1463, allocations: 3.938 kB / 453.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.1464, allocations: 46.5 kB / 453.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.1464, allocations: 0 / 453.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006181/0.147, allocations: 113.5 kB / 453.8 MB, free: 6.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.1471, allocations: 102.8 kB / 453.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1473, allocations: 151.1 kB / 454 MB, free: 6.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1474, allocations: 25.95 kB / 454 MB, free: 6.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1475, allocations: 123.9 kB / 454.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.1476, allocations: 31.72 kB / 454.2 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.1476, allocations: 25.72 kB / 454.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1478, allocations: 322.8 kB / 454.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.148, allocations: 23.92 kB / 454.5 MB, free: 6.137 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.1481, allocations: 73.98 kB / 454.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.1484, allocations: 97.05 kB / 454.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1485, allocations: 0 / 454.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003884/0.1489, allocations: 117.5 kB / 454.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1489, allocations: 8 kB / 454.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1489, allocations: 0 / 454.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1489, allocations: 4 kB / 454.8 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1491, allocations: 32.06 kB / 454.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1492, allocations: 4 kB / 454.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.1493, allocations: 11.89 kB / 454.9 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.1493, allocations: 4 kB / 454.9 MB, free: 5.746 MB / 334.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.000151/0.1495, allocations: 133.7 kB / 455 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.1496, allocations: 7.953 kB / 455 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.1496, allocations: 16.31 kB / 455 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1497, allocations: 0 / 455 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.1497, allocations: 7.984 kB / 455 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.1497, allocations: 4 kB / 455 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.1501, allocations: 209.8 kB / 455.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.1501, allocations: 4 kB / 455.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.1503, allocations: 23.92 kB / 455.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1504, allocations: 0 / 455.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.1504, allocations: 4 kB / 455.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1504, allocations: 0 / 455.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1504, allocations: 0 / 455.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.1528, allocations: 1.368 MB / 456.7 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.1529, allocations: 89.03 kB / 456.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.1529, allocations: 3.938 kB / 456.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1531, allocations: 11.98 kB / 456.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.1532, allocations: 4 kB / 456.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1533, allocations: 4.078 kB / 456.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.1535, allocations: 119.9 kB / 456.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1535, allocations: 0 / 456.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006789/0.1542, allocations: 23.95 kB / 456.9 MB, free: 3.496 MB / 334.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.0001386/0.1543, allocations: 103.2 kB / 457 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004459/0.1548, allocations: 63.91 kB / 457.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.1548, allocations: 4.312 kB / 457.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.155, allocations: 31.92 kB / 457.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.1556, allocations: 22.19 kB / 457.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/0.1566, allocations: 367.8 kB / 457.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.157, allocations: 0.7081 MB / 458.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.1571, allocations: 12.8 kB / 458.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.1572, allocations: 19.44 kB / 458.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1572, allocations: 0 / 458.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of Templates: time 0.006439/0.1637, allocations: 1.044 MB / 459.3 MB, free: 1.059 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches