Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001443, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2486/0.2486, allocations: 16.78 MB / 307.2 MB, free: 14.81 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 60.14 kB / 371.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3081, allocations: 53.55 MB / 425.3 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.002015/0.3102, allocations: 0.6747 MB / 426 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002328/0.3105, allocations: 54.2 kB / 426 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.3105, allocations: 3.828 kB / 426 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.3105, allocations: 4.5 kB / 426 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.3106, allocations: 4.031 kB / 426 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.3108, allocations: 21.28 kB / 426 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.593e-05/0.3109, allocations: 19.12 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.311, allocations: 5.172 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.311, allocations: 12.06 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.3111, allocations: 14.75 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3111, allocations: 3.25 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.3111, allocations: 0.5625 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.3112, allocations: 7.688 kB / 426.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.3112, allocations: 18.27 kB / 426.1 MB, free: 39.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.169e-05/0.3113, allocations: 16.72 kB / 426.1 MB, free: 39.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3113, allocations: 0 / 426.1 MB, free: 39.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3113, allocations: 0 / 426.1 MB, free: 39.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3113, allocations: 6.188 kB / 426.1 MB, free: 39.02 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.0003706/0.3117, allocations: 335.6 kB / 426.5 MB, free: 38.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3117, allocations: 9.938 kB / 426.5 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.3118, allocations: 3.812 kB / 426.5 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3119, allocations: 173.4 kB / 426.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.312, allocations: 384 / 426.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.312, allocations: 384 / 426.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3122, allocations: 74.34 kB / 426.7 MB, free: 38.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3122, allocations: 4.125 kB / 426.7 MB, free: 38.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3122, allocations: 10.34 kB / 426.7 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3122, allocations: 3.938 kB / 426.7 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.3124, allocations: 34.86 kB / 426.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.3127, allocations: 263.1 kB / 427 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.3129, allocations: 73.55 kB / 427.1 MB, free: 38.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/0.313, allocations: 31.52 kB / 427.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3131, allocations: 0 / 427.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3131, allocations: 41.5 kB / 427.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.3131, allocations: 0 / 427.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003572/0.3135, allocations: 96.39 kB / 427.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.3135, allocations: 102.8 kB / 427.4 MB, free: 37.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.3136, allocations: 107.5 kB / 427.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.3136, allocations: 29.02 kB / 427.5 MB, free: 37.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.3136, allocations: 84.08 kB / 427.6 MB, free: 37.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.3137, allocations: 7.812 kB / 427.6 MB, free: 37.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.3137, allocations: 15.56 kB / 427.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.3137, allocations: 313.8 kB / 427.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-05/0.3138, allocations: 19.86 kB / 427.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.3139, allocations: 40.25 kB / 428 MB, free: 37.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3141, allocations: 47.66 kB / 428 MB, free: 37.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3141, allocations: 2.531 kB / 428 MB, free: 37.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001714/0.3142, allocations: 78.55 kB / 428.1 MB, free: 37.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.3143, allocations: 5.5 kB / 428.1 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3143, allocations: 0 / 428.1 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3143, allocations: 0 / 428.1 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.3144, allocations: 12.97 kB / 428.1 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3144, allocations: 0 / 428.1 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.3144, allocations: 8.984 kB / 428.1 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.3145, allocations: 6.531 kB / 428.1 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.279e-05/0.3145, allocations: 88.8 kB / 428.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.143e-05/0.3146, allocations: 35.05 kB / 428.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.815e-05/0.3146, allocations: 26.42 kB / 428.3 MB, free: 37.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.01e-07/0.3146, allocations: 0 / 428.3 MB, free: 37.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001034/0.3148, allocations: 74.45 kB / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/0.3148, allocations: 5.125 kB / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.3148, allocations: 7.078 kB / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-06/0.3148, allocations: 0 / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.224e-05/0.3148, allocations: 5.281 kB / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-06/0.3148, allocations: 0 / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.3149, allocations: 10.44 kB / 428.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-06/0.3149, allocations: 0 / 428.4 MB, free: 37.02 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.53e-05/0.3149, allocations: 187.1 kB / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.3149, allocations: 3.094 kB / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.315, allocations: 6.875 kB / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.315, allocations: 0 / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.315, allocations: 0 / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.315, allocations: 2.781 kB / 428.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.3151, allocations: 165.7 kB / 428.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3151, allocations: 0 / 428.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.3152, allocations: 15.95 kB / 428.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3152, allocations: 4 kB / 428.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3152, allocations: 0 / 428.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3152, allocations: 0 / 428.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3152, allocations: 6.5 kB / 428.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.3154, allocations: 172 kB / 428.9 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.3154, allocations: 85.02 kB / 429 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3154, allocations: 3.688 kB / 429 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.3155, allocations: 9 kB / 429 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.3156, allocations: 6.031 kB / 429 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.3156, allocations: 0 / 429 MB, free: 36.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.14e-05/0.3156, allocations: 80.53 kB / 429.1 MB, free: 36.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3156, allocations: 3.938 kB / 429.1 MB, free: 36.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.3159, allocations: 8.625 kB / 429.1 MB, free: 36.31 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 8.372e-05/0.3159, allocations: 102.6 kB / 429.2 MB, free: 36.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.3162, allocations: 51.2 kB / 429.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3162, allocations: 2.906 kB / 429.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.3163, allocations: 21.89 kB / 429.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.3165, allocations: 14.97 kB / 429.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.3169, allocations: 118.2 kB / 429.4 MB, free: 36.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.317, allocations: 0.6785 MB / 430.1 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.079e-05/0.317, allocations: 13.25 kB / 430.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.3171, allocations: 10.34 kB / 430.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3171, allocations: 0 / 430.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of Templates: time 0.002458/0.3195, allocations: 0.6199 MB / 430.8 MB, free: 35.32 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches