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.001425/0.001425, 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.001694/0.001695, allocations: 197 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.42/1.42, 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.1985/0.1985, allocations: 16.78 MB / 307.2 MB, free: 14.78 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 371.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3098, allocations: 53.55 MB / 425.3 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.00199/0.3118, allocations: 0.6699 MB / 426 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002341/0.3121, allocations: 58.73 kB / 426 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.3121, allocations: 1.062 kB / 426 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.3122, allocations: 3.812 kB / 426 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.461e-05/0.3123, allocations: 8.516 kB / 426 MB, free: 38.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.3124, allocations: 18.77 kB / 426 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.986e-05/0.3125, allocations: 26.95 kB / 426.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3127, allocations: 3.531 kB / 426.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.12e-05/0.3127, allocations: 12.75 kB / 426.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.3128, allocations: 13.97 kB / 426.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.3128, allocations: 2.906 kB / 426.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.3128, allocations: 2.906 kB / 426.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.3128, allocations: 8.391 kB / 426.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.3129, allocations: 18.69 kB / 426.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.073e-05/0.3129, allocations: 16.72 kB / 426.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.313, allocations: 7.625 kB / 426.2 MB, free: 38.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.313, allocations: 0 / 426.2 MB, free: 38.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.313, allocations: 0 / 426.2 MB, free: 38.88 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.0003944/0.3134, allocations: 335.4 kB / 426.5 MB, free: 38.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3134, allocations: 9.031 kB / 426.5 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.3135, allocations: 4.875 kB / 426.5 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.3136, allocations: 168.7 kB / 426.7 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3136, allocations: 6.875 kB / 426.7 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.3137, allocations: 2.906 kB / 426.7 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.3139, allocations: 68.67 kB / 426.7 MB, free: 38.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3139, allocations: 4.953 kB / 426.7 MB, free: 38.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3139, allocations: 14.47 kB / 426.8 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3139, allocations: 7.188 kB / 426.8 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3141, allocations: 35.34 kB / 426.8 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.3144, allocations: 267.2 kB / 427.1 MB, free: 37.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.3146, allocations: 70.92 kB / 427.1 MB, free: 37.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.791e-05/0.3147, allocations: 33.06 kB / 427.2 MB, free: 37.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.3147, allocations: 10.94 kB / 427.2 MB, free: 37.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.3148, allocations: 33.81 kB / 427.2 MB, free: 37.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3148, allocations: 0 / 427.2 MB, free: 37.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003448/0.3151, allocations: 91.31 kB / 427.3 MB, free: 37.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.3152, allocations: 110.3 kB / 427.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.3152, allocations: 96.7 kB / 427.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3152, allocations: 29.58 kB / 427.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.3153, allocations: 84.08 kB / 427.6 MB, free: 37.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.3153, allocations: 10.53 kB / 427.6 MB, free: 37.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.3153, allocations: 16.66 kB / 427.6 MB, free: 37.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.3154, allocations: 317.2 kB / 427.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.3155, allocations: 27.44 kB / 428 MB, free: 37.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.253e-05/0.3156, allocations: 39.61 kB / 428 MB, free: 37.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.3157, allocations: 50.77 kB / 428.1 MB, free: 37.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3157, allocations: 0 / 428.1 MB, free: 37.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001869/0.3159, allocations: 73.33 kB / 428.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3159, allocations: 6.219 kB / 428.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3159, allocations: 2.531 kB / 428.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.316, allocations: 0 / 428.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.3161, allocations: 12.36 kB / 428.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3161, allocations: 64 / 428.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.3161, allocations: 13.19 kB / 428.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3161, allocations: 0 / 428.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.792e-05/0.3162, allocations: 92.34 kB / 428.3 MB, free: 36.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.157e-05/0.3163, allocations: 26.95 kB / 428.3 MB, free: 36.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.037e-05/0.3163, allocations: 31.67 kB / 428.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.52e-07/0.3163, allocations: 0 / 428.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001104/0.3165, allocations: 62.89 kB / 428.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.181e-06/0.3165, allocations: 7.469 kB / 428.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.3165, allocations: 0 / 428.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.3165, allocations: 4.344 kB / 428.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.674e-05/0.3165, allocations: 9.094 kB / 428.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.3165, allocations: 0 / 428.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.3166, allocations: 7.891 kB / 428.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-06/0.3166, allocations: 4 kB / 428.4 MB, free: 36.88 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 5.147e-05/0.3167, allocations: 186.1 kB / 428.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.3167, allocations: 0 / 428.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.3167, allocations: 12.06 kB / 428.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3167, allocations: 0 / 428.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3167, allocations: 0 / 428.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3167, allocations: 3.938 kB / 428.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.3169, allocations: 165.4 kB / 428.8 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3169, allocations: 0 / 428.8 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.3169, allocations: 16.12 kB / 428.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3169, allocations: 0 / 428.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3169, allocations: 3.938 kB / 428.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.317, allocations: 3.125 kB / 428.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.317, allocations: 0.875 kB / 428.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.3172, allocations: 175.7 kB / 429 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.3172, allocations: 84.92 kB / 429 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3172, allocations: 3.625 kB / 429 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.3173, allocations: 6.922 kB / 429.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.3174, allocations: 3.094 kB / 429.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.3174, allocations: 0 / 429.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.529e-05/0.3174, allocations: 89.12 kB / 429.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3174, allocations: 0 / 429.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3177, allocations: 13.91 kB / 429.2 MB, free: 36.17 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 9.472e-05/0.3178, allocations: 97.75 kB / 429.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.318, allocations: 54.77 kB / 429.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.318, allocations: 0 / 429.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.614e-05/0.3181, allocations: 25.33 kB / 429.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.3184, allocations: 11.72 kB / 429.3 MB, free: 36.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.3187, allocations: 122.2 kB / 429.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3188, allocations: 0.6819 MB / 430.1 MB, free: 35.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.721e-05/0.3189, allocations: 6.094 kB / 430.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.3189, allocations: 10.06 kB / 430.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.3189, allocations: 0 / 430.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of Templates: time 0.002824/0.3217, allocations: 0.6387 MB / 430.8 MB, free: 35.18 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches