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.001261/0.001261, allocations: 104.3 kB / 16.53 MB, free: 6.277 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.001298/0.001298, allocations: 194.1 kB / 17.45 MB, free: 5.895 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.266/1.266, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06015/0.06015, allocations: 14.15 MB / 284.8 MB, free: 14.16 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.001358/0.001358, allocations: 71.89 kB / 345.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2098, allocations: 50.12 MB / 395.8 MB, free: 47.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.002036/0.2119, allocations: 0.7497 MB / 396.6 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001988/0.2122, allocations: 58.69 kB / 396.6 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.2122, allocations: 0.75 kB / 396.6 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.2122, allocations: 3.938 kB / 396.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.2123, allocations: 0.5938 kB / 396.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.2125, allocations: 16.25 kB / 396.6 MB, free: 47.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.2126, allocations: 24.92 kB / 396.7 MB, free: 47.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2127, allocations: 3.625 kB / 396.7 MB, free: 47.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.222e-05/0.2127, allocations: 15.45 kB / 396.7 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.2128, allocations: 10.52 kB / 396.7 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.2128, allocations: 1.281 kB / 396.7 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-06/0.2128, allocations: 1.312 kB / 396.7 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.2128, allocations: 9.203 kB / 396.7 MB, free: 47.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.2129, allocations: 5.531 kB / 396.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.852e-05/0.2129, allocations: 19.5 kB / 396.7 MB, free: 47.22 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2129, allocations: 4 kB / 396.7 MB, free: 47.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2129, allocations: 1.125 kB / 396.7 MB, free: 47.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.213, allocations: 0 / 396.7 MB, free: 47.21 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.0003179/0.2133, allocations: 329.1 kB / 397.1 MB, free: 46.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2133, allocations: 9.406 kB / 397.1 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.2134, allocations: 7.406 kB / 397.1 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.2135, allocations: 166.5 kB / 397.2 MB, free: 46.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2135, allocations: 1.812 kB / 397.2 MB, free: 46.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.2135, allocations: 9.656 kB / 397.2 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.2137, allocations: 72.22 kB / 397.3 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2137, allocations: 192 / 397.3 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.2137, allocations: 5.219 kB / 397.3 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.2137, allocations: 0 / 397.3 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.2139, allocations: 48.11 kB / 397.4 MB, free: 46.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.2142, allocations: 262.2 kB / 397.6 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.2143, allocations: 67.53 kB / 397.7 MB, free: 46.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.2144, allocations: 42.69 kB / 397.7 MB, free: 46.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.2144, allocations: 0 / 397.7 MB, free: 46.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.2145, allocations: 34.55 kB / 397.8 MB, free: 46.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2145, allocations: 0 / 397.8 MB, free: 46.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003143/0.2148, allocations: 94.3 kB / 397.9 MB, free: 46.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.2148, allocations: 104.8 kB / 398 MB, free: 45.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.2149, allocations: 97.98 kB / 398.1 MB, free: 45.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.2149, allocations: 25.7 kB / 398.1 MB, free: 45.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.215, allocations: 89.92 kB / 398.2 MB, free: 45.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.215, allocations: 7.891 kB / 398.2 MB, free: 45.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.215, allocations: 21.59 kB / 398.2 MB, free: 45.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.2151, allocations: 312.3 kB / 398.5 MB, free: 45.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.2151, allocations: 22.22 kB / 398.5 MB, free: 45.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/0.2152, allocations: 39.52 kB / 398.6 MB, free: 45.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.2154, allocations: 50.78 kB / 398.6 MB, free: 45.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2154, allocations: 0 / 398.6 MB, free: 45.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001778/0.2156, allocations: 77.34 kB / 398.7 MB, free: 45.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2156, allocations: 9.281 kB / 398.7 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2156, allocations: 64 / 398.7 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2156, allocations: 5.5 kB / 398.7 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.2157, allocations: 11.42 kB / 398.7 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2157, allocations: 1.344 kB / 398.7 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.2158, allocations: 4.094 kB / 398.7 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.2158, allocations: 1.438 kB / 398.7 MB, free: 45.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.016e-05/0.2159, allocations: 92.66 kB / 398.8 MB, free: 45.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.948e-05/0.2159, allocations: 25.31 kB / 398.8 MB, free: 45.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.862e-05/0.216, allocations: 32.47 kB / 398.9 MB, free: 45.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.216, allocations: 0 / 398.9 MB, free: 45.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001121/0.2161, allocations: 61.36 kB / 398.9 MB, free: 45.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.645e-06/0.2161, allocations: 5.094 kB / 398.9 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.2161, allocations: 5.359 kB / 398.9 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-06/0.2161, allocations: 64 / 398.9 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.277e-05/0.2162, allocations: 10.28 kB / 398.9 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.2162, allocations: 3.938 kB / 399 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.2162, allocations: 3.781 kB / 399 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.2162, allocations: 5.781 kB / 399 MB, free: 44.99 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 5.146e-05/0.2163, allocations: 194.9 kB / 399.2 MB, free: 44.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.2163, allocations: 5.828 kB / 399.2 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.2163, allocations: 7.078 kB / 399.2 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2163, allocations: 5.906 kB / 399.2 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2164, allocations: 4 kB / 399.2 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2164, allocations: 1.844 kB / 399.2 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.2165, allocations: 167 kB / 399.3 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2165, allocations: 0 / 399.3 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.2166, allocations: 11.14 kB / 399.3 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2166, allocations: 1.688 kB / 399.3 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2166, allocations: 0 / 399.3 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2166, allocations: 1.781 kB / 399.4 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2166, allocations: 0 / 399.4 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.2169, allocations: 0.7314 MB / 400.1 MB, free: 43.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.217, allocations: 82.2 kB / 400.2 MB, free: 43.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.217, allocations: 5.297 kB / 400.2 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.2171, allocations: 16.5 kB / 400.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.2171, allocations: 10.3 kB / 400.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2171, allocations: 5.25 kB / 400.2 MB, free: 43.69 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.508e-05/0.2172, allocations: 79.23 kB / 400.3 MB, free: 43.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2172, allocations: 0 / 400.3 MB, free: 43.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005007/0.2177, allocations: 10.72 kB / 400.3 MB, free: 43.61 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 6.687e-05/0.2178, allocations: 93.14 kB / 400.4 MB, free: 43.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.218, allocations: 60.75 kB / 400.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.218, allocations: 0 / 400.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.164e-05/0.2181, allocations: 25.12 kB / 400.5 MB, free: 43.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.2183, allocations: 7.938 kB / 400.5 MB, free: 43.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.2187, allocations: 256.7 kB / 400.7 MB, free: 43.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.2188, allocations: 0.6774 MB / 401.4 MB, free: 42.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.2188, allocations: 9.781 kB / 401.4 MB, free: 42.5 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2188, allocations: 0 / 401.4 MB, free: 42.5 MB / 318.1 MB Notification: Performance of Templates: time 0.001998/0.2208, allocations: 0.619 MB / 402 MB, free: 42.18 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