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.001452/0.001451, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001815/0.001815, allocations: 194 kB / 16.25 MB, free: 6.633 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1799/0.1799, allocations: 16.77 MB / 306.8 MB, free: 14.88 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 371.3 MB, free: 3.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2801, allocations: 53.54 MB / 424.8 MB, free: 39.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001768/0.2819, allocations: 0.736 MB / 425.5 MB, free: 39.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002056/0.2822, allocations: 67.69 kB / 425.6 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.2822, allocations: 1 kB / 425.6 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.2823, allocations: 0 / 425.6 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.595e-05/0.2823, allocations: 1.062 kB / 425.6 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.2825, allocations: 17.22 kB / 425.6 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.2826, allocations: 25.58 kB / 425.6 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2827, allocations: 4.562 kB / 425.6 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.207e-05/0.2827, allocations: 13.33 kB / 425.7 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.2828, allocations: 14.58 kB / 425.7 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.2828, allocations: 1.312 kB / 425.7 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.2828, allocations: 2.719 kB / 425.7 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.2829, allocations: 17.69 kB / 425.7 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.2829, allocations: 6.656 kB / 425.7 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.672e-05/0.283, allocations: 21.86 kB / 425.7 MB, free: 39.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.283, allocations: 0 / 425.7 MB, free: 39.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.283, allocations: 0 / 425.7 MB, free: 39.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.283, allocations: 0 / 425.7 MB, free: 39.44 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.0003786/0.2834, allocations: 343.6 kB / 426.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2834, allocations: 11.06 kB / 426.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.2835, allocations: 0.9375 kB / 426.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2836, allocations: 166.3 kB / 426.2 MB, free: 38.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.2836, allocations: 3.844 kB / 426.2 MB, free: 38.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.2836, allocations: 3.375 kB / 426.2 MB, free: 38.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.2838, allocations: 77.69 kB / 426.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2838, allocations: 192 / 426.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2838, allocations: 5.062 kB / 426.3 MB, free: 38.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2839, allocations: 0 / 426.3 MB, free: 38.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.284, allocations: 42.41 kB / 426.4 MB, free: 38.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.2843, allocations: 268.5 kB / 426.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.2845, allocations: 74.92 kB / 426.7 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.2846, allocations: 31.5 kB / 426.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.2846, allocations: 7.375 kB / 426.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.2846, allocations: 31.45 kB / 426.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.2846, allocations: 0 / 426.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003378/0.285, allocations: 102.5 kB / 426.9 MB, free: 38.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.285, allocations: 102.8 kB / 427 MB, free: 38.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.2851, allocations: 103.5 kB / 427.1 MB, free: 38.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.2851, allocations: 25.7 kB / 427.1 MB, free: 38.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.2851, allocations: 80.39 kB / 427.2 MB, free: 38.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.2852, allocations: 26.27 kB / 427.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.2852, allocations: 12.62 kB / 427.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.494e-05/0.2853, allocations: 317.4 kB / 427.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.2854, allocations: 21.45 kB / 427.5 MB, free: 37.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.2854, allocations: 36 kB / 427.6 MB, free: 37.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.2856, allocations: 57.38 kB / 427.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2856, allocations: 0 / 427.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001676/0.2857, allocations: 69.17 kB / 427.7 MB, free: 37.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2858, allocations: 10.53 kB / 427.7 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2858, allocations: 3.938 kB / 427.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2858, allocations: 2.156 kB / 427.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.2859, allocations: 10.56 kB / 427.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2859, allocations: 0 / 427.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.286, allocations: 18.25 kB / 427.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.286, allocations: 0 / 427.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.306e-05/0.286, allocations: 88.92 kB / 427.8 MB, free: 37.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.05e-05/0.2861, allocations: 27.83 kB / 427.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.554e-05/0.2862, allocations: 27.52 kB / 427.9 MB, free: 37.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.2862, allocations: 0 / 427.9 MB, free: 37.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001025/0.2863, allocations: 65.5 kB / 428 MB, free: 37.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.121e-06/0.2863, allocations: 3.656 kB / 428 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.2863, allocations: 6.969 kB / 428 MB, free: 37.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-06/0.2863, allocations: 3.312 kB / 428 MB, free: 37.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.29e-05/0.2863, allocations: 9.75 kB / 428 MB, free: 37.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-06/0.2864, allocations: 0 / 428 MB, free: 37.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.2864, allocations: 6.219 kB / 428 MB, free: 37.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.2864, allocations: 6.781 kB / 428 MB, free: 37.43 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 6.087e-05/0.2865, allocations: 180.2 kB / 428.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.2865, allocations: 2.938 kB / 428.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.2865, allocations: 10.81 kB / 428.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2865, allocations: 3.375 kB / 428.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2865, allocations: 0 / 428.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2865, allocations: 0 / 428.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.2867, allocations: 161.4 kB / 428.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2867, allocations: 0 / 428.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.2867, allocations: 15.03 kB / 428.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2867, allocations: 2.812 kB / 428.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.2868, allocations: 0 / 428.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2868, allocations: 0 / 428.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2868, allocations: 6.031 kB / 428.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.287, allocations: 176 kB / 428.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.287, allocations: 81.02 kB / 428.6 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.287, allocations: 9.938 kB / 428.6 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.2871, allocations: 5.375 kB / 428.6 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.2871, allocations: 9.906 kB / 428.6 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2872, allocations: 3.875 kB / 428.6 MB, free: 36.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.062e-05/0.2872, allocations: 77.97 kB / 428.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2872, allocations: 0 / 428.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.2874, allocations: 8.875 kB / 428.7 MB, free: 36.73 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 7.363e-05/0.2875, allocations: 98.84 kB / 428.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.2878, allocations: 60.47 kB / 428.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2878, allocations: 0 / 428.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.2879, allocations: 25.36 kB / 428.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.2881, allocations: 3.938 kB / 428.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.2884, allocations: 144 kB / 429 MB, free: 36.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2885, allocations: 0.675 MB / 429.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.754e-05/0.2886, allocations: 6.812 kB / 429.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.2886, allocations: 10.56 kB / 429.7 MB, free: 35.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2886, allocations: 3.938 kB / 429.7 MB, free: 35.79 MB / 350.1 MB Notification: Performance of Templates: time 0.002418/0.291, allocations: 0.5646 MB / 430.3 MB, free: 35.74 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