Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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.0007268/0.0007268, allocations: 85.41 kB / 16.67 MB, free: 6.602 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.000781/0.0007811, allocations: 182.7 kB / 17.59 MB, free: 6.188 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.244/1.244, allocations: 205.4 MB / 223.8 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06242/0.06242, allocations: 14.15 MB / 286.2 MB, free: 13.98 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.0004969/0.000497, allocations: 20.81 kB / 348.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.195, allocations: 51.1 MB / 399.2 MB, free: 47.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.0006841/0.1957, allocations: 418.5 kB / 399.6 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001579/0.1959, allocations: 51.09 kB / 399.6 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.196, allocations: 3.938 kB / 399.6 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.196, allocations: 5.547 kB / 399.6 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.258e-05/0.196, allocations: 0 / 399.6 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.1962, allocations: 19.89 kB / 399.7 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.854e-05/0.1962, allocations: 24.67 kB / 399.7 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.736e-05/0.1963, allocations: 6.531 kB / 399.7 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.379e-05/0.1964, allocations: 12.05 kB / 399.7 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.1964, allocations: 10.08 kB / 399.7 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1964, allocations: 2.094 kB / 399.7 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-06/0.1964, allocations: 5.031 kB / 399.7 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.1965, allocations: 1.031 kB / 399.7 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.1965, allocations: 30.67 kB / 399.7 MB, free: 47.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.51e-05/0.1965, allocations: 19.02 kB / 399.8 MB, free: 47.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1966, allocations: 1 kB / 399.8 MB, free: 47.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1966, allocations: 0 / 399.8 MB, free: 47.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.1966, allocations: 0 / 399.8 MB, free: 47.35 MB / 318.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.0002758/0.1969, allocations: 335.2 kB / 400.1 MB, free: 46.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1969, allocations: 9.062 kB / 400.1 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.1969, allocations: 6.969 kB / 400.1 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.197, allocations: 170.4 kB / 400.3 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.197, allocations: 1.406 kB / 400.3 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.1971, allocations: 6.344 kB / 400.3 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1972, allocations: 79.81 kB / 400.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1973, allocations: 192 / 400.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1973, allocations: 4.844 kB / 400.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1973, allocations: 4.953 kB / 400.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.1975, allocations: 48.11 kB / 400.4 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.1977, allocations: 268.5 kB / 400.7 MB, free: 46.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1979, allocations: 81.22 kB / 400.8 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-05/0.198, allocations: 38.5 kB / 400.8 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.1981, allocations: 1.062 kB / 400.8 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.1981, allocations: 35.56 kB / 400.8 MB, free: 46.24 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1981, allocations: 0 / 400.8 MB, free: 46.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003538/0.1985, allocations: 101.5 kB / 400.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.1985, allocations: 108.2 kB / 401 MB, free: 46.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.564e-05/0.1986, allocations: 98.3 kB / 401.1 MB, free: 45.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1986, allocations: 26.86 kB / 401.2 MB, free: 45.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.1986, allocations: 85.39 kB / 401.2 MB, free: 45.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.1986, allocations: 13.05 kB / 401.3 MB, free: 45.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.1987, allocations: 9.719 kB / 401.3 MB, free: 45.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.914e-05/0.1987, allocations: 316 kB / 401.6 MB, free: 45.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.233e-05/0.1988, allocations: 22.48 kB / 401.6 MB, free: 45.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.603e-05/0.1989, allocations: 46.27 kB / 401.6 MB, free: 45.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.1991, allocations: 54.56 kB / 401.7 MB, free: 45.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1991, allocations: 0 / 401.7 MB, free: 45.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002184/0.1993, allocations: 84.27 kB / 401.8 MB, free: 45.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.1994, allocations: 107.3 kB / 401.9 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1994, allocations: 1.062 kB / 401.9 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1994, allocations: 1.281 kB / 401.9 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.1995, allocations: 9.812 kB / 401.9 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1995, allocations: 12.03 kB / 401.9 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.1996, allocations: 7.219 kB / 401.9 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1996, allocations: 2.094 kB / 401.9 MB, free: 45.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.1996, allocations: 4.062 kB / 401.9 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 9.784e-05/0.1997, allocations: 28.98 kB / 401.9 MB, free: 45.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-06/0.1997, allocations: 3.938 kB / 402 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-06/0.1997, allocations: 1.219 kB / 402 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.645e-05/0.1998, allocations: 12.86 kB / 402 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-06/0.1998, allocations: 1.438 kB / 402 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.1998, allocations: 2.719 kB / 402 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-06/0.1998, allocations: 1.156 kB / 402 MB, free: 45.21 MB / 318.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.127e-05/0.1999, allocations: 195.7 kB / 402.2 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.1999, allocations: 9.875 kB / 402.2 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.2, allocations: 16.25 kB / 402.2 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2, allocations: 0 / 402.2 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2, allocations: 1.5 kB / 402.2 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2, allocations: 4 kB / 402.2 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.2001, allocations: 160.2 kB / 402.3 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2001, allocations: 4 kB / 402.4 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.2002, allocations: 17.55 kB / 402.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2002, allocations: 1.094 kB / 402.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.2002, allocations: 1.188 kB / 402.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2002, allocations: 0 / 402.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2002, allocations: 1.344 kB / 402.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.2006, allocations: 0.7493 MB / 403.1 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.2007, allocations: 78.88 kB / 403.2 MB, free: 43.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2007, allocations: 1.375 kB / 403.2 MB, free: 43.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.2008, allocations: 11.17 kB / 403.2 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.2008, allocations: 10.88 kB / 403.2 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.2008, allocations: 0 / 403.2 MB, free: 43.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.906e-05/0.2009, allocations: 82.16 kB / 403.3 MB, free: 43.83 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2009, allocations: 5.188 kB / 403.3 MB, free: 43.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.2014, allocations: 9.844 kB / 403.3 MB, free: 43.82 MB / 318.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 5.992e-05/0.2014, allocations: 93.97 kB / 403.4 MB, free: 43.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.2017, allocations: 68.05 kB / 403.5 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2017, allocations: 0 / 403.5 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.2018, allocations: 25.8 kB / 403.5 MB, free: 43.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.202, allocations: 14.75 kB / 403.5 MB, free: 43.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.2024, allocations: 263.6 kB / 403.8 MB, free: 43.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.2024, allocations: 0.6784 MB / 404.5 MB, free: 42.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.2025, allocations: 10.22 kB / 404.5 MB, free: 42.7 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2025, allocations: 0 / 404.5 MB, free: 42.7 MB / 318.1 MB Notification: Performance of Templates: time 0.001688/0.2042, allocations: 0.6124 MB / 405.1 MB, free: 42.39 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches