Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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 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.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_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_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.007158/0.007158, allocations: 94.86 kB / 15.73 MB, free: 6.039 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.001466/0.001465, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.466/1.466, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06172/0.06172, allocations: 14.17 MB / 284.1 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.001472/0.001472, allocations: 63.44 kB / 396.5 MB, free: 43.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07918/0.08067, allocations: 50.13 MB / 446.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001956/0.08266, allocations: 0.678 MB / 447.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002448/0.08293, allocations: 56.16 kB / 447.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.08298, allocations: 0 / 447.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.08304, allocations: 3.938 kB / 447.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.087e-05/0.08313, allocations: 3.984 kB / 447.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.08328, allocations: 19.92 kB / 447.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.464e-05/0.08338, allocations: 31.92 kB / 447.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.08349, allocations: 3.984 kB / 447.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.08353, allocations: 8 kB / 447.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.08359, allocations: 15.92 kB / 447.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.08362, allocations: 0 / 447.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-06/0.08364, allocations: 4 kB / 447.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.08366, allocations: 7.938 kB / 447.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.0837, allocations: 11.92 kB / 447.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.08382, allocations: 19.91 kB / 447.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.08383, allocations: 7.938 kB / 447.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.08384, allocations: 4 kB / 447.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.08386, allocations: 0 / 447.5 MB, free: 12.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004459/0.08431, allocations: 335.5 kB / 447.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.08435, allocations: 8.031 kB / 447.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.08439, allocations: 8.938 kB / 447.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.08458, allocations: 160.4 kB / 448 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.0846, allocations: 4.375 kB / 448 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.08462, allocations: 4.359 kB / 448 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.08482, allocations: 80.75 kB / 448.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.08484, allocations: 192 / 448.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.08485, allocations: 3.938 kB / 448.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.08486, allocations: 0 / 448.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.08504, allocations: 31.97 kB / 448.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.08544, allocations: 269.8 kB / 448.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.08562, allocations: 73.12 kB / 448.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.08574, allocations: 33.7 kB / 448.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.08577, allocations: 0 / 448.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.0858, allocations: 34.5 kB / 448.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 2.454e-06/0.08581, allocations: 3.984 kB / 448.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003663/0.08618, allocations: 93.78 kB / 448.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.08626, allocations: 110.8 kB / 448.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.08633, allocations: 101.8 kB / 448.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.08635, allocations: 25.7 kB / 448.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.0864, allocations: 84.08 kB / 448.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.08643, allocations: 7.953 kB / 448.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.08647, allocations: 13.72 kB / 448.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.08658, allocations: 318.9 kB / 449.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.08668, allocations: 24.83 kB / 449.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.79e-05/0.08677, allocations: 30.56 kB / 449.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.08694, allocations: 57.66 kB / 449.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.08695, allocations: 0 / 449.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002027/0.08716, allocations: 69.59 kB / 449.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.08719, allocations: 8 kB / 449.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.0872, allocations: 3.938 kB / 449.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.08722, allocations: 0 / 449.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.08731, allocations: 16.05 kB / 449.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.08733, allocations: 3.938 kB / 449.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.08739, allocations: 19.88 kB / 449.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.0874, allocations: 0 / 449.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.903e-05/0.08749, allocations: 88.14 kB / 449.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.205e-05/0.08755, allocations: 26.56 kB / 449.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.756e-05/0.08763, allocations: 29.73 kB / 449.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.12e-07/0.08764, allocations: 0 / 449.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001237/0.08777, allocations: 61.55 kB / 449.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.08779, allocations: 8 kB / 449.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.0878, allocations: 0 / 449.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-06/0.0878, allocations: 0 / 449.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.451e-05/0.08784, allocations: 4 kB / 449.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.08785, allocations: 8.062 kB / 449.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.0879, allocations: 3.984 kB / 449.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-06/0.08791, allocations: 4 kB / 449.7 MB, free: 10.29 MB / 334.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 9.338e-05/0.08801, allocations: 188.1 kB / 449.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.08804, allocations: 4 kB / 449.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.08806, allocations: 7.078 kB / 449.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.08807, allocations: 0 / 449.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.08808, allocations: 3.938 kB / 449.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.08809, allocations: 4 kB / 449.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.08827, allocations: 177.6 kB / 450.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.08828, allocations: 0 / 450.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.08834, allocations: 11.98 kB / 450.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.08835, allocations: 0 / 450.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.08836, allocations: 4 kB / 450.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.08837, allocations: 0 / 450.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.08838, allocations: 0 / 450.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.08862, allocations: 180.3 kB / 450.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.08867, allocations: 81.05 kB / 450.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.08869, allocations: 0 / 450.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.08878, allocations: 7.984 kB / 450.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.08884, allocations: 11.88 kB / 450.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.08885, allocations: 0 / 450.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.348e-05/0.0889, allocations: 87.69 kB / 450.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08891, allocations: 4 kB / 450.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.08921, allocations: 8 kB / 450.5 MB, free: 9.43 MB / 334.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.356e-05/0.0893, allocations: 91.25 kB / 450.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.08958, allocations: 56.03 kB / 450.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.08959, allocations: 4.25 kB / 450.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.767e-05/0.08968, allocations: 23.98 kB / 450.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.08992, allocations: 8.875 kB / 450.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.09024, allocations: 123.7 kB / 450.8 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.09051, allocations: 0.6806 MB / 451.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.432e-05/0.09056, allocations: 8.125 kB / 451.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.0906, allocations: 7.438 kB / 451.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.09061, allocations: 0 / 451.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of Templates: time 0.002723/0.09334, allocations: 0.6104 MB / 452.1 MB, free: 7.762 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches