Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00454/0.004545, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001206/0.001206, allocations: 196.9 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1684/0.1684, allocations: 16.79 MB / 307.3 MB, free: 14.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.36 kB / 426.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.08128, allocations: 53.56 MB / 480.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001585/0.0829, allocations: 0.6733 MB / 480.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002008/0.08311, allocations: 67.5 kB / 480.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.08315, allocations: 1.125 kB / 480.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.08319, allocations: 4 kB / 480.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.751e-05/0.08326, allocations: 9.094 kB / 480.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.0834, allocations: 15.11 kB / 480.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.521e-05/0.08348, allocations: 30.81 kB / 480.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.08358, allocations: 11.08 kB / 480.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.08361, allocations: 4.344 kB / 480.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.08366, allocations: 16.39 kB / 481 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.08368, allocations: 1.406 kB / 481 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.08369, allocations: 6.812 kB / 481 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.08371, allocations: 13.45 kB / 481 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.08374, allocations: 9.375 kB / 481 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.324e-05/0.08381, allocations: 24.23 kB / 481 MB, free: 9.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.08381, allocations: 0 / 481 MB, free: 9.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08382, allocations: 0 / 481 MB, free: 9.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.08383, allocations: 1.438 kB / 481 MB, free: 9.777 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002968/0.08413, allocations: 331.1 kB / 481.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.08417, allocations: 9.719 kB / 481.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.08421, allocations: 10.02 kB / 481.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.08433, allocations: 175.2 kB / 481.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.08434, allocations: 1.906 kB / 481.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.08436, allocations: 1.906 kB / 481.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.08453, allocations: 72.11 kB / 481.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.08455, allocations: 192 / 481.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.08456, allocations: 9.125 kB / 481.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.08457, allocations: 0 / 481.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.08472, allocations: 45.67 kB / 481.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.085, allocations: 265.4 kB / 481.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.08516, allocations: 73.94 kB / 482 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.08524, allocations: 31.39 kB / 482 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.08527, allocations: 1.094 kB / 482 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.08529, allocations: 31.75 kB / 482.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.08529, allocations: 7.938 kB / 482.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003123/0.08561, allocations: 91.14 kB / 482.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.08565, allocations: 103.9 kB / 482.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.62e-05/0.0857, allocations: 102.1 kB / 482.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.403e-06/0.08571, allocations: 26.83 kB / 482.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/0.08574, allocations: 85.58 kB / 482.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.08576, allocations: 12.88 kB / 482.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.08579, allocations: 13.06 kB / 482.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.08584, allocations: 320 kB / 482.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-05/0.08592, allocations: 19.88 kB / 482.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.192e-05/0.086, allocations: 42.09 kB / 482.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.08613, allocations: 48.14 kB / 482.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.08614, allocations: 0 / 482.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001703/0.08631, allocations: 81.83 kB / 483 MB, free: 7.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.08633, allocations: 5.094 kB / 483 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.08634, allocations: 0 / 483 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.08635, allocations: 1.344 kB / 483 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.08643, allocations: 12.33 kB / 483 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.08644, allocations: 0 / 483 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.0865, allocations: 17.67 kB / 483 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.08651, allocations: 1.25 kB / 483 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.907e-05/0.08656, allocations: 88.61 kB / 483.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.794e-05/0.0866, allocations: 29.41 kB / 483.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.428e-05/0.08668, allocations: 31.77 kB / 483.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.08668, allocations: 1.031 kB / 483.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 9.855e-05/0.08679, allocations: 53.09 kB / 483.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/0.0868, allocations: 9.406 kB / 483.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-06/0.0868, allocations: 1.125 kB / 483.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-06/0.08681, allocations: 0 / 483.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.362e-05/0.08685, allocations: 9.281 kB / 483.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.08685, allocations: 5.172 kB / 483.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.08689, allocations: 7.938 kB / 483.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-06/0.0869, allocations: 1.188 kB / 483.3 MB, free: 7.547 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 4.008e-05/0.08695, allocations: 185.3 kB / 483.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.08697, allocations: 10.84 kB / 483.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.087, allocations: 3.125 kB / 483.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.087, allocations: 5 kB / 483.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.08701, allocations: 1.125 kB / 483.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.08702, allocations: 5.078 kB / 483.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.08713, allocations: 163.4 kB / 483.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.08713, allocations: 0 / 483.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.08719, allocations: 12.27 kB / 483.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.0872, allocations: 0 / 483.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.08721, allocations: 1.406 kB / 483.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.08722, allocations: 5.031 kB / 483.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.08722, allocations: 0 / 483.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.08739, allocations: 177.1 kB / 483.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.08741, allocations: 78.89 kB / 483.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.08743, allocations: 0 / 483.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.08751, allocations: 13.42 kB / 483.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.08755, allocations: 5.812 kB / 483.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.08756, allocations: 9.797 kB / 483.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.733e-05/0.08758, allocations: 78.88 kB / 484 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08758, allocations: 0 / 484 MB, free: 6.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.08784, allocations: 7.188 kB / 484 MB, free: 6.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (3): * Single equations (assignments): 3 * 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.312e-05/0.08791, allocations: 91.75 kB / 484.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.08814, allocations: 60.77 kB / 484.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.08815, allocations: 1.562 kB / 484.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.08822, allocations: 25.05 kB / 484.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.08844, allocations: 13.61 kB / 484.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.08869, allocations: 127.2 kB / 484.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.11e-05/0.08878, allocations: 0.6737 MB / 485 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.08882, allocations: 9.672 kB / 485 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.08885, allocations: 10.88 kB / 485 MB, free: 5.797 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.08886, allocations: 0 / 485 MB, free: 5.797 MB / 350.1 MB Notification: Performance of Templates: time 0.002148/0.09101, allocations: 0.6358 MB / 485.6 MB, free: 5.477 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches